Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/scons: scons-2.3.2.ebuild ChangeLog
Date: Wed, 09 Jul 2014 08:15:10
Message-Id: 20140709081504.ABAB12004E@flycatcher.gentoo.org
1 patrick 14/07/09 08:15:04
2
3 Modified: ChangeLog
4 Added: scons-2.3.2.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.152 dev-util/scons/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.152&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.152&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?r1=1.151&r2=1.152
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v
20 retrieving revision 1.151
21 retrieving revision 1.152
22 diff -u -r1.151 -r1.152
23 --- ChangeLog 10 Jun 2014 00:48:55 -0000 1.151
24 +++ ChangeLog 9 Jul 2014 08:15:04 -0000 1.152
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/scons
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.151 2014/06/10 00:48:55 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.152 2014/07/09 08:15:04 patrick Exp $
30 +
31 +*scons-2.3.2 (09 Jul 2014)
32 +
33 + 09 Jul 2014; Patrick Lauer <patrick@g.o> +scons-2.3.2.ebuild:
34 + Bump
35
36 10 Jun 2014; Mike Frysinger <vapier@g.o> scons-2.3.0.ebuild:
37 Mark arm64/m68k/s390/sh stable.
38
39
40
41 1.1 dev-util/scons/scons-2.3.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-2.3.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-2.3.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scons-2.3.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.2.ebuild,v 1.1 2014/07/09 08:15:04 patrick 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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~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}/${PN}-2.1.0-jython.patch"
72 )
73
74 # https://bugs.gentoo.org/show_bug.cgi?id=361061
75 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
76 # and make sure the build system doesn't "force" /usr/local/ :(
77 sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die
78
79 distutils-r1_python_prepare_all
80 }
81
82 python_install() {
83 distutils-r1_python_install \
84 --standard-lib \
85 --no-version-script \
86 --install-data "${EPREFIX}"/usr/share
87 }
88
89 python_install_all() {
90 local DOCS=( {CHANGES,README,RELEASE}.txt )
91 distutils-r1_python_install_all
92
93 use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html}
94 }
95
96 src_install() {
97 distutils-r1_src_install
98
99 # Build system does not use build_scripts properly.
100 # http://scons.tigris.org/issues/show_bug.cgi?id=2891
101 python_replicate_script "${ED}"usr/bin/scons{,ign,-time}
102 }