1 |
arfrever 09/10/01 02:19:14 |
2 |
|
3 |
Modified: pastedeploy-1.3.3.ebuild ChangeLog |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14469-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 dev-python/pastedeploy/pastedeploy-1.3.3.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: pastedeploy-1.3.3.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- pastedeploy-1.3.3.ebuild 4 Jul 2009 16:34:00 -0000 1.2 |
22 |
+++ pastedeploy-1.3.3.ebuild 1 Oct 2009 02:19:13 -0000 1.3 |
23 |
@@ -1,32 +1,33 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v 1.2 2009/07/04 16:34:00 arfrever Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v 1.3 2009/10/01 02:19:13 arfrever Exp $ |
28 |
|
29 |
-NEED_PYTHON=2.4 |
30 |
+EAPI="2" |
31 |
+SUPPORT_PYTHON_ABIS="1" |
32 |
|
33 |
inherit eutils distutils multilib |
34 |
|
35 |
-KEYWORDS="~amd64 ~x86" |
36 |
- |
37 |
MY_PN=PasteDeploy |
38 |
MY_P=${MY_PN}-${PV} |
39 |
|
40 |
DESCRIPTION="Load, configure, and compose WSGI applications and servers" |
41 |
HOMEPAGE="http://pythonpaste.org/deploy/" |
42 |
SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
43 |
+ |
44 |
LICENSE="MIT" |
45 |
SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
IUSE="doc test" |
48 |
|
49 |
RDEPEND="" |
50 |
DEPEND="dev-python/setuptools |
51 |
doc? ( dev-python/buildutils dev-python/pygments dev-python/pudge ) |
52 |
test? ( dev-python/nose dev-python/py )" |
53 |
+RESTRICT_PYTHON_ABIS="3.*" |
54 |
|
55 |
-S=${WORKDIR}/${MY_P} |
56 |
+S="${WORKDIR}/${MY_P}" |
57 |
|
58 |
PYTHON_MODNAME="paste/deploy" |
59 |
-RESTRICT="test" |
60 |
|
61 |
src_compile() { |
62 |
distutils_src_compile |
63 |
@@ -36,20 +37,17 @@ |
64 |
fi |
65 |
} |
66 |
|
67 |
-src_install() { |
68 |
- distutils_src_install |
69 |
- use doc && dohtml -r docs/html/* |
70 |
-} |
71 |
- |
72 |
src_test() { |
73 |
- distutils_python_version |
74 |
+ # Delete broken test. |
75 |
+ rm -f tests/test_config_middleware.py |
76 |
|
77 |
- # Tests can't import paste from site-packages |
78 |
- # So we copy pastedeploy and paste under T. |
79 |
- #Â FIXME This doesn't work. Couldn't figure out why -hawking. |
80 |
- cp -pPR build/lib/paste "${T}" || die "couldn't copy pastedeploy." |
81 |
- cp -pPR /usr/$(get_libdir)/python${PYVER}/site-packages/paste/* \ |
82 |
- "${T}"/paste/ || die "couldn't copy paste." |
83 |
+ testing() { |
84 |
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} |
85 |
+ } |
86 |
+ python_execute_function testing |
87 |
+} |
88 |
|
89 |
- PYTHONPATH="${T}" "${python}" setup.py nosetests || die "tests failed" |
90 |
+src_install() { |
91 |
+ distutils_src_install |
92 |
+ use doc && dohtml -r docs/html/* |
93 |
} |
94 |
|
95 |
|
96 |
|
97 |
1.7 dev-python/pastedeploy/ChangeLog |
98 |
|
99 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?rev=1.7&view=markup |
100 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?rev=1.7&content-type=text/plain |
101 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?r1=1.6&r2=1.7 |
102 |
|
103 |
Index: ChangeLog |
104 |
=================================================================== |
105 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v |
106 |
retrieving revision 1.6 |
107 |
retrieving revision 1.7 |
108 |
diff -u -r1.6 -r1.7 |
109 |
--- ChangeLog 4 Jul 2009 16:34:00 -0000 1.6 |
110 |
+++ ChangeLog 1 Oct 2009 02:19:14 -0000 1.7 |
111 |
@@ -1,6 +1,10 @@ |
112 |
# ChangeLog for dev-python/pastedeploy |
113 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
114 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.6 2009/07/04 16:34:00 arfrever Exp $ |
115 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.7 2009/10/01 02:19:14 arfrever Exp $ |
116 |
+ |
117 |
+ 01 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
118 |
+ pastedeploy-1.3.3.ebuild: |
119 |
+ Set SUPPORT_PYTHON_ABIS. |
120 |
|
121 |
04 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
122 |
pastedeploy-1.3.3.ebuild: |