diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2021-11-01 12:24:38 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2021-11-03 12:52:15 +0100 |
commit | a69cf8d8976ca5968c07ec8ac1ae1ac5da99a7e9 (patch) | |
tree | 658b2e50799aad7dcf87936e420b98639a681d11 /app-admin/lib_users/lib_users-0.15.ebuild | |
parent | dev-python/qtawesome: add version 1.1.0 (diff) | |
download | gentoo-a69cf8d8976ca5968c07ec8ac1ae1ac5da99a7e9.tar.gz gentoo-a69cf8d8976ca5968c07ec8ac1ae1ac5da99a7e9.tar.bz2 gentoo-a69cf8d8976ca5968c07ec8ac1ae1ac5da99a7e9.zip |
app-admin/lib_users: Add v0.15
Unfortunately, nose is deprecated and its spiritual successor nose2 is
only keyworded on amd64 and x86, so we have to drop all other keywords.
lib_users _may_ abandon the nose/nose2 dependency in the future, but
it's not a given.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Diffstat (limited to 'app-admin/lib_users/lib_users-0.15.ebuild')
-rw-r--r-- | app-admin/lib_users/lib_users-0.15.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/lib_users/lib_users-0.15.ebuild b/app-admin/lib_users/lib_users-0.15.ebuild new file mode 100644 index 000000000000..b5a163398ad1 --- /dev/null +++ b/app-admin/lib_users/lib_users-0.15.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +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="~amd64 ~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 +} |