Skip to content

Commit

Permalink
dev-util/scons: Bump to version 2.5.1
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Nov 4, 2016
1 parent ee77569 commit 9e98803
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-util/scons/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ DIST scons-2.4.1.tar.gz 638990 SHA256 8fc4f42928c69bcbb33e1be94b646f2c700b659693
DIST scons-2.5.0-user.html 1111090 SHA256 f79b154c256e0b74d5b9ac099c6ce4afd146253bf9e42a463028499987307adf SHA512 650be28d9be4322b51d31c001ffce339aa926dd3aa2b59c4e16e34151c26f0aa62f9d7a7407d0bcf1ae0e5f10e2e31a5adb66a7a189afac084101c6b0dc209e4 WHIRLPOOL ea702d23fb73423f019a507898fb388276595867afd453537caed74eea6baebfdcfd770a82593b8e525dcae9df1712aa1ff6a7bbc93a24fd2a8e3d8a07db218a
DIST scons-2.5.0-user.pdf 2527810 SHA256 bf389a8471801b554aba22e3a568e4e654db847c1815ef62a787d3d9f7f59e62 SHA512 f8572db6d2fb4e6c4814d785fcde0a2c0bbe647265bf8b8904c315cf46af60636f273843d757f630b9a70f33762cca7010c4dc475143be670ee1c008e6be9155 WHIRLPOOL 8208dfa62e1ee32ecb22610f20b1789a193c01a338835a617b3facbc875202e45ff67c911b6ed5f2b05f1c9b16bbcc222fc195dc9b9d4cbbbfd844133d67a182
DIST scons-2.5.0.tar.gz 619991 SHA256 eb296b47f23c20aec7d87d35cfa386d3508e01d1caa3040ea6f5bbab2292ace9 SHA512 abb0069976390182b77dbf6f20819c30ccf5fe9f58032eef7694ef408dceb63cfd1d1be69e7c0bced8a179297243b1a93924dd5064cd7c123ea118619bb53572 WHIRLPOOL db06c588de670cb253e551012a3a5abd6d304fb165c6578965f3a46b12cf65745c8e7fc03d4fbccfeba51519b86f624b7bf6417ccd65a8fcb11af812b118e882
DIST scons-2.5.1-user.html 1112180 SHA256 42c69adcc6f098e61ceb2bd1c12acbd35bf654c9341e2390d0d2191111f88c57 SHA512 5be58a6bba4b92fc51f0b271fd7e08b820dda10775aaa40a012c0e54d485e02ebf6d0d0be379bd90980a9b496e86a951c8760a4a90107fb3b8f422e874e46046 WHIRLPOOL 31b4ffee0b58bfb502c72f7e4120aeac0ddc5713bee976b18e8ac3972670ee5baa708da58bf76a9cf91b4cb9730e5a17fd775235b06cb9d4fe438a6e54f7712b
DIST scons-2.5.1-user.pdf 2522755 SHA256 dfba0c3800854010998a8184bdc829184d5965c6638d28dd9b552c50418fd1f6 SHA512 0bd7f67a1355ec33125bef87ce1bc352bda5b0befd9809673a427851c843191d74930b4ca9add705152393521f81d926595d173b0101013da216217dc5b64397 WHIRLPOOL cdc648537a6418a4ffac513d051030c6ec68812be4962aa2242ae85b99a4ecb08e209d03035eb90414a430b859bf94d5e5912efb0223ba7e0565428471470e03
DIST scons-2.5.1.tar.gz 620909 SHA256 0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2 SHA512 0e39f7f22a6c4ecc13edcd843b050754da5ded5371b3a8b406395f7b53dd280f95f804707eec271f8de3624d06f5b4ba3cc788dc4eb891cad224a163544f51b9 WHIRLPOOL b3e17c9b4d5b0b490132c6d15ffd4a32b879e2b6819f666fe29605074b0c2f48598ec0252ead76841b49c00942078b94fd43e834dea0acd317a8ac1e06554ad9
53 changes: 53 additions & 0 deletions dev-util/scons/scons-2.5.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
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 ~x64-solaris ~x86-solaris"
IUSE="doc"

#PATCHES=( )

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}
}

0 comments on commit 9e98803

Please sign in to comment.