1 |
idella4 14/01/28 03:48:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: epsilon-0.7.0.ebuild |
5 |
Log: |
6 |
bump; drop py2.6 (fails some tests), update deps, add IUSE test + testrunner dep + test phase |
7 |
|
8 |
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.31 dev-python/epsilon/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/epsilon/ChangeLog?rev=1.31&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/epsilon/ChangeLog?rev=1.31&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/epsilon/ChangeLog?r1=1.30&r2=1.31 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v |
20 |
retrieving revision 1.30 |
21 |
retrieving revision 1.31 |
22 |
diff -u -r1.30 -r1.31 |
23 |
--- ChangeLog 9 Aug 2013 15:42:55 -0000 1.30 |
24 |
+++ ChangeLog 28 Jan 2014 03:48:16 -0000 1.31 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/epsilon |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v 1.30 2013/08/09 15:42:55 mgorny Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v 1.31 2014/01/28 03:48:16 idella4 Exp $ |
31 |
+ |
32 |
+*epsilon-0.7.0 (28 Jan 2014) |
33 |
+ |
34 |
+ 28 Jan 2014; Ian Delaney <idella4@g.o> +epsilon-0.7.0.ebuild: |
35 |
+ bump; drop py2.6 (fails some tests), update deps, add IUSE test + testrunner |
36 |
+ dep + test phase |
37 |
|
38 |
*epsilon-0.6.0-r2 (09 Aug 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/epsilon/epsilon-0.7.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/epsilon/epsilon-0.7.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/epsilon/epsilon-0.7.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: epsilon-0.7.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/epsilon-0.7.0.ebuild,v 1.1 2014/01/28 03:48:16 idella4 Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
|
57 |
inherit twisted-r1 eutils |
58 |
|
59 |
DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class" |
60 |
HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon http://pypi.python.org/pypi/Epsilon" |
61 |
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz" |
62 |
|
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="test" |
65 |
|
66 |
RDEPEND=">=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}] |
67 |
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]" |
68 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
69 |
test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
70 |
${DEPEND}" |
71 |
|
72 |
PATCHES=( "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" ) |
73 |
|
74 |
# epsilon doesn't install any plugins, so override the default |
75 |
TWISTED_PLUGINS=() |
76 |
|
77 |
python_prepare_all() { |
78 |
# Rename to avoid file-collisions |
79 |
mv bin/benchmark bin/epsilon-benchmark |
80 |
sed -i \ |
81 |
-e "s#bin/benchmark#bin/epsilon-benchmark#" \ |
82 |
setup.py || die "sed failed" |
83 |
|
84 |
#These test are removed upstream |
85 |
rm -f epsilon/test/test_sslverify.py epsilon/sslverify.py || die |
86 |
#See bug 357157 comment 5 for Ian Delaney's explanation of this fix |
87 |
sed -e 's:month) 2004 9:month) 2004 14:' \ |
88 |
-i epsilon/test/test_extime.py || die |
89 |
# Release tests need DivmodCombinator. |
90 |
rm -f epsilon/test/test_release.py* epsilon/release.py || die |
91 |
|
92 |
distutils-r1_python_prepare_all |
93 |
} |
94 |
|
95 |
python_install_all() { |
96 |
dodoc NAME.txt NEWS.txt |
97 |
|
98 |
distutils-r1_python_install_all |
99 |
} |
100 |
|
101 |
#Lets run some tests, having prepped them |
102 |
python_test() { |
103 |
# No testrunner seems stipulated within the source; pytest and nosetests both work |
104 |
nosetests ${PN}/test || die "testsuite failed under ${EPYTHON}" |
105 |
} |