diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-22 10:46:57 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-22 10:54:02 +0200 |
commit | 9ebd621fed933f572fe946b97848ead1fe028319 (patch) | |
tree | 1ce0229eac4de5f10368a6ced9594ae3e0443ba4 /dev-util/scons | |
parent | dev-ros: Add metadata.xml for the category. (diff) | |
download | gentoo-9ebd621fed933f572fe946b97848ead1fe028319.tar.gz gentoo-9ebd621fed933f572fe946b97848ead1fe028319.tar.bz2 gentoo-9ebd621fed933f572fe946b97848ead1fe028319.zip |
dev-util/scons: Bump to version 2.4.0
Package-Manager: portage-2.2.21
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util/scons')
-rw-r--r-- | dev-util/scons/Manifest | 3 | ||||
-rw-r--r-- | dev-util/scons/scons-2.4.0.ebuild | 53 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest index 43f02d096ec4..ca59c03423a3 100644 --- a/dev-util/scons/Manifest +++ b/dev-util/scons/Manifest @@ -13,3 +13,6 @@ DIST scons-2.3.4.tar.gz 621953 SHA256 4b57d72066fed3b6ff65a7dd9f73633c9b1c09f875 DIST scons-2.3.5-user.html 1280097 SHA256 2724fe17e3901f6c70dc190e7a215a86e3c103f90393588480f0adb7c2c9a9bb SHA512 e2c80beacd03f4071e33f8084e499e54c8529e68ec02b972d0d0944b6e096437fd70f59339ebba652cc5539475e1b4eb8b80e4a3d188413ca5181af9ae5b70d3 WHIRLPOOL d73ef9a5f1cbf9a0cf70124b224a50b7d4ca5d7a35bddb6b88f3fa14ba5fbee1e2721ad9179698b5cd45f24bf91815bc15e4c0d40d21b34a761ec68243a1fc74 DIST scons-2.3.5-user.pdf 2505997 SHA256 4e157b75b49b6e15f339811102b8e3e8af761ed197a6fe0df01c535ecb16f758 SHA512 137ab2d3b1cab6821f2d8a8fde33406e2a7d46a4c26eec9de1073d3c03f49e1d485ae7884ed3cd2e41a0e3d2ef457e103d782dc1deb01a280c48e4f5e7e68f1e WHIRLPOOL f5394cc86930ec60259af01232948cd10aa7c240bf75262d622a94f0b2311bdc70835921b8ff7a5e2091adc035ce56ad1c0b69c22def1305082af3f6a3aaf802 DIST scons-2.3.5.tar.gz 508684 SHA256 5b72f959cafbef81f408b503bc8e8d5cfc39f41fb5b629e9ff13bdf20a3eefe2 SHA512 b838271a95680d53524a7cf7770cdad7151ba95b5ccf36104a37679cae14d470fa977dcabbe90b2cf0432da570cae80eeaccefb38df1e9a6a1325b4b159b2f99 WHIRLPOOL 54bbbb630c364db93115a1c675ba815328666b6d10648b6742503310fe1fecb6bdff96803bdc6f0aae365e3ed264fa34f6477f300a0733aa1f1289ceee20ad41 +DIST scons-2.4.0-user.html 1100493 SHA256 df791b4fcb5029ae101a18be013ffd81436065f517984a82d9a95de468075e45 SHA512 d0ba6b089b1fc7755750e025cdcbc3f0e6e780551b33f9069e559e933b1334e55f3c89260a8c77070c8893d4eff86d5689e7597b49ae568921dc514ed9d7d737 WHIRLPOOL dcd016f92575afec9e59ecc0f1214a0f9592dada7630df31e2ce20662428cb1184c10fee23ba4f5db7ae28b23d3c0ff130d5be6415750c67ade543d7bc9ad0af +DIST scons-2.4.0-user.pdf 2504142 SHA256 a48a47639dbfca0f891245fd23647e87f0574e3130c3c737f8bc42ddd9c15bf7 SHA512 3ed8e41cb6b021be3a35c10b95ef097f9c540d8887d8e956b5c08e7e69ef97c81a241d81b6b3ac04cca8d42546613858020212b57abde6aaa07a0f22e1b5b498 WHIRLPOOL 6e00e86a4cc7c329460b05d42faefaa4cc9c2b8e418592894ee5678ce001f55548b8385dbae83e7d5bc62fe544362d68a093f9c85cbc71c0bc6dd53c6746411f +DIST scons-2.4.0.tar.gz 632723 SHA256 1892f472934f1f5947d0e4c5d01e3b992641425553faab4062ddb8e3504c1fb2 SHA512 16a392d977fb1fb54b10d43b31ef2404c3578b4052982605a5bad7fe24c9bc9365edbb79c3931a2a9359cdb54b3aa1f462af8f2ebe729806709c89fa8bf3d36c WHIRLPOOL d72984397c2a91f61aad23a867f5f34c483e203d17e12bf29ba109e1109171bbe55fce6dea306bb9740f1587b22fe67a156c41c71ab6306ef4f1ca7ac2ef3c4b diff --git a/dev-util/scons/scons-2.4.0.ebuild b/dev-util/scons/scons-2.4.0.ebuild new file mode 100644 index 000000000000..c0a47a14efb1 --- /dev/null +++ b/dev-util/scons/scons-2.4.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 pypy ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Extensible Python-based build utility" +HOMEPAGE="http://www.scons.org/" +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 )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="doc" + +PATCHES=( "${FILESDIR}/${PN}-2.1.0-jython.patch" ) + +python_prepare_all() { + # https://bugs.gentoo.org/show_bug.cgi?id=361061 + sed -i -e "s|/usr/local/bin:/opt/bin:/bin:/usr/bin|${EPREFIX}/usr/local/bin:${EPREFIX}/opt/bin:${EPREFIX}/bin:${EPREFIX}/usr/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin|g" engine/SCons/Platform/posix.py || die + # and make sure the build system doesn't "force" /usr/local/ :( + sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --standard-lib \ + --no-version-script \ + --install-data "${EPREFIX}"/usr/share +} + +python_install_all() { + local DOCS=( {CHANGES,README,RELEASE}.txt ) + distutils-r1_python_install_all + + use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html} +} + +src_install() { + distutils-r1_src_install + + # Build system does not use build_scripts properly. + # http://scons.tigris.org/issues/show_bug.cgi?id=2891 + python_replicate_script "${ED}"usr/bin/scons{,ign,-time} +} |