1 |
commit: 2e98f2c42422f0340b7c46a7531719b6d949d8da |
2 |
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 2 08:01:57 2014 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 2 08:01:57 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=2e98f2c4 |
7 |
|
8 |
Initial commit of python-modernize. |
9 |
|
10 |
--- |
11 |
dev-python/modernize/Manifest | 1 + |
12 |
dev-python/modernize/modernize-0.3.ebuild | 29 +++++++++++++++++++++++++++++ |
13 |
2 files changed, 30 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/modernize/Manifest b/dev-python/modernize/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..5028d89 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/modernize/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST modernize-0.3.tar.gz 11279 SHA256 c64425be14ffcadeabfb5abbd592d3682b108feb3471603f2e3d352229a2f351 SHA512 4769767e67b8444f5852595342062d22bec65b54a59b2cb64dc9ef12d773a8c6b3aa9db6a4419952acb0ec2faa7fc25bac2249b59a9aa196ae60cab5d063e7b4 WHIRLPOOL 7900578cf1bf08bfc554e37276ba1b688bebb17fc5e067f1137c179dd2d628f3d96c9f0127aaff803c8492d1f46654ae2be2528a44bdca5256926dbdf8c422bd |
22 |
|
23 |
diff --git a/dev-python/modernize/modernize-0.3.ebuild b/dev-python/modernize/modernize-0.3.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..200e8bc |
26 |
--- /dev/null |
27 |
+++ b/dev-python/modernize/modernize-0.3.ebuild |
28 |
@@ -0,0 +1,29 @@ |
29 |
+# Copyright 1999-2014 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Header: $ |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A hack on top of 2to3 for modernizing code for hybrid codebases." |
40 |
+HOMEPAGE="https://github.com/python-modernize/python-modernize" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
50 |
+RDEPEND="" |
51 |
+ |
52 |
+# tests are not part of tarball at pypi |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+python_test() { |
56 |
+ nosetests || die |
57 |
+} |