From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/citeproc-py/
Date: Wed, 20 Oct 2021 03:10:49 +0000 (UTC) [thread overview]
Message-ID: <1634699432.7644d1ccb7a14f8b0076002081f8c92f8abd9c43.sam@gentoo> (raw)
commit: 7644d1ccb7a14f8b0076002081f8c92f8abd9c43
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 03:09:51 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 03:10:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7644d1cc
dev-python/citeproc-py: fix installation without tests, simplify
- distutils_enable_tests handles IUSE=test, RESTRICT, and BDEPEND="test? ( ${RDEPEND} )"
for us.
- Don't try to mv a directory which won't exist if USE=-test.
See: https://github.com/gentoo/gentoo/pull/22283
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/citeproc-py/citeproc-py-0.6.0.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild b/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild
index d69a3058ef1..6aaa4f52d37 100644
--- a/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild
+++ b/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild
@@ -21,19 +21,20 @@ SRC_URI="
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="test"
BDEPEND=">=app-text/rnc2rng-2.6.3[${PYTHON_USEDEP}]"
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND} )"
PATCHES=( "${FILESDIR}/stop_test_from_accessing_git-${PV}.patch" )
distutils_enable_tests nose
src_prepare() {
- default_src_prepare
- mv "${WORKDIR}/test-suite-${TEST_SUITE_COMMIT}" "${S}/tests/test-suite" || die
+ default
+
+ if use test ; then
+ mv "${WORKDIR}/test-suite-${TEST_SUITE_COMMIT}" "${S}/tests/test-suite" || die
+ fi
}
python_test() {
next reply other threads:[~2021-10-20 3:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 3:10 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-17 5:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/citeproc-py/ Michał Górny
2021-10-22 17:21 Arthur Zamarin
2021-10-20 3:11 Sam James
2021-02-05 8:47 Michał Górny
2020-12-11 12:48 Michał Górny
2020-12-03 1:35 Aaron Bauman
2020-02-04 15:40 Michał Górny
2019-11-17 15:12 Alexey Shvetsov
2018-06-28 12:20 Alexey Shvetsov
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=1634699432.7644d1ccb7a14f8b0076002081f8c92f8abd9c43.sam@gentoo \
--to=sam@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