public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/nsscache/
Date: Mon,  8 Jul 2024 16:17:09 +0000 (UTC)	[thread overview]
Message-ID: <1720455424.f4e12ad13f410d8c4354e94207234d0007b8bcaa.robbat2@gentoo> (raw)

commit:     f4e12ad13f410d8c4354e94207234d0007b8bcaa
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  8 16:07:50 2024 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Jul  8 16:17:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e12ad1

net-nds/nsscache: QA improvements

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://bugs.gentoo.org/923061

 .../{nsscache-0.49.ebuild => nsscache-0.49-r1.ebuild}  | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/net-nds/nsscache/nsscache-0.49.ebuild b/net-nds/nsscache/nsscache-0.49-r1.ebuild
similarity index 92%
rename from net-nds/nsscache/nsscache-0.49.ebuild
rename to 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
 


             reply	other threads:[~2024-07-08 16:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-08 16:17 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-01  7:54 [gentoo-commits] repo/gentoo:master commit in: net-nds/nsscache/ Robin H. Johnson
2024-01-30  8:23 Robin H. Johnson
2024-01-27 19:31 Robin H. Johnson
2023-01-10 14:37 Michał Górny
2022-11-15 18:22 Michał Górny
2022-09-10 21:12 Robin H. Johnson
2021-05-26 10:30 Sam James
2020-06-29 12:33 David Seifert
2020-06-29 12:33 David Seifert
2020-06-29  5:37 Robin H. Johnson
2016-02-02  0:44 Robin H. Johnson
2016-01-11 20:46 Robin H. Johnson
2016-01-10  7:58 Robin H. Johnson
2016-01-02 23:29 Robin H. Johnson
2016-01-02 19:44 Robin H. Johnson
2016-01-02 19:44 Robin H. Johnson
2016-01-01 19:09 Robin H. Johnson
2015-09-01 19:55 Tobias Klausmann
2015-08-28 23:47 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1720455424.f4e12ad13f410d8c4354e94207234d0007b8bcaa.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox