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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F521158043 for ; Mon, 15 Apr 2024 08:27:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9997DE29C4; Mon, 15 Apr 2024 08:27:02 +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 574D0E29C4 for ; Mon, 15 Apr 2024 08:27:02 +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 6405A3433D9 for ; Mon, 15 Apr 2024 08:27:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFC4D1504 for ; Mon, 15 Apr 2024 08:26:59 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1713169549.27404215f61bf88d09e6f90aaf8365e8f09240af.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lib_users/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/lib_users/lib_users-0.15-r1.ebuild X-VCS-Directories: app-admin/lib_users/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 27404215f61bf88d09e6f90aaf8365e8f09240af X-VCS-Branch: master Date: Mon, 15 Apr 2024 08:26:59 +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: e76b7279-a316-4e08-a184-5750672b8184 X-Archives-Hash: 15a352d8fa8f53b2609e493c17879a25 commit: 27404215f61bf88d09e6f90aaf8365e8f09240af Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Apr 15 08:25:49 2024 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Apr 15 08:25:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27404215 app-admin/lib_users: PythonCompatUpdate (3.12) Closes: https://bugs.gentoo.org/929274 Signed-off-by: Marc Schiffbauer gentoo.org> app-admin/lib_users/lib_users-0.15-r1.ebuild | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/app-admin/lib_users/lib_users-0.15-r1.ebuild b/app-admin/lib_users/lib_users-0.15-r1.ebuild new file mode 100644 index 000000000000..45ccbc10dde4 --- /dev/null +++ b/app-admin/lib_users/lib_users-0.15-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit python-r1 + +DESCRIPTION="Check for mapped libs and open files that are marked as deleted" +HOMEPAGE="https://github.com/klausman/lib_users" +SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + test? ( + dev-python/nose2[${PYTHON_USEDEP}] + )" +RDEPEND="${PYTHON_DEPS}" + +src_test() { + python_foreach_impl nose2 --verbosity=2 +} + +my_install() { + python_newscript lib_users.py lib_users + python_newscript fd_users.py fd_users + # lib_users_util/ contains a test script we don't want, so do things by hand + python_moduleinto lib_users_util + python_domodule lib_users_util/common.py + python_domodule lib_users_util/__init__.py +} + +src_install() { + python_foreach_impl my_install + dodoc README.md TODO +}