1 |
arfrever 10/01/28 15:44:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pysvn-1.7.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 15214-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 dev-python/pysvn/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysvn/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysvn/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysvn/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 7 Nov 2009 20:10:08 -0000 1.6 |
23 |
+++ ChangeLog 28 Jan 2010 15:44:12 -0000 1.7 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/pysvn |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.6 2009/11/07 20:10:08 arfrever Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.7 2010/01/28 15:44:12 arfrever Exp $ |
30 |
+ |
31 |
+*pysvn-1.7.2 (28 Jan 2010) |
32 |
+ |
33 |
+ 28 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ +pysvn-1.7.2.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
07 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
38 |
pysvn-1.7.1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/pysvn/pysvn-1.7.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysvn/pysvn-1.7.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysvn/pysvn-1.7.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pysvn-1.7.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/pysvn-1.7.2.ebuild,v 1.1 2010/01/28 15:44:12 arfrever Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
|
56 |
inherit eutils multilib python toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Object-oriented python bindings for subversion" |
59 |
HOMEPAGE="http://pysvn.tigris.org/" |
60 |
SRC_URI="http://pysvn.barrys-emacs.org/source_kits/${P}.tar.gz" |
61 |
|
62 |
LICENSE="Apache-1.1" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-freebsd ~ppc-macos" |
65 |
IUSE="doc examples" |
66 |
|
67 |
DEPEND="dev-util/subversion |
68 |
>=dev-python/pycxx-5.5.0" |
69 |
RDEPEND="${DEPEND}" |
70 |
|
71 |
src_prepare() { |
72 |
# Skip test test-06 if executed as root to avoid failure. |
73 |
epatch "${FILESDIR}/${PN}-1.7.1-skip_root_test.patch" |
74 |
|
75 |
# Don't use internal copy of dev-python/pycxx. |
76 |
rm -fr Import |
77 |
|
78 |
python_copy_sources --no-link |
79 |
|
80 |
preparation() { |
81 |
cd Source |
82 |
if has "${PYTHON_ABI}" 2.4 2.5; then |
83 |
"$(PYTHON)" setup.py backport || die "Backport failed" |
84 |
fi |
85 |
} |
86 |
python_execute_function -s preparation |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
configuration() { |
91 |
cd Source |
92 |
"$(PYTHON)" setup.py configure --apr-inc-dir="${EPREFIX}/usr/include/apr-1" --svn-root-dir="${EPREFIX}/usr" || die "Configuration failed with Python {PYTHON_ABI}" |
93 |
|
94 |
sed -e 's:^\(CCFLAGS=\)\(.*\):\1$(CFLAGS) \2:g' \ |
95 |
-e 's:^\(CCCFLAGS=\)\(.*\):\1$(CXXFLAGS) \2:g' \ |
96 |
-e "/^CCC=/s:g++:$(tc-getCXX):" \ |
97 |
-e "/^CC=/s:gcc:$(tc-getCC):" \ |
98 |
-e "/^LDSHARED=/s:g++:$(tc-getCXX):" \ |
99 |
-i Makefile \ |
100 |
|| die "sed failed in Makefile" |
101 |
} |
102 |
python_execute_function -s configuration |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
building() { |
107 |
cd Source |
108 |
emake |
109 |
} |
110 |
python_execute_function -s building |
111 |
} |
112 |
|
113 |
src_test() { |
114 |
testing() { |
115 |
cd Source |
116 |
emake test || die "test-pysvn.so failed with Python ${PYTHON_ABI}" |
117 |
emake -C ../Tests || die "Tests failed with Python ${PYTHON_ABI}" |
118 |
} |
119 |
python_execute_function -s testing |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
installation() { |
124 |
cd Source/pysvn |
125 |
exeinto "$(python_get_sitedir)/pysvn" |
126 |
doexe _pysvn*$(get_modname) || die "doexe failed" |
127 |
insinto "$(python_get_sitedir)/pysvn" |
128 |
doins __init__.py || die "doins failed" |
129 |
} |
130 |
python_execute_function -s installation |
131 |
|
132 |
if use doc; then |
133 |
dohtml -r Docs/ || die "dohtml failed" |
134 |
fi |
135 |
|
136 |
if use examples; then |
137 |
docinto examples |
138 |
dodoc Examples/Client/* || die "dodoc examples failed" |
139 |
fi |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
python_mod_optimize pysvn |
144 |
} |
145 |
|
146 |
pkg_postrm() { |
147 |
python_mod_cleanup pysvn |
148 |
} |