summaryrefslogtreecommitdiff
path: root/net-nds/nsscache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-09 12:24:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-09 12:24:59 +0100
commitc218398bbbe70a616790cf146c28c1066b9284bf (patch)
treea598e8c85afbc52bb7eca18ae415ef4971e65c8f /net-nds/nsscache
parenta5442e2318cb4df55867389654e322dbac82067e (diff)
gentoo auto-resync : 09:07:2024 - 12:24:58
Diffstat (limited to 'net-nds/nsscache')
-rw-r--r--net-nds/nsscache/Manifest2
-rw-r--r--net-nds/nsscache/nsscache-0.49-r1.ebuild (renamed from net-nds/nsscache/nsscache-0.49.ebuild)18
2 files changed, 7 insertions, 13 deletions
diff --git a/net-nds/nsscache/Manifest b/net-nds/nsscache/Manifest
index fcbeb2485bb9..454b3896f5cf 100644
--- a/net-nds/nsscache/Manifest
+++ b/net-nds/nsscache/Manifest
@@ -1,3 +1,3 @@
DIST nsscache-0.49.tar.gz 128598 BLAKE2B 2d0c9c2818f7dbab44bd4fd17b7e1dceb3f1a236c18c96be4cc5dcf8329c748c0b1f8dc0f462e186458b3ede380ebc408fe56bfe21bc5aa8720a15122f90cec6 SHA512 941f6fcb8f52294f910dcf8e1aaf7f07bf83e7812d9325a709248c49013b46a959c6abdbaafd161ddcef96525d02aa939c68c9548841a6b66b94417f86b67527
-EBUILD nsscache-0.49.ebuild 2276 BLAKE2B 2132bbfdeeff0198ced92d3a385c0c34cad9bf891ede0c458a33e2660db46cd975b651f97f1a802d065ef16ce568772d270baceceadabcdbc91840351bb9e3bb SHA512 8dc89f467831a288b8cb12c693cc76fa27258ab00876a212050c0a923aab24a2a124aacab4e33da931afc265d1ba9cfe2b54236fe45e2b85b8eb710d3a440e02
+EBUILD nsscache-0.49-r1.ebuild 2196 BLAKE2B d45c2495d7799e3389a5d354366a0b6f2d9df97b25805b06469ed7118c49d9794d2c00f9e42432d104f55329c3939a1b7aaed0cc587edacf7a1000fa9e1170a5 SHA512 7f7ad9e805e41976fa7005c567b938bd717dca0f2644409879ba525d325c381eff4cc9ffe9a16457fd18d4f42fef4348c901cf497ebf20e11a87f5bdda3b3bb9
MISC metadata.xml 467 BLAKE2B 49769763ea33cf2fa9ff8614ee16353cd0454bc9ed634787f2782493949d7f25bac9720ad2f0c16d8f6ce45d3b4e79b0f8a6592a7bcc5668ad3c834094584406 SHA512 e3f7f6bdc779dfc2cf63e00940de55faa22a7a8ac4de539c4785c13eff97faf541bd1badb5616a3b8d0a53eabe278290216830fefa4c683d5654d93af98149a7
diff --git a/net-nds/nsscache/nsscache-0.49.ebuild b/net-nds/nsscache/nsscache-0.49-r1.ebuild
index 7c9dfe0b027a..b0fd6dc60bed 100644
--- a/net-nds/nsscache/nsscache-0.49.ebuild
+++ b/net-nds/nsscache/nsscache-0.49-r1.ebuild
@@ -11,6 +11,7 @@ inherit distutils-r1
DESCRIPTION="commandline tool to sync directory services to local cache"
HOMEPAGE="https://github.com/google/nsscache"
SRC_URI="https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-version-${PV}"
# upstream *sources* say "or later", but upstream metadata does not include the
# 'or later' clause.
@@ -34,12 +35,7 @@ RDEPEND="
>=dev-python/pycurl-7.45.2[${PYTHON_USEDEP}]
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
- dev-python/packaging[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-
-S="${WORKDIR}/${PN}-version-${PV}"
+ dev-python/packaging[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
@@ -48,19 +44,17 @@ python_prepare_all() {
# Default config tries $PREFIX/config/nsscache.conf
sed -i \
-e '/data_files/{s,.nsscache.conf.,,}' \
- setup.py
+ setup.py \
+ || die
# Upstream forgot to bump the version
sed -i \
-e '/^__version__/s,0.48,0.49,g' \
- nss_cache/__init__.py
+ nss_cache/__init__.py \
+ || die
distutils-r1_python_prepare_all
}
-python_compile() {
- distutils-r1_python_compile
-}
-
python_install() {
distutils-r1_python_install