1 |
arfrever 11/02/26 14:26:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cherrypy-3.2.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha25_p8/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.41 dev-python/cherrypy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cherrypy/ChangeLog?rev=1.41&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cherrypy/ChangeLog?rev=1.41&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cherrypy/ChangeLog?r1=1.40&r2=1.41 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v |
20 |
retrieving revision 1.40 |
21 |
retrieving revision 1.41 |
22 |
diff -u -r1.40 -r1.41 |
23 |
--- ChangeLog 14 Nov 2010 21:08:12 -0000 1.40 |
24 |
+++ ChangeLog 26 Feb 2011 14:26:46 -0000 1.41 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/cherrypy |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.40 2010/11/14 21:08:12 arfrever Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.41 2011/02/26 14:26:46 arfrever Exp $ |
31 |
+ |
32 |
+*cherrypy-3.2.0 (26 Feb 2011) |
33 |
+ |
34 |
+ 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
35 |
+ +cherrypy-3.2.0.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
*cherrypy-3.2.0_rc1 (14 Nov 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/cherrypy/cherrypy-3.2.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cherrypy/cherrypy-3.2.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cherrypy/cherrypy-3.2.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cherrypy-3.2.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/cherrypy-3.2.0.ebuild,v 1.1 2011/02/26 14:26:46 arfrever Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
DISTUTILS_SRC_TEST="nosetests" |
57 |
|
58 |
inherit distutils |
59 |
|
60 |
MY_P="CherryPy-${PV}" |
61 |
|
62 |
DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" |
63 |
HOMEPAGE="http://www.cherrypy.org/ http://pypi.python.org/pypi/CherryPy" |
64 |
SRC_URI="http://download.cherrypy.org/${PN}/${PV}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
69 |
IUSE="doc" |
70 |
|
71 |
DEPEND="dev-python/setuptools" |
72 |
RDEPEND="" |
73 |
|
74 |
S="${WORKDIR}/${MY_P}" |
75 |
|
76 |
src_prepare() { |
77 |
distutils_src_prepare |
78 |
sed -i \ |
79 |
-e 's/"cherrypy.tutorial", //' \ |
80 |
-e "/('cherrypy\/tutorial',/,/),/d" \ |
81 |
setup.py || die "sed failed" |
82 |
} |
83 |
|
84 |
src_test() { |
85 |
testing() { |
86 |
PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests -P -s py$(python_get_version --major)/cherrypy/test |
87 |
} |
88 |
python_execute_function testing |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
distutils_src_install |
93 |
|
94 |
delete_tests() { |
95 |
rm -fr "${ED}$(python_get_sitedir)/cherrypy/test" |
96 |
} |
97 |
python_execute_function -q delete_tests |
98 |
|
99 |
if use doc; then |
100 |
insinto /usr/share/doc/${PF} |
101 |
# py2/cherrypy/tutorial and py3/cherrypy/tutorial are identical. |
102 |
doins -r py3/cherrypy/tutorial || die "Installation of documentation failed" |
103 |
fi |
104 |
} |