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-util/scons/
Date: Tue, 17 Dec 2019 07:35:01 +0000 (UTC)	[thread overview]
Message-ID: <1576568094.b032eaa9f0002acdd8e58074b98983f86b2fd977.mgorny@gentoo> (raw)

commit:     b032eaa9f0002acdd8e58074b98983f86b2fd977
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 06:24:07 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 07:34:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b032eaa9

dev-util/scons: Bump to 3.1.2

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

 dev-util/scons/Manifest           |  4 ++
 dev-util/scons/scons-3.1.2.ebuild | 89 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest
index 121a5da411d..19679d98eac 100644
--- a/dev-util/scons/Manifest
+++ b/dev-util/scons/Manifest
@@ -10,3 +10,7 @@ DIST scons-3.1.1-user.html 1134061 BLAKE2B de025ff73ecacec591c63b22bb3f934962a34
 DIST scons-3.1.1-user.pdf 2564248 BLAKE2B 702e57a9646779ff1aa077aa7ae7a815d004cda08166f948ef3b893a786c7ccf13e9d1f8621640573802acd0b6a7acaaf68ebea984d5922112a30c4457740bc4 SHA512 0c0f8e93e3bddd9dc0ec661f629f2995ec9375908b3b7bf2b67c9518571cb31754d13fca46fc1182019976e5c0a417832447692ff61f5ee4613b7f56c7891594
 DIST scons-3.1.1.gh.tar.gz 5528538 BLAKE2B cbb13a0ec9c5ade9b965592f012af5a3ab5253a3c30a049da499631ff58fc1201666209316d9fbcc8f0a715b194327f3cebe5a50fde01635fdb0304b8fbbb2f6 SHA512 3347a7ec5c6c7b596c0d51bb4a9654b971734736febe3834df0f40e7839e1f0578dafeae838d5ddd9f3319ac3d17b6790666fa1602c30480eba25122355179a5
 DIST scons-3.1.1.tar.gz 663878 BLAKE2B 095d5f45885ac12937066be247194e70d33e8f5dc0955e7d693c4b0d3a4b61e776bc1d64cd00ebc89d1e85a7992747b8f448255a76c1b6c2d9df8fa173967711 SHA512 2e80b45571679d8acc0554273538f56163488df5aa9007c7c9c3a6deb2698909ab05da8df91502ea287c0cc0ff0a98f226454f67fcfb7a943570f673f4bd8f54
+DIST scons-3.1.2-user.html 1126908 BLAKE2B 38e7695b6ef1e79b3eed4455fbe84ec1587be3f21c1c90cfa6602b344c52c704f021ed8e611abaf2e24ca06c5116e79fb78ca724c9920186cce35feccbac899d SHA512 a13ed1157f6aad25acbad6e1e3d2c0a16a14dd1d5fa369ba27777ca30eeb31ce37c735c1870c80f7343f0f98a4305fe1ef7c2b679cf2cb9c0d6670f34a3aeba8
+DIST scons-3.1.2-user.pdf 2557502 BLAKE2B 1c89d845d23c4e434c9db11d8730121f0b8dc6f2fca21dabe3e7204373cdf743d831a1835731332e39ccd7f3f49da068ba34a33a2937e9dd205e38d9c8b2b321 SHA512 9da887c157cb95f7802cb4b96080b0e56f2ad7663021b8be0839e71d473422fe9dd0dadf0ad1b067160c39511e91c6b3d9aaff8e238bb46b10a03ae89b12e169
+DIST scons-3.1.2.gh.tar.gz 5534888 BLAKE2B 63e8b069cfddfed6a2ce8bcb7816b51b1881ca7a1a3e552f2eec5ecd1deae80720b0acfb711ab17067efdc9d0e4aea696e9f4eee6b374071bfc60e7bb79cc58a SHA512 b096501ea37e62f596f16b46b4022ad7979f359b10849d4c5fa17731a6c3ec34e0890374de175a8aa7539ae677777142ccf5dfae39a74696efcdbcc00e89bccf
+DIST scons-3.1.2.tar.gz 668298 BLAKE2B 14251e2bab425dfc31d1d6d9325a67725dae42576d2a5c204f0ff7948aa2da5aadd3fdf03bbbccd615757520fedee5e18ca2ba13aaf07a4ddfec330db4221203 SHA512 bfc0d58d33408a03eb37c1eff166af8139078026e6b43d6274afceac889d0a6743e359e89ad9a30be5ca43aeed26fba92fa4732854750b7d53091ef3e99b3d33

diff --git a/dev-util/scons/scons-3.1.2.ebuild b/dev-util/scons/scons-3.1.2.ebuild
new file mode 100644
index 00000000000..c496b2b8caf
--- /dev/null
+++ b/dev-util/scons/scons-3.1.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Extensible Python-based build utility"
+HOMEPAGE="http://www.scons.org/"
+SRC_URI="
+	https://downloads.sourceforge.net/project/scons/scons/${PV}/${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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	test? (
+		dev-libs/libxml2[${PYTHON_USEDEP}]
+		dev-python/lxml[${PYTHON_USEDEP}]
+	)
+"
+
+S=${WORKDIR}/${P}/src
+
+PATCHES=(
+	# support env passthrough for Gentoo ebuilds
+	"${FILESDIR}"/scons-3.0.1-env-passthrough.patch
+	# respect CC, CXX, C*FLAGS, LDFLAGS by default
+	"${FILESDIR}"/scons-3.0.3-respect-cc-etc-r1.patch
+)
+
+src_unpack() {
+	# use the git directory structure, but put pregenerated release
+	# inside src/ subdirectory to make our life easier
+	if use test; then
+		unpack "${P}.gh.tar.gz"
+	else
+		mkdir -p "${P}"/src || die
+	fi
+
+	tar -C "${P}"/src --strip-components=1 -xzf "${DISTDIR}/${P}.tar.gz" || die
+}
+
+src_prepare() {
+	# apply patches relatively to top directory
+	cd "${WORKDIR}/${P}" || die
+	distutils-r1_src_prepare
+
+	# remove half-broken, useless custom commands
+	# and fix manpage install location
+	sed -i -e '/cmdclass/,/},$/d' \
+		-e '/data_files/s:man/:share/man/:' "${S}"/setup.py || die
+}
+
+python_test() {
+	# set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env
+	local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
+	# unset some env variables to pass appropriate tests
+	unset AR AS ASFLAGS CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+	cd "${WORKDIR}/${P}" || die
+	"${EPYTHON}" runtest.py -a --passed \
+		-j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
+		--builddir "${BUILD_DIR}/lib"
+
+	# runtest.py script returns "0" if all tests are passed
+	# and returns "2" if there are any tests with "no result"
+	# (i.e. in case if some tools are not installed or it's Windows specific tests)
+	[[ ${?} == [02] ]] || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+	local DOCS=( {CHANGES,README,RELEASE}.txt )
+	distutils-r1_python_install_all
+	rm "${ED}/usr/bin/scons.bat" || die
+
+	use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html}
+}


             reply	other threads:[~2019-12-17  7:35 UTC|newest]

Thread overview: 170+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17  7:35 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-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-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=1576568094.b032eaa9f0002acdd8e58074b98983f86b2fd977.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