public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tinycss2/
Date: Sun, 14 Feb 2021 08:48:20 +0000 (UTC)	[thread overview]
Message-ID: <1613292497.cfd6bfb0f116168185e6e376c67780d80bc0fd8c.mgorny@gentoo> (raw)

commit:     cfd6bfb0f116168185e6e376c67780d80bc0fd8c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 08:47:40 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 08:48:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd6bfb0

dev-python/tinycss2: Fetch tests only w/ USE=test

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tinycss2/tinycss2-1.1.0.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/tinycss2/tinycss2-1.1.0.ebuild b/dev-python/tinycss2/tinycss2-1.1.0.ebuild
index 645b168f8b7..cd49f309862 100644
--- a/dev-python/tinycss2/tinycss2-1.1.0.ebuild
+++ b/dev-python/tinycss2/tinycss2-1.1.0.ebuild
@@ -16,8 +16,10 @@ HOMEPAGE="https://github.com/Kozea/tinycss2/
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 SRC_URI="
 	https://github.com/Kozea/tinycss2/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
-	https://github.com/SimonSapin/css-parsing-tests/archive/${CSS_TEST_COMMIT_ID}.tar.gz
-		-> css-parsing-tests-${CSS_TEST_COMMIT_ID}.gh.tar.gz"
+	test? (
+		https://github.com/SimonSapin/css-parsing-tests/archive/${CSS_TEST_COMMIT_ID}.tar.gz
+			-> css-parsing-tests-${CSS_TEST_COMMIT_ID}.gh.tar.gz
+	)"
 
 LICENSE="BSD"
 SLOT="0"
@@ -29,7 +31,9 @@ distutils_enable_tests pytest
 
 src_prepare() {
 	sed -i -e '/addopts/d' pyproject.toml || die
-	mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \
-		tests/css-parsing-tests/ || die
+	if use test; then
+		mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \
+			tests/css-parsing-tests/ || die
+	fi
 	distutils-r1_src_prepare
 }


             reply	other threads:[~2021-02-14  8:48 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14  8:48 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09  9:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/tinycss2/ Michał Górny
2024-11-09  8:59 Sam James
2024-10-25  4:04 Michał Górny
2024-05-18 10:15 Michał Górny
2024-05-08  8:15 Michał Górny
2024-04-23 14:33 Michał Górny
2023-11-16 18:50 Michał Górny
2023-11-10  5:47 Viorel Munteanu
2023-05-26 21:12 Arthur Zamarin
2023-05-20  8:43 Michał Górny
2022-11-19  8:44 Arthur Zamarin
2022-11-19  8:35 Arthur Zamarin
2022-10-18  7:37 Michał Górny
2022-10-18  7:37 Michał Górny
2022-10-18  6:36 Michał Górny
2022-10-07 12:16 Arthur Zamarin
2022-09-12  4:36 Jakov Smolić
2022-08-26 23:29 Sam James
2022-08-26 19:12 Arthur Zamarin
2022-08-26 19:12 Arthur Zamarin
2022-08-26 19:11 Arthur Zamarin
2022-08-01 14:18 Jakov Smolić
2022-08-01 14:17 Jakov Smolić
2022-07-27  5:22 Sam James
2022-07-20 22:04 Sam James
2022-07-05 19:28 Arthur Zamarin
2022-05-19  7:14 Michał Górny
2022-02-27 18:52 Michał Górny
2022-01-27 10:02 Michał Górny
2021-12-23 22:46 Michał Górny
2021-12-23 22:46 Michał Górny
2021-12-23 22:39 Sam James
2021-11-23  1:25 Yixun Lan
2021-11-22 23:04 Michał Górny
2021-06-05 18:26 Michał Górny
2021-01-24 19:47 Steve Arnold
2020-12-16 22:30 Sam James
2020-12-16 17:25 Michał Górny
2020-12-16 17:25 Michał Górny
2020-12-16 16:49 Sam James
2020-12-05  9:58 Michał Górny
2020-10-29 23:38 Michał Górny
2020-05-04 12:24 Michał Górny
2020-05-03 10:30 Agostino Sarubbo
2020-05-03 10:01 Agostino Sarubbo
2020-03-29 10:13 Michał Górny
2020-03-11  8:04 Michał Górny
2020-02-05 20:11 Michał Górny
2019-07-18 21:31 Aaron W. Swenson
2019-07-18 21:31 Aaron W. Swenson
2019-07-18  0:12 Aaron W. Swenson
2018-05-17 13:52 Thomas Deutschmann
2018-05-16  8:35 Agostino Sarubbo
2018-03-17 21:41 Michał Górny
2018-03-05 13:36 Aaron Swenson
2017-07-07  0:22 Aaron Swenson

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=1613292497.cfd6bfb0f116168185e6e376c67780d80bc0fd8c.mgorny@gentoo \
    --to=mgorny@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