diff options
author | 2024-01-27 11:27:56 -0800 | |
---|---|---|
committer | 2024-01-27 11:31:26 -0800 | |
commit | 854aa3695b55ac48d199e269e0029d0c68363e86 (patch) | |
tree | daec2334caf4b2085bfc68996e88e70d0c5bad19 /net-nds/nsscache/nsscache-0.47.ebuild | |
parent | www-client/httrack: Drop vulnerable (diff) | |
download | gentoo-854aa3695b55ac48d199e269e0029d0c68363e86.tar.gz gentoo-854aa3695b55ac48d199e269e0029d0c68363e86.tar.bz2 gentoo-854aa3695b55ac48d199e269e0029d0c68363e86.zip |
net-nds/nsscache: bump, passes tests on py3.10..12
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-nds/nsscache/nsscache-0.47.ebuild')
-rw-r--r-- | net-nds/nsscache/nsscache-0.47.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/net-nds/nsscache/nsscache-0.47.ebuild b/net-nds/nsscache/nsscache-0.47.ebuild deleted file mode 100644 index e399b4dd7a00..000000000000 --- a/net-nds/nsscache/nsscache-0.47.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_10 ) - -inherit distutils-r1 - -DESCRIPTION="commandline tool to sync directory services to local cache" -HOMEPAGE="https://github.com/google/nsscache" -SCRIPT_A='nsscache-0.30-r3-gentoo-authorized-keys-command.py' -SRC_URI=" - https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~robbat2/${SCRIPT_A}" - -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~amd64 ~x86" -KEYWORDS="" # pending infra testing -IUSE="nsscache s3 test" -RESTRICT="test" # requires network - -#test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/mox3[${PYTHON_USEDEP}] ) -DEPEND=" - dev-python/ldap3[${PYTHON_USEDEP}] - dev-python/pycurl[${PYTHON_USEDEP}] - s3? ( dev-python/boto3[${PYTHON_USEDEP}] )" -RDEPEND="${DEPEND} - nsscache? ( >=sys-auth/libnss-cache-0.10 )" - -S="${WORKDIR}/${PN}-version-${PV}" - -python_prepare_all() { - # If tests are disabled in the ebuild, disable in setup - if [[ "${RESTRICT/test}" != "$RESTRICT" ]]; then - sed -i \ - -e "/setup_requires/s,'pytest-runner',,g" \ - -e '/tests_require/s,\[.*\],[],g' \ - setup.py || die - sed -i \ - -e '/test=pytest/d' \ - setup.cfg || die - sed -i \ - -e '/pytest/d' \ - requirements.txt || die - fi - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile --verbose -} - -python_install() { - distutils-r1_python_install - - python_scriptinto /usr/libexec/nsscache - python_newexe "${DISTDIR}"/"${SCRIPT_A}" authorized-keys-command.py -} - -python_install_all() { - distutils-r1_python_install_all - - doman nsscache.1 nsscache.conf.5 - dodoc THANKS nsscache.cron CONTRIBUTING.md README.md - - keepdir /var/lib/nsscache -} - -[[ "${RESTRICT/test}" != "$RESTRICT" ]] && distutils_enable_tests pytest |