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 C9F3D158020 for ; Sun, 4 Dec 2022 16:07:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2012DE07F9; Sun, 4 Dec 2022 16:07:06 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01702E07F9 for ; Sun, 4 Dec 2022 16:07:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1944C340EAC for ; Sun, 4 Dec 2022 16:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7531575 for ; Sun, 4 Dec 2022 16:07:03 +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: <1670169984.63cecf35be27d134b26b1fe5bca6d1644270c4ec.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/safeeyes/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/safeeyes/safeeyes-2.1.4-r1.ebuild X-VCS-Directories: x11-misc/safeeyes/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 63cecf35be27d134b26b1fe5bca6d1644270c4ec X-VCS-Branch: master Date: Sun, 4 Dec 2022 16:07:03 +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: ed1e91ec-b208-4be2-8a93-74d46354dea7 X-Archives-Hash: c0b02e4701b1f50f62c13c21a8f8b386 commit: 63cecf35be27d134b26b1fe5bca6d1644270c4ec Author: Sebastian Pipping gentoo org> AuthorDate: Sun Dec 4 16:05:41 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Dec 4 16:06:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63cecf35 x11-misc/safeeyes: Stop installing shipped stray .pyc files Closes: https://bugs.gentoo.org/864765 Signed-off-by: Sebastian Pipping gentoo.org> x11-misc/safeeyes/safeeyes-2.1.4-r1.ebuild | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/x11-misc/safeeyes/safeeyes-2.1.4-r1.ebuild b/x11-misc/safeeyes/safeeyes-2.1.4-r1.ebuild new file mode 100644 index 000000000000..18d803a78ba0 --- /dev/null +++ b/x11-misc/safeeyes/safeeyes-2.1.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="tk" # for site-packages/Xlib/ext/randr.py + +inherit 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 ~riscv ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libappindicator:3[introspection] + 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 + " + +DOCS=( + README.md +) + +src_prepare() { + default + find . -type f -name \*.pyc -delete # bug #864765 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}