1 |
arfrever 10/06/25 23:05:57 |
2 |
|
3 |
Modified: scons-1.3.0_p20100501.ebuild ChangeLog |
4 |
Log: |
5 |
Use Python 2. |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-util/scons/scons-1.3.0_p20100501.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: scons-1.3.0_p20100501.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- scons-1.3.0_p20100501.ebuild 19 May 2010 20:40:14 -0000 1.1 |
22 |
+++ scons-1.3.0_p20100501.ebuild 25 Jun 2010 23:05:57 -0000 1.2 |
23 |
@@ -1,40 +1,54 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild,v 1.1 2010/05/19 20:40:14 nelchael Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.3.0_p20100501.ebuild,v 1.2 2010/06/25 23:05:57 arfrever Exp $ |
28 |
|
29 |
-EAPI=2 |
30 |
+EAPI="3" |
31 |
+PYTHON_DEPEND="2" |
32 |
+PYTHON_USE_WITH="threads" |
33 |
|
34 |
-inherit eutils distutils |
35 |
+inherit distutils eutils |
36 |
|
37 |
MY_PV="${PV/_p/.d}" |
38 |
DOC_PV="${PV/_p*/}" |
39 |
|
40 |
DESCRIPTION="Extensible Python-based build utility" |
41 |
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz |
42 |
- doc? ( http://www.scons.org/doc/${DOC_PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf |
43 |
- http://www.scons.org/doc/${DOC_PV}/HTML/${PN}-user.html -> ${P}-user.html )" |
44 |
- |
45 |
HOMEPAGE="http://www.scons.org/" |
46 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz |
47 |
+ doc? ( |
48 |
+ http://www.scons.org/doc/${DOC_PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf |
49 |
+ http://www.scons.org/doc/${DOC_PV}/HTML/${PN}-user.html -> ${P}-user.html |
50 |
+ )" |
51 |
|
52 |
-SLOT="0" |
53 |
LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
56 |
IUSE="doc" |
57 |
-DEPEND=">=dev-lang/python-2.5[threads]" |
58 |
-RDEPEND="${DEPEND}" |
59 |
-DOCS="RELEASE.txt CHANGES.txt" |
60 |
+ |
61 |
+DEPEND="" |
62 |
+RDEPEND="" |
63 |
+ |
64 |
+DOCS="CHANGES.txt RELEASE.txt" |
65 |
|
66 |
S="${WORKDIR}/${PN}-${MY_PV}" |
67 |
|
68 |
+pkg_setup() { |
69 |
+ python_set_active_version 2 |
70 |
+ python_pkg_setup |
71 |
+} |
72 |
+ |
73 |
src_prepare() { |
74 |
- epatch "${FILESDIR}"/scons-1.2.0-popen.patch |
75 |
+ distutils_src_prepare |
76 |
+ epatch "${FILESDIR}/scons-1.2.0-popen.patch" |
77 |
} |
78 |
|
79 |
src_install () { |
80 |
distutils_src_install |
81 |
- # move man pages from /usr/man to /usr/share/man |
82 |
+ python_convert_shebangs -r 2 "${ED}" |
83 |
+ |
84 |
+ # Move man pages from /usr/man to /usr/share/man |
85 |
dodir /usr/share |
86 |
- mv "${D}"/usr/man "${D}"/usr/share |
87 |
+ mv "${ED}usr/man" "${ED}usr/share" |
88 |
+ |
89 |
if use doc; then |
90 |
insinto /usr/share/doc/${PF} |
91 |
doins "${DISTDIR}"/${P}-user.{pdf,html} |
92 |
|
93 |
|
94 |
|
95 |
1.78 dev-util/scons/ChangeLog |
96 |
|
97 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.78&view=markup |
98 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?rev=1.78&content-type=text/plain |
99 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/scons/ChangeLog?r1=1.77&r2=1.78 |
100 |
|
101 |
Index: ChangeLog |
102 |
=================================================================== |
103 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v |
104 |
retrieving revision 1.77 |
105 |
retrieving revision 1.78 |
106 |
diff -u -r1.77 -r1.78 |
107 |
--- ChangeLog 19 May 2010 20:40:14 -0000 1.77 |
108 |
+++ ChangeLog 25 Jun 2010 23:05:57 -0000 1.78 |
109 |
@@ -1,6 +1,10 @@ |
110 |
# ChangeLog for dev-util/scons |
111 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
112 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.77 2010/05/19 20:40:14 nelchael Exp $ |
113 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.78 2010/06/25 23:05:57 arfrever Exp $ |
114 |
+ |
115 |
+ 25 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
116 |
+ scons-1.3.0_p20100501.ebuild: |
117 |
+ Use Python 2. |
118 |
|
119 |
*scons-1.3.0_p20100501 (19 May 2010) |