From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6E1115817D for ; Wed, 19 Jun 2024 13:20:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00A362BC014; Wed, 19 Jun 2024 13:20:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D68E42BC014 for ; Wed, 19 Jun 2024 13:20:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7ECA33BDE1 for ; Wed, 19 Jun 2024 13:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5185B1C7B for ; Wed, 19 Jun 2024 13:20:34 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1718803224.7166d1978ef4330865731a3fe75305e9b0ff5f1c.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/safeeyes/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/safeeyes/Manifest x11-misc/safeeyes/safeeyes-2.1.9.ebuild X-VCS-Directories: x11-misc/safeeyes/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 7166d1978ef4330865731a3fe75305e9b0ff5f1c X-VCS-Branch: master Date: Wed, 19 Jun 2024 13:20:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 472a5ad2-2f69-4336-84d4-7d074ca89c70 X-Archives-Hash: 61613b8b9a775557f764427f2cb12068 commit: 7166d1978ef4330865731a3fe75305e9b0ff5f1c Author: Sebastian Pipping gentoo org> AuthorDate: Wed Jun 19 13:19:12 2024 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jun 19 13:20:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7166d197 x11-misc/safeeyes: 2.1.9 Signed-off-by: Sebastian Pipping gentoo.org> x11-misc/safeeyes/Manifest | 1 + x11-misc/safeeyes/safeeyes-2.1.9.ebuild | 60 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/x11-misc/safeeyes/Manifest b/x11-misc/safeeyes/Manifest index 4a7b721a70e4..d4f3b38c47b1 100644 --- a/x11-misc/safeeyes/Manifest +++ b/x11-misc/safeeyes/Manifest @@ -1,2 +1,3 @@ DIST safeeyes-2.1.6.tar.gz 286359 BLAKE2B a5e4b4d680d455f2ae9494705f1e4508341802f4826b2d11f5407eed4074f0eab45066a3741745dd164b47e26a2dbf2a393945bffef0f747cbebd5f87b3b1961 SHA512 6476284ed1d8cdde77f10b3fe962a5d9d5ead944b0418f797e375cc67affa6807d858279cf4a1189585b7688dbe983fc6b90c917e0e55a2a11ebfdc56b44ca93 DIST safeeyes-2.1.8.tar.gz 288991 BLAKE2B 53fa71171c42679f7241a13b5542855c542c020814a4ec9e9c7480163bc2179e93787fb87291999815f900d5dea3522f5de8e35e85b714d3cb1cc4e24bad5638 SHA512 df3192ee751510449a0ee8946c8e59daff3dc5b4ef95a2f5563cc82834fbe8d3de52f39be2e0c26c13db7ac3d115ef1de63184ec8d069b99f411f4d60e9b5139 +DIST safeeyes-2.1.9.tar.gz 288598 BLAKE2B 4a8892758220d7422c9d58b0dfcaef19c4a7cbef1266dc593321d2abaeafee5857dff277d16a4a98c5fdd745cdf305762f593e04c1cf9f9886d3e79486108c5c SHA512 2a752686c101bd3a952ed11b7c68e692077220663ac36ee73343d001807bb5d7c02477cb45ab92be99fd8463f436570caf021ae1a064079fcecd82447c13c3ac diff --git a/x11-misc/safeeyes/safeeyes-2.1.9.ebuild b/x11-misc/safeeyes/safeeyes-2.1.9.ebuild new file mode 100644 index 000000000000..cd7e15330da3 --- /dev/null +++ b/x11-misc/safeeyes/safeeyes-2.1.9.ebuild @@ -0,0 +1,60 @@ +# 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" + +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 +}