All distros bump to 1.0.7-6
[ejpi] / setup.py
index b2ae5b8..8387afc 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -29,15 +29,16 @@ from distutils.core import setup
 #]]]
 APP_NAME="ejpi"
 PRETTY_APP_NAME="e**(j pi) + 1 = 0"
-VERSION="0.1.0"
-BUILD=0
+VERSION="1.0.6"
+BUILD="9"
 DESKTOP_FILE_PATH="/usr/share/applications"
-INPUT_DESKTOP_FILE="data/harmattan/ejpi.desktop"
-ICON_CATEGORY="hildon"
-ICON_SIZES=[32,80]
-#[[[end]]]
+INPUT_DESKTOP_FILE="data/ubuntu/ejpi.desktop"
+ICON_CATEGORY="apps"
+ICON_SIZES=[32,48]
+#[[[end]]] (checksum: fb3742cf699ff6d0e1aab0ec61d503e7)
 
-CHANGES = """Switching from py2deb.py to sdist_maemo
+CHANGES = """* Support for PySide
+* XDG Support
 """.strip()
 BUGTRACKER_URL = "https://bugs.maemo.org/enter_bug.cgi?product=ejpi"
 
@@ -88,6 +89,7 @@ setup(
        },
        data_files=[
                (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]),
+               ("/usr/share/icons/hicolor/scalable/apps", ["data/%s.svg" % APP_NAME]),
        ] +
        [
                (
@@ -98,6 +100,7 @@ setup(
        ],
        requires=[
                "PySide",
+               "pyxdg",
        ],
        cmdclass={
                'sdist_ubuntu': sdist_maemo,
@@ -112,7 +115,7 @@ setup(
                        "copyright": "lgpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui",
+                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg",
                        "architecture": "any",
                },
                "sdist_diablo": {
@@ -125,7 +128,7 @@ setup(
                        "copyright": "lgpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui",
+                       "depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui, python-xdg, python-simplejson",
                        "architecture": "any",
                },
                "sdist_fremantle": {
@@ -138,7 +141,8 @@ setup(
                        "copyright": "lgpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-pyside.qtmaemo5",
+                       #"depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui, python2.5-qt4-maemo5, python-xdg",
+                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-pyside.qtmaemo5, python-xdg, python-simplejson",
                        "architecture": "any",
                },
                "sdist_harmattan": {
@@ -153,7 +157,7 @@ setup(
                        "copyright": "lgpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui",
+                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg",
                        "architecture": "any",
                },
                "bdist_rpm": {