From ddc495f8f5bb2db36f22aa6f953f961bfcc7216d Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 4 Jan 2018 21:20:01 +0100 Subject: x11-misc/safeeyes: 2.0.2, remove 2.0.1 Related: https://github.com/slgobinath/SafeEyes/issues/224 Package-Manager: Portage-2.3.16, Repoman-2.3.6 --- x11-misc/safeeyes/Manifest | 2 +- .../safeeyes/files/safeeyes-2.0.1-setup-py.patch | 37 --------------- x11-misc/safeeyes/safeeyes-2.0.1.ebuild | 55 ---------------------- x11-misc/safeeyes/safeeyes-2.0.2.ebuild | 50 ++++++++++++++++++++ 4 files changed, 51 insertions(+), 93 deletions(-) delete mode 100644 x11-misc/safeeyes/files/safeeyes-2.0.1-setup-py.patch delete mode 100644 x11-misc/safeeyes/safeeyes-2.0.1.ebuild create mode 100644 x11-misc/safeeyes/safeeyes-2.0.2.ebuild (limited to 'x11-misc/safeeyes') diff --git a/x11-misc/safeeyes/Manifest b/x11-misc/safeeyes/Manifest index 94ddd15740bd..c552b2657de4 100644 --- a/x11-misc/safeeyes/Manifest +++ b/x11-misc/safeeyes/Manifest @@ -1,4 +1,4 @@ DIST safeeyes-1.2.1.tar.gz 137676 BLAKE2B f19d4781b14a41aba79ba13a5adc52843111a2ea0056f6505ee08f21a6f16a17e8e89f29f719b114e275c4285dfec9431672dafe1ecfb4c57a974ca34786a263 SHA512 a2a31fd1b0e31403a8e2bd938e19b317a5ebcee66ce1fa29d1b00e4ed9f7b78281bfac5fff1486166f4093211c515e5d06577d47251a711e9b92af24c56f6b5c DIST safeeyes-1.2.2.tar.gz 146517 BLAKE2B 6df368e177c54b4221a88b4e01fe484bc0bfad52354976fed70f85f3271dcd7763ee6ed47f4250fae375b86ec26f2fbc93bf0411925666535419cb4080464c04 SHA512 3a693bd2976106c8b2e6e131acb1667a52610348c5f0cb6e76e9b1290bf633a0cbfe34632330163dd754df19f600a5781d5b2ef05102194dbcb0de4cc6a9869e DIST safeeyes-2.0.0.tar.gz 179036 BLAKE2B c35de1fb28076374ea112eae422f0ebeb8e0bdc1fd1060558436e3d4e1194a91df6f6e9f0cbbafa2b5919262f1678b946492305e9163d8a626487b22e8bbb7fc SHA512 b3a655a761fb24b8fee5455d29b2333b8d5b60a7c759a38df0fa1fd608e3a35dccb24a8aeaae87fde5e7cbe1df7569c2bb5897076e1d0cc4d96c98a029249881 -DIST safeeyes-2.0.1.tar.gz 211680 BLAKE2B fba6ed8bc3d9e9c4c953e4746c81faf96448b4bf5a15c8008061e596dfcd418d852e5c273a06dae70bdf7f6bc89bd0b142d602208efce8c6c076e04fad908b1d SHA512 77c26fd04d7a5a801bc12be182bb5b60e293b83acad88264b5d267b9a620d8300baf21399257765d7dd9a297cebd3acb256ffc1eff29fb478c22c5f9aa4f0de3 +DIST safeeyes-2.0.2.tar.gz 204210 BLAKE2B d2871b694c66746e7c931bad052fe48edfcda430b017de1d4a393b37d722be5fbaa4960bffa6dfb28920f7da261364374799775e539defd2df5aa86dd3658f83 SHA512 2b8e554e96f9b9e9b0513675bf2008f7f2d5308fa7af42a22ae91cbbf0b50a870d0a5c9db07233eb2eb3b03a064a12543d6b0ece95377f56713ecb72aac7c1e6 diff --git a/x11-misc/safeeyes/files/safeeyes-2.0.1-setup-py.patch b/x11-misc/safeeyes/files/safeeyes-2.0.1-setup-py.patch deleted file mode 100644 index 777c5d2e5be3..000000000000 --- a/x11-misc/safeeyes/files/safeeyes-2.0.1-setup-py.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a3373aa9b0a5bf473357b337f5f0944552831262 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Wed, 3 Jan 2018 19:17:22 +0100 -Subject: [PATCH] Fix start-up crash from broken PyGObject dependency - -$ safeeyes -Traceback (most recent call last): - File "/usr/lib/python-exec/python3.5/safeeyes", line 6, in - from pkg_resources import load_entry_point - [..] - File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 870, in resolve - raise DistributionNotFound(req, requirers) -pkg_resources.DistributionNotFound: The 'gi' distribution was not found and is required by safeeyes - -$ python3.5 -c 'import gi; print(gi.__file__)' -/usr/lib64/python3.5/site-packages/gi/__init__.py ---- - setup.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index e6e4ef1..5dff037 100644 ---- a/setup.py -+++ b/setup.py -@@ -6,8 +6,7 @@ import setuptools - requires = [ - 'babel', -- 'dbus', -- 'gi', - 'psutil', -+ 'PyGObject', - 'python-xlib' - ] - --- -2.15.0 - diff --git a/x11-misc/safeeyes/safeeyes-2.0.1.ebuild b/x11-misc/safeeyes/safeeyes-2.0.1.ebuild deleted file mode 100644 index dfa294d11aac..000000000000 --- a/x11-misc/safeeyes/safeeyes-2.0.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{4,5,6} ) -inherit gnome2-utils xdg distutils-r1 - -DESCRIPTION="Linux alternative to EyeLeo" -HOMEPAGE="https://github.com/slgobinath/SafeEyes" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="portaudio" - -CDEPEND="${PYTHON_DEPS}" -DEPEND="${CDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - " -RDEPEND="${CDEPEND} - dev-libs/libappindicator:3 - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - portaudio? ( dev-python/pyaudio[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-xlib[${PYTHON_USEDEP}] - x11-apps/xprop - x11-misc/xprintidle - " - -DOCS=( - README.md -) - -src_prepare() { - eapply "${FILESDIR}"/${P}-setup-py.patch - eapply_user -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -} diff --git a/x11-misc/safeeyes/safeeyes-2.0.2.ebuild b/x11-misc/safeeyes/safeeyes-2.0.2.ebuild new file mode 100644 index 000000000000..ebf1e7c73477 --- /dev/null +++ b/x11-misc/safeeyes/safeeyes-2.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit gnome2-utils xdg distutils-r1 + +DESCRIPTION="Linux alternative to EyeLeo" +HOMEPAGE="https://github.com/slgobinath/SafeEyes" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="portaudio" + +CDEPEND="${PYTHON_DEPS}" +DEPEND="${CDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + " +RDEPEND="${CDEPEND} + dev-libs/libappindicator:3 + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + portaudio? ( dev-python/pyaudio[${PYTHON_USEDEP}] ) + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + x11-apps/xprop + x11-misc/xprintidle + " + +DOCS=( + README.md +) + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad