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: Sat, 25 Dec 2021 21:52:18 +0000 (UTC)	[thread overview]
Message-ID: <1640469117.e58bb6829e489bb87bd028bbdad91c9aa5d3fd81.mgorny@gentoo> (raw)

commit:     e58bb6829e489bb87bd028bbdad91c9aa5d3fd81
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Sat Dec 18 20:38:54 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 21:51:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58bb682

dev-util/scons: bump to 4.3.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/23411
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/scons/Manifest           |   4 ++
 dev-util/scons/scons-4.3.0.ebuild | 117 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest
index b7a44b312769..ac29b24e5995 100644
--- a/dev-util/scons/Manifest
+++ b/dev-util/scons/Manifest
@@ -1,3 +1,4 @@
+DIST SCons-4.3.0.tar.gz 3065509 BLAKE2B c36e816357f908d91d532cacde06ed75f57386bb9386bf751dd4ec65580894d8e04ad86380e421008374fa8d8c798323f9f8fb52d7e3d7d85140300a8b388def SHA512 200e087a0a3de7d92d7da6bdb7f2dc0f5d9ff4908a9d6aef2feab8cacfb2e480b7d88efca8f7a84bd39620db2efceaca14f68e6edbf494b1c28b80e35ed14f2c
 DIST scons-4.1.0-user.html 1454432 BLAKE2B 9fac4d7bfb4b25708bc4cc48d952beb030f88181af5dfee63090f726b1a82443c192c63ec5939869967ef8f374e8599321212971439fb265fb050b263681c9f8 SHA512 74f1349fa61dac9e66cfb863cb3126d07ce5f421b3e87d0220eb32bd5017ba8f6cf96eb8cb5ee45c39022671aa9f2d0408d4039970c438a69c002445aea510be
 DIST scons-4.1.0-user.pdf 2691364 BLAKE2B a910a09fa936d4d6f8dc967676d5aa009aac58a5a4566399b3ddc3512ac0259731e6c5399722fefadb3b79d8f89a5257e2e9bc2fa4d65697c8293ab995248d64 SHA512 64584731a59b59b78283be3876ecca91d742f83da2653d0de17922bec01e3c9cea1ce2ce3c8dc718597910ba86ed2c8aff0f7ae371bf763439b57a6d5484e1a7
 DIST scons-4.1.0.gh.tar.gz 5609204 BLAKE2B ede3d47a1ec652b9248681e26738073e9d01daab7ffeccc58f0fcadb79661e30edb9a35a511518e4a58459243acb027afd8fa5849b0f9e4bae451055f7b1a062 SHA512 f79b86bb09783767b3872cfb8efb665372714a604af2aaf3adc66eee63d3afe27bc6b2aab83813743c83f71c81c800d42842e916501787ba402ce2726dda9b44
@@ -6,3 +7,6 @@ DIST scons-4.2.0-user.html 1514655 BLAKE2B 036fd0e994d4a3dbf820e864c18f1dda2bb38
 DIST scons-4.2.0-user.pdf 2813567 BLAKE2B 2787c9dbecaefccc5f4df2bcccc474ee69e9883f9efa8358f6da00690d9f3fad48f7b696908cbb4cc8f3b9c195f86e11c81301d931783e463d7b2f3a5d528fc3 SHA512 3c36879af2b40190b7b68b162cb39e32e1d7ee01fe063dabe5404d616ab3c9972ebc8a6ce4c0b54a633cfc6825808f93207132ac9c9cd60d9e6ca28e864d5f16
 DIST scons-4.2.0.gh.tar.gz 5677165 BLAKE2B c298152db937810ab73afc304a9dc480c185ef0d6e86be5ec7f2022a7d1ed4d3df6ecc18148c3143d4e76a7ea0e50790db1224e66db68bace0759daba7f36a91 SHA512 138573f7203b52fad0527d8d88ceabe182273eff7e4b74125e0d7eda51c44408b07e2c702ee63214519392101d8bbb30013e6d34000eaeb530a816c17396de97
 DIST scons-4.2.0.tar.gz 3043008 BLAKE2B 3e69189e45b8ecc956419d3b7d4d36a78ffe219ff87a18d17c511434cf4306635c245107e7978d8f6b86f65bd2ac028fa3c76ab1212806a692d355d7d8036645 SHA512 91d77c858a888621d41432f39970547830997c8e28a851bbab7c0f181afda564abef321befaa33cbe6fd5fc4ac85fa80f2349994956edcc99c027cf7f526bbf0
+DIST scons-4.3.0-user.html 1529873 BLAKE2B 9f5b1bc0ab1d47769d8475ab86b1ae40cfc3643013c6e19692caac50dc37a306b6fd4654ec95c0ad6ad89531e2098253c62db679c9921680955b6dc11c4b247a SHA512 82e2de098c16a354ee3546a39f3ad923d8a40831d69d31266a795f7ce1a8d42e258e650f59f1910f0497d2d053eeb94aa1216c2a2108ca441844445e587490b2
+DIST scons-4.3.0-user.pdf 2851016 BLAKE2B 75282daad0c12da3afa71a0b34447545c2d93ab4fd0589395acd4a04242bb387b35ef2fb0469a57b96eda25258a28f18bd3bb693c6e2b02dc4e6b621a10f0f33 SHA512 c404508ca13e043f8a6717711294fa8cf4a513da7a09285fc6d73342d1f2b4fb0f718faa8fe6ee5b5ab92acf5839dfa05b86004ab0e0fcd7449a31fd5f6f003b
+DIST scons-4.3.0.gh.tar.gz 5704869 BLAKE2B a43b509b358d47ee73f7eb714d1239b4fdc33f38483c1a3e72c3a8082242d7bb1a4925958a2648782aa28f4c22a6e018aea8fec1139cf44c59e859f6f902d1d3 SHA512 2d91cf3045797c888d24db38d5b44576e56b271a2c4e9d28d7e16026451865f713990ff9e57fa3e0a1c19603c2d6adbbd1ba36d297c9dcce4db4139fcc51cd62

diff --git a/dev-util/scons/scons-4.3.0.ebuild b/dev-util/scons/scons-4.3.0.ebuild
new file mode 100644
index 000000000000..43c7b9958062
--- /dev/null
+++ b/dev-util/scons/scons-4.3.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 multiprocessing
+
+MY_P="SCons-${PV}"
+DESCRIPTION="Extensible Python-based build utility"
+HOMEPAGE="https://www.scons.org/"
+SRC_URI="
+	https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${MY_P}.tar.gz
+	doc? (
+		https://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
+		https://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 )"
+S="${WORKDIR}/${P}/src"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	test? (
+		dev-libs/libxml2[${PYTHON_USEDEP}]
+		dev-python/lxml[${PYTHON_USEDEP}]
+	)
+"
+
+PATCHES=(
+	# support env passthrough for Gentoo ebuilds
+	"${FILESDIR}"/scons-4.1.0-env-passthrough.patch
+	# respect CC, CXX, C*FLAGS, LDFLAGS by default
+	"${FILESDIR}"/scons-4.2.0-respect-cc-etc.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}/${MY_P}.tar.gz" || die
+}
+
+src_prepare() {
+	# apply patches relatively to top directory
+	cd "${WORKDIR}/${P}" || die
+	distutils-r1_src_prepare
+
+	if use test; then
+		local remove_tests=(
+			# TODO: does not respect PATH?
+			test/Clang
+			# broken
+			test/DVIPDF/DVIPDFFLAGS.py
+			test/Java/swig-dependencies.py
+			test/Java/multi-step.py
+			# broken by commas in date, sic!
+			test/option/option-v.py
+			test/Interactive/version.py
+		)
+
+		if ! use amd64 && ! use x86 ; then
+			# These tests are currently broken on arm and other non-amd64/x86 platforms
+			# Work seems to be ongoing in e.g. https://github.com/SCons/scons/pull/4022 to
+			# better plumb up the MSVC tests for alternative arches.
+			# Try again after 4.2.0.
+			# See also: https://pairlist4.pair.net/pipermail/scons-users/2020-November/008452.html
+			# bug #757534
+			remove_tests+=(
+				test/MSVS/vs-7.0-scc-files.py
+				test/MSVS/vs-7.0-scc-legacy-files.py
+				test/MSVS/vs-7.1-scc-files.py
+				test/MSVS/vs-7.1-scc-legacy-files.py
+				test/MSVS/vs-scc-files.py
+				test/MSVS/vs-scc-legacy-files.py
+			)
+		fi
+
+		rm -r "${remove_tests[@]}" || die
+	fi
+}
+
+python_test() {
+	local -x COLUMNS=80
+	# 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)")"
+
+	# 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() {
+	rm "${ED}"/usr/*.1 || die
+	distutils-r1_python_install_all
+
+	doman *.1
+	use doc && dodoc "${DISTDIR}/${P}"-user.{pdf,html}
+}


             reply	other threads:[~2021-12-25 21:52 UTC|newest]

Thread overview: 170+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-25 21:52 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-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-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=1640469117.e58bb6829e489bb87bd028bbdad91c9aa5d3fd81.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