Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/scons: ChangeLog scons-2.3.0.ebuild
Date: Wed, 28 Aug 2013 00:54:07
Message-Id: 20130828005404.24CF72004C@flycatcher.gentoo.org
1 radhermit 13/08/28 00:54:04
2
3 Modified: ChangeLog
4 Added: scons-2.3.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.130 dev-util/scons/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.130&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.130&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?r1=1.129&r2=1.130
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v
20 retrieving revision 1.129
21 retrieving revision 1.130
22 diff -u -r1.129 -r1.130
23 --- ChangeLog 21 Feb 2013 03:14:39 -0000 1.129
24 +++ ChangeLog 28 Aug 2013 00:54:03 -0000 1.130
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/scons
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.129 2013/02/21 03:14:39 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.130 2013/08/28 00:54:03 radhermit Exp $
30 +
31 +*scons-2.3.0 (28 Aug 2013)
32 +
33 + 28 Aug 2013; Tim Harder <radhermit@g.o> +scons-2.3.0.ebuild:
34 + Version bump.
35
36 21 Feb 2013; Zac Medico <zmedico@g.o> scons-2.2.0-r1.ebuild:
37 Add ~arm-linux keyword.
38
39
40
41 1.1 dev-util/scons/scons-2.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-2.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-2.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scons-2.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-2.3.0.ebuild,v 1.1 2013/08/28 00:54:03 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_6,2_7} )
54 PYTHON_REQ_USE="threads(+)"
55
56 inherit distutils-r1
57
58 DESCRIPTION="Extensible Python-based build utility"
59 HOMEPAGE="http://www.scons.org/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
61 doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
62 http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
67 IUSE="doc"
68
69 python_prepare_all() {
70 local PATCHES=(
71 "${FILESDIR}/scons-1.2.0-popen.patch"
72 "${FILESDIR}/${PN}-2.1.0-jython.patch"
73 )
74
75 # https://bugs.gentoo.org/show_bug.cgi?id=361061
76 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
77 # and make sure the build system doesn't "force" /usr/local/ :(
78 sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die
79
80 distutils-r1_python_prepare_all
81 }
82
83 python_install() {
84 distutils-r1_python_install \
85 --standard-lib \
86 --no-version-script \
87 --install-data "${EPREFIX}"/usr/share
88 }
89
90 python_install_all() {
91 local DOCS=( {CHANGES,README,RELEASE}.txt )
92 distutils-r1_python_install_all
93
94 use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html}
95
96 # Build system does not use build_scripts properly.
97 # http://scons.tigris.org/issues/show_bug.cgi?id=2891
98 python_replicate_script "${ED}"usr/bin/scons{,ign,-time}
99 }