From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/safeeyes/
Date: Thu, 14 Mar 2024 21:12:18 +0000 (UTC) [thread overview]
Message-ID: <1710450713.07a8db8179d87bfb26d091aa2b329d58c31993db.sping@gentoo> (raw)
commit: 07a8db8179d87bfb26d091aa2b329d58c31993db
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 20:54:48 2024 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 21:11:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a8db81
x11-misc/safeeyes: Move assets and .desktop file in place
Closes: https://bugs.gentoo.org/926816
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
x11-misc/safeeyes/safeeyes-2.1.6-r3.ebuild | 64 ++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/x11-misc/safeeyes/safeeyes-2.1.6-r3.ebuild b/x11-misc/safeeyes/safeeyes-2.1.6-r3.ebuild
new file mode 100644
index 000000000000..7f1927eab085
--- /dev/null
+++ b/x11-misc/safeeyes/safeeyes-2.1.6-r3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 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"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-py312.patch
+)
+
+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
+ "
+
+python_install() {
+ distutils-r1_python_install
+
+ # Workaround for https://bugs.gentoo.org/926816
+ # Files were misplaced and also duplicate across Python slots.
+ local misplaced_usr="${D}/usr/lib/${EPYTHON}/site-packages/usr"
+ local i
+ for i in applications icons ; do
+ local source="${misplaced_usr}/share/${i}"
+ local target="${D}/usr/share/${i}"
+ if [[ ! -d "${target}" ]]; then
+ dodir /usr/share/
+ mv "${source}" "${target}" || die
+ fi
+ done
+ rm -R "${misplaced_usr}" || die
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
next reply other threads:[~2024-03-14 21:12 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 21:12 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-25 15:36 [gentoo-commits] repo/gentoo:master commit in: x11-misc/safeeyes/ Sebastian Pipping
2024-12-25 15:36 Sebastian Pipping
2024-08-10 22:35 Sebastian Pipping
2024-07-14 20:30 Sebastian Pipping
2024-06-19 13:20 Sebastian Pipping
2024-06-08 23:20 Sebastian Pipping
2024-06-08 23:20 Sebastian Pipping
2023-11-05 22:08 Sebastian Pipping
2023-07-05 15:50 Sebastian Pipping
2023-05-08 9:11 Pacho Ramos
2023-03-16 18:52 Michał Górny
2023-01-06 0:54 Sebastian Pipping
2022-12-04 16:07 Sebastian Pipping
2022-11-22 2:17 Sebastian Pipping
2022-11-22 2:17 Sebastian Pipping
2021-10-12 7:42 Marek Szuba
2021-09-05 0:17 Sebastian Pipping
2021-04-30 0:26 Sebastian Pipping
2021-02-15 0:24 Sebastian Pipping
2020-12-26 15:56 Sebastian Pipping
2020-12-07 14:50 Sebastian Pipping
2019-03-31 17:18 Sebastian Pipping
2019-03-31 17:18 Sebastian Pipping
2019-03-09 16:33 Sebastian Pipping
2019-01-22 13:49 Sebastian Pipping
2018-10-31 23:12 Sebastian Pipping
2018-10-31 16:05 Sebastian Pipping
2018-07-08 16:48 Sebastian Pipping
2018-07-02 19:46 Sebastian Pipping
2018-07-01 17:28 Sebastian Pipping
2018-03-21 15:32 Sebastian Pipping
2018-02-10 15:46 Sebastian Pipping
2018-01-18 0:04 Sebastian Pipping
2017-10-17 18:42 Sebastian Pipping
2017-08-15 18:52 Sebastian Pipping
2017-08-13 1:23 Sebastian Pipping
2017-04-29 20:22 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710450713.07a8db8179d87bfb26d091aa2b329d58c31993db.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox