From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/scons/
Date: Wed, 9 May 2018 14:30:18 +0000 (UTC) [thread overview]
Message-ID: <1525876214.b261fdc68a5d1ccbfaa71c6a573b1671db2428a2.mgorny@gentoo> (raw)
commit: b261fdc68a5d1ccbfaa71c6a573b1671db2428a2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 9 14:21:49 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 9 14:30:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b261fdc6
dev-util/scons: Support running tests
dev-util/scons/Manifest | 1 +
dev-util/scons/scons-3.0.1.ebuild | 21 +++++++++++++++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest
index 86d315f7a50..1378322e7ff 100644
--- a/dev-util/scons/Manifest
+++ b/dev-util/scons/Manifest
@@ -6,4 +6,5 @@ DIST scons-2.5.1-user.pdf 2522755 BLAKE2B 0dbf4ec98cd1dfb4889595762fdf57c2988a67
DIST scons-2.5.1.tar.gz 620909 BLAKE2B 021e02583dab06a859e46d164be79dcaa49a1a383c5d3fb9baa64afabb793e049b7ebefff1bbbcc8be1f364ca5c64e1a9c7ef937c32407853e39f4d84a91e51d SHA512 0e39f7f22a6c4ecc13edcd843b050754da5ded5371b3a8b406395f7b53dd280f95f804707eec271f8de3624d06f5b4ba3cc788dc4eb891cad224a163544f51b9
DIST scons-3.0.1-user.html 1121915 BLAKE2B 0ee57d112ba6269a488335e9354723c645e4b06129c26ca64d45923066ad92cf5519fa4933ef74dd5254d5b068b2909290c5c930a4247ebd6a5f1761f683a6e2 SHA512 e49ae91b04509d32f67d17cabb6619ede49c7190d80efcbd1e0bd1992574ea08c7abc892cad26f8b995b0f43bccd099a96ce633d63d6f56aafc442f9aa734aec
DIST scons-3.0.1-user.pdf 2541376 BLAKE2B 43895501bf8b4a7eda12c5b3b076e6a71e949727224c279ef77671f7d4094245d37b9d8aeca6daa7d043c5513cc0c83e82a06f8a50bb4add4f0d750fce416bac SHA512 9fab1915c96cd32908cbbf123dfb8c97be99ec45df0461fa68ac47706f6bfc51d7ab970a43630e5414b01a8b9d27409e356b57c134478cec13f1bcbd97f615e7
+DIST scons-3.0.1.gh.tar.gz 5481813 BLAKE2B 750668bf034ff48f635db0395fc4fc950a7148c315099738da4d96f346d025b7dd3849e376d566e5f55793ee0b901ad8a4d7ff661068420f085ab76404ca244c SHA512 092a5d88191e4c9deee2e14371745fad1c3beee746f55256729444ad56a141a28f45ebeef4b2a7ec37344048ff16864d85b978855c0285a14b7c6f46f91158ac
DIST scons-3.0.1.tar.gz 634815 BLAKE2B f5bacec048969d592697bc3dfb44678c25a92982f7ba81f9951e73532e8b9ac0906fe72c979d7818db5ab9b2c6dd380df21d323e47ea4cc0db646d6eed4b7d94 SHA512 b7be40ba507366cc678f31b910553cadaf59781c3a91833a34acbd29d9cad0cda38f6753034bf92c3af55d1e0c2f72aba5d81f1ec67205d0345b005d286f7084
diff --git a/dev-util/scons/scons-3.0.1.ebuild b/dev-util/scons/scons-3.0.1.ebuild
index d511a65da38..99e628bd103 100644
--- a/dev-util/scons/scons-3.0.1.ebuild
+++ b/dev-util/scons/scons-3.0.1.ebuild
@@ -13,12 +13,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
doc? (
http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html
- )"
+ )
+ test? ( https://github.com/scons/scons/archive/${PV}.tar.gz -> ${P}.gh.tar.gz )"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="doc"
+IUSE="doc test"
+
+src_unpack() {
+ if use test; then
+ unpack "${P}.gh.tar.gz"
+ mv "${P}" "${P}-full" || die
+ fi
+ unpack "${P}.tar.gz"
+}
python_prepare_all() {
# remove half-broken, useless custom commands
@@ -29,6 +38,14 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+python_test() {
+ cd "${WORKDIR}/${P}-full" || die
+ "${EPYTHON}" runtest.py -as \
+ -j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
+ --builddir "${BUILD_DIR}/lib" ||
+ die "Tests fail with ${EPYTHON}"
+}
+
python_install_all() {
local DOCS=( {CHANGES,README,RELEASE}.txt )
distutils-r1_python_install_all
next reply other threads:[~2018-05-09 14:30 UTC|newest]
Thread overview: 170+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 14:30 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-09 18:43 [gentoo-commits] repo/gentoo:master commit in: dev-util/scons/ Michał Górny
2023-12-26 16:37 Sam James
2023-12-21 8:05 Arthur Zamarin
2023-12-21 6:52 Sam James
2023-12-21 6:52 Sam James
2023-12-21 6:52 Sam James
2023-12-19 6:14 Michał Górny
2023-12-19 5:19 Sam James
2023-12-10 16:12 Michał Górny
2023-12-10 15:16 Michał Górny
2023-12-10 1:38 Ionen Wolkens
2023-11-20 6:56 Michał Górny
2023-10-06 12:29 Michał Górny
2023-08-20 13:21 Sam James
2023-08-20 13:11 Sam James
2023-08-20 10:57 Sam James
2023-08-20 10:42 Sam James
2023-08-20 8:50 Michał Górny
2023-08-20 8:50 Michał Górny
2023-03-21 16:45 Michał Górny
2023-03-21 12:44 Michał Górny
2023-03-21 12:44 Michał Górny
2023-03-21 5:31 Michał Górny
2023-03-20 19:29 Michał Górny
2023-03-07 8:11 Michał Górny
2023-01-15 7:32 Michał Górny
2023-01-06 15:27 Michał Górny
2022-12-19 18:37 Michał Górny
2022-12-19 16:46 Michał Górny
2022-12-19 15:12 Michał Górny
2022-09-08 11:24 Agostino Sarubbo
2022-09-06 9:00 Jakov Smolić
2022-09-05 14:03 Agostino Sarubbo
2022-09-05 14:02 Agostino Sarubbo
2022-09-05 14:02 Agostino Sarubbo
2022-09-05 14:01 Agostino Sarubbo
2022-09-04 17:48 Sam James
2022-08-01 17:32 Michał Górny
2022-05-14 5:32 WANG Xuerui
2022-02-25 23:41 Michał Górny
2022-02-25 21:50 Sam James
2022-02-11 21:10 Arthur Zamarin
2022-02-10 13:58 Sam James
2022-02-10 11:43 Sam James
2022-02-10 11:43 Sam James
2022-02-10 11:43 Sam James
2022-02-10 10:45 Jakov Smolić
2021-12-25 21:52 Michał Górny
2021-10-13 2:38 Sam James
2021-10-04 19:16 Sam James
2021-10-03 17:50 Agostino Sarubbo
2021-10-02 23:51 Sam James
2021-10-02 23:50 Sam James
2021-09-27 18:13 Sam James
2021-09-27 6:57 Agostino Sarubbo
2021-09-27 6:55 Agostino Sarubbo
2021-08-01 8:17 Michał Górny
2021-07-27 11:00 Marek Szuba
2021-03-28 11:51 Sam James
2021-03-06 10:25 Sergei Trofimovich
2021-03-05 21:41 Sam James
2021-03-05 18:50 Sam James
2021-03-05 18:50 Sam James
2021-03-05 15:02 Agostino Sarubbo
2021-03-05 14:19 Agostino Sarubbo
2021-02-05 21:47 Sam James
2021-02-05 21:46 Sam James
2021-01-06 22:55 Fabian Groffen
2020-12-13 23:35 Sam James
2020-11-09 15:15 Michał Górny
2020-10-06 19:43 Sam James
2020-09-26 16:21 Michał Górny
2020-09-26 12:51 Michał Górny
2020-09-24 6:46 Agostino Sarubbo
2020-09-20 21:52 Thomas Deutschmann
2020-09-19 2:10 Sam James
2020-09-18 16:56 Michał Górny
2020-09-18 11:02 Michał Górny
2020-09-18 9:38 Michał Górny
2020-09-16 17:48 Sergei Trofimovich
2020-09-14 16:34 Sergei Trofimovich
2020-07-21 12:39 Michał Górny
2020-07-11 13:59 Michał Górny
2020-04-08 20:53 Sergei Trofimovich
2020-04-06 17:45 Mike Gilbert
2020-02-24 11:31 Agostino Sarubbo
2020-02-21 15:57 Agostino Sarubbo
2020-02-17 12:21 Agostino Sarubbo
2020-02-17 12:17 Agostino Sarubbo
2020-02-17 12:09 Agostino Sarubbo
2020-02-17 11:53 Agostino Sarubbo
2020-02-17 11:45 Agostino Sarubbo
2020-02-16 20:51 Sergei Trofimovich
2019-12-24 20:02 Mikle Kolyada
2019-12-17 7:35 Michał Górny
2019-12-17 7:35 Michał Górny
2019-11-11 19:39 Sergei Trofimovich
2019-09-13 18:51 Mikle Kolyada
2019-09-09 17:21 Aaron Bauman
2019-09-09 6:02 Agostino Sarubbo
2019-09-09 6:00 Agostino Sarubbo
2019-09-09 5:54 Agostino Sarubbo
2019-09-09 5:50 Agostino Sarubbo
2019-09-09 5:49 Agostino Sarubbo
2019-09-08 19:15 Thomas Deutschmann
2019-09-08 6:43 Michał Górny
2019-08-08 21:48 Michał Górny
2019-07-28 19:53 Mikle Kolyada
2019-07-23 23:49 Aaron Bauman
2019-07-21 6:44 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-15 14:19 Michał Górny
2019-06-06 6:46 Agostino Sarubbo
2019-05-30 20:33 Sergei Trofimovich
2019-05-30 20:30 Sergei Trofimovich
2019-05-30 20:08 Sergei Trofimovich
2019-05-30 20:05 Sergei Trofimovich
2019-05-26 22:27 Thomas Deutschmann
2019-05-26 11:35 Mikle Kolyada
2019-05-26 8:27 Sergei Trofimovich
2019-05-24 21:43 Michał Górny
2019-04-28 13:03 Sergei Trofimovich
2019-04-28 7:42 Sergei Trofimovich
2019-04-22 12:07 Michał Górny
2019-04-20 17:57 Mikle Kolyada
2019-03-27 13:12 Michał Górny
2019-03-16 14:06 Mikle Kolyada
2019-03-15 8:11 Mikle Kolyada
2019-03-14 21:53 Sergei Trofimovich
2019-03-14 19:41 Sergei Trofimovich
2019-01-24 7:50 Michał Górny
2018-09-06 21:22 Michał Górny
2018-06-13 7:31 Michał Górny
2018-05-26 9:21 Mikle Kolyada
2018-05-10 11:48 Fabian Groffen
2018-05-09 15:26 Michał Górny
2018-05-09 14:30 Michał Górny
2018-04-25 12:26 Mart Raudsepp
2018-04-19 22:14 Sergei Trofimovich
2018-04-18 20:56 Mikle Kolyada
2018-04-05 23:19 Thomas Deutschmann
2018-04-01 11:09 Tobias Klausmann
2018-03-30 13:32 Aaron Bauman
2018-03-27 22:32 Sergei Trofimovich
2018-03-27 19:07 Sergei Trofimovich
2017-10-29 21:51 Matt Thode
2017-04-23 20:48 Michał Górny
2017-03-01 0:35 Michael Weber
2017-01-15 19:37 Jeroen Roovers
2017-01-04 17:09 Agostino Sarubbo
2016-12-17 12:24 Aaron Bauman
2016-11-26 10:02 Markus Meier
2016-11-15 14:53 Tobias Klausmann
2016-11-06 9:38 Michał Górny
2016-11-04 8:21 Lars Wendler
2016-04-20 6:35 Lars Wendler
2016-04-20 6:35 Lars Wendler
2016-02-08 8:15 Fabian Groffen
2015-11-11 10:37 Lars Wendler
2015-09-23 0:16 Mike Gilbert
2015-09-22 8:54 Lars Wendler
2015-09-22 8:54 Lars Wendler
2015-09-17 22:36 Patrice Clement
2015-09-14 13:49 Tobias Klausmann
2015-09-14 3:24 Jeroen Roovers
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=1525876214.b261fdc68a5d1ccbfaa71c6a573b1671db2428a2.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