commit:     c004e47374d840b93b534cf6fd304292586ad0c9
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  5 22:07:26 2023 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Nov  5 22:07:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c004e473

x11-misc/safeeyes: Python 3.12 + EmptyGlobalAssignment

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 x11-misc/safeeyes/safeeyes-2.1.6-r1.ebuild | 42 ++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/x11-misc/safeeyes/safeeyes-2.1.6-r1.ebuild 
b/x11-misc/safeeyes/safeeyes-2.1.6-r1.ebuild
new file mode 100644
index 000000000000..02c1bee35ae8
--- /dev/null
+++ b/x11-misc/safeeyes/safeeyes-2.1.6-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_REQ_USE="tk"  # for site-packages/Xlib/ext/randr.py
+DISTUTILS_USE_PEP517=setuptools
+
+inherit xdg distutils-r1 pypi
+
+DESCRIPTION="Linux alternative to EyeLeo"
+HOMEPAGE="https://github.com/slgobinath/SafeEyes";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="
+       dev-libs/libayatana-appindicator
+       dev-python/Babel[${PYTHON_USEDEP}]
+       dev-python/croniter[${PYTHON_USEDEP}]
+       dev-python/dbus-python[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       dev-python/python-xlib[${PYTHON_USEDEP}]
+       media-sound/alsa-utils
+       x11-apps/xprop
+       x11-libs/gtk+:3[introspection]
+       x11-libs/libnotify[introspection]
+       x11-misc/xprintidle
+       "
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to