diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/files/0001-remove-requires-dbus-python.patch b/files/0001-remove-requires-dbus-python.patch new file mode 100644 --- /dev/null +++ b/files/0001-remove-requires-dbus-python.patch @@ -0,0 +1,26 @@ +From f1899806454032991820b29b086bdf9c4fbc88c1 Mon Sep 17 00:00:00 2001 +From: Pierre-Yves +Date: Wed, 10 May 2017 11:09:45 +0200 +Subject: [PATCH 1/1] remove requires dbus-python + +Signed-off-by: Pierre-Yves +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d8115d2..a3bfb8b 100644 +--- a/setup.py ++++ b/setup.py +@@ -75,7 +75,7 @@ setup( + 'console_scripts': ['autokey-gtk=autokey.gtkui.__main__:main'] + }, + scripts=['autokey-qt', 'autokey-run', 'autokey-shell'], +- install_requires=['dbus-python', 'pyinotify', 'python3-xlib'], ++ install_requires=['pyinotify', 'python3-xlib'], + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', +-- +2.12.2 + diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,42 @@ +name : autokey-py3 +version : 0.93.10 +release : 1 +source : + - https://github.com/autokey-py3/autokey/archive/v0.93.10.tar.gz : ad2c7de897414095c2b3a1937d1d3196165809ef4067efc149f25894ab95d4b4 +license : GPL-3.0 +component : system.utils +summary : Python 3 port of AutoKey, a desktop automation utility for Linux and X11 with new features +description: | + AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually + any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that + makes it highly accessible for novices, as well as a scripting interface offering the + full flexibility and power of the Python language. +builddeps : + - pkgconfig(python-3.5) + - python3-dbus +rundeps : + - libappindicator + - python-inotify + - python3-dbus + - python3-gobject + - python3-xlib +setup : | + # fails to find 'dbus-python' although it is installed + %patch -p1 < $pkgfiles/0001-remove-requires-dbus-python.patch +build : | + %python3_setup +install : | + %python3_install + + # remove Qt stuffs + rm -rfv $installdir/usr/lib/python3.5/site-packages/autokey/qtui/ + rm -rfv $installdir/usr/share/kde4/ + rm -fv $installdir/usr/share/applications/autokey-qt.desktop + rm -fv $installdir/usr/share/man/man1/autokey-qt.1 + rm -fv $installdir/usr/bin/autokey-qt + rm -fv $installdir/usr/lib/python3.5/site-packages/autokey/__pycache__/qtapp.cpython-35.pyc + rm -fv $installdir/usr/lib/python3.5/site-packages/autokey/qtapp.py + + rm -rfv $installdir/usr/share/icons/Humanity/ + rm -rfv $installdir/usr/share/icons/ubuntu-mono*/ + diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,118 @@ + + + autokey-py3 + + Pierre-Yves + pyu@riseup.net + + GPL-3.0 + system.utils + Python 3 port of AutoKey, a desktop automation utility for Linux and X11 with new features + AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually +any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that +makes it highly accessible for novices, as well as a scripting interface offering the +full flexibility and power of the Python language. + + https://solus-project.com/sources/README.Solus + + + autokey-py3 + Python 3 port of AutoKey, a desktop automation utility for Linux and X11 with new features + AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually +any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that +makes it highly accessible for novices, as well as a scripting interface offering the +full flexibility and power of the Python language. + + system.utils + + /usr/bin + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/PKG-INFO + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/SOURCES.txt + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/dependency_links.txt + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/entry_points.txt + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/requires.txt + /usr/lib/python3.5/site-packages/autokey-0.93.10-py3.5.egg-info/top_level.txt + /usr/lib/python3.5/site-packages/autokey/__init__.py + /usr/lib/python3.5/site-packages/autokey/__pycache__/__init__.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/common.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/configmanager.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/configmanager_constants.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/gtkapp.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/interface.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/iomediator.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/iomediator00.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/iomediator_Key.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/iomediator_constants.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/macro.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/model.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/monitor.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/scripting.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/scripting_Store.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/scripting_highlevel.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/__pycache__/service.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/common.py + /usr/lib/python3.5/site-packages/autokey/configmanager.py + /usr/lib/python3.5/site-packages/autokey/configmanager_constants.py + /usr/lib/python3.5/site-packages/autokey/gtkapp.py + /usr/lib/python3.5/site-packages/autokey/gtkui/__init__.py + /usr/lib/python3.5/site-packages/autokey/gtkui/__main__.py + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/__init__.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/__main__.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/configwindow.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/configwindow0.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/dialogs.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/notifier.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/popupmenu.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/__pycache__/settingsdialog.cpython-35.pyc + /usr/lib/python3.5/site-packages/autokey/gtkui/configwindow.py + /usr/lib/python3.5/site-packages/autokey/gtkui/configwindow0.py + /usr/lib/python3.5/site-packages/autokey/gtkui/data/abbrsettings.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/autokey.svg + /usr/lib/python3.5/site-packages/autokey/gtkui/data/blankpage.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/detectdialog.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/folderpage.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/hotkeysettings.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/mainwindow.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/menus.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/phrasepage.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/recorddialog.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/renamedialog.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/scriptpage.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/settingsdialog.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/settingswidget.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/data/windowfiltersettings.xml + /usr/lib/python3.5/site-packages/autokey/gtkui/dialogs.py + /usr/lib/python3.5/site-packages/autokey/gtkui/notifier.py + /usr/lib/python3.5/site-packages/autokey/gtkui/popupmenu.py + /usr/lib/python3.5/site-packages/autokey/gtkui/settingsdialog.py + /usr/lib/python3.5/site-packages/autokey/interface.py + /usr/lib/python3.5/site-packages/autokey/iomediator.py + /usr/lib/python3.5/site-packages/autokey/iomediator00.py + /usr/lib/python3.5/site-packages/autokey/iomediator_Key.py + /usr/lib/python3.5/site-packages/autokey/iomediator_constants.py + /usr/lib/python3.5/site-packages/autokey/macro.py + /usr/lib/python3.5/site-packages/autokey/model.py + /usr/lib/python3.5/site-packages/autokey/monitor.py + /usr/lib/python3.5/site-packages/autokey/scripting.py + /usr/lib/python3.5/site-packages/autokey/scripting_Store.py + /usr/lib/python3.5/site-packages/autokey/scripting_highlevel.py + /usr/lib/python3.5/site-packages/autokey/service.py + /usr/share/applications/autokey-gtk.desktop + /usr/share/icons/hicolor/scalable/apps/autokey-status-dark.svg + /usr/share/icons/hicolor/scalable/apps/autokey-status-error.svg + /usr/share/icons/hicolor/scalable/apps/autokey-status.svg + /usr/share/icons/hicolor/scalable/apps/autokey.png + /usr/share/icons/hicolor/scalable/apps/autokey.svg + /usr/share/man + + + + + 2017-05-10 + 0.93.10 + Packaging update + Pierre-Yves + pyu@riseup.net + + + \ No newline at end of file