diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2024-04-15 10:25:49 +0200 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2024-04-15 10:25:49 +0200 |
commit | 27404215f61bf88d09e6f90aaf8365e8f09240af (patch) | |
tree | cbee9fb6092ed763ca6bbde255072bb6c4295d10 /app-admin/lib_users/lib_users-0.15-r1.ebuild | |
parent | app-crypt/p11-kit: Stabilize 0.25.3-r2 sparc, #930055 (diff) | |
download | gentoo-27404215f61bf88d09e6f90aaf8365e8f09240af.tar.gz gentoo-27404215f61bf88d09e6f90aaf8365e8f09240af.tar.bz2 gentoo-27404215f61bf88d09e6f90aaf8365e8f09240af.zip |
app-admin/lib_users: PythonCompatUpdate (3.12)
Closes: https://bugs.gentoo.org/929274
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-admin/lib_users/lib_users-0.15-r1.ebuild')
-rw-r--r-- | app-admin/lib_users/lib_users-0.15-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 +} |