commit:     2e98f2c42422f0340b7c46a7531719b6d949d8da
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  2 08:01:57 2014 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Tue Sep  2 08:01:57 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=2e98f2c4

Initial commit of python-modernize.

---
 dev-python/modernize/Manifest             |  1 +
 dev-python/modernize/modernize-0.3.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-python/modernize/Manifest b/dev-python/modernize/Manifest
new file mode 100644
index 0000000..5028d89
--- /dev/null
+++ b/dev-python/modernize/Manifest
@@ -0,0 +1 @@
+DIST modernize-0.3.tar.gz 11279 SHA256 
c64425be14ffcadeabfb5abbd592d3682b108feb3471603f2e3d352229a2f351 SHA512 
4769767e67b8444f5852595342062d22bec65b54a59b2cb64dc9ef12d773a8c6b3aa9db6a4419952acb0ec2faa7fc25bac2249b59a9aa196ae60cab5d063e7b4
 WHIRLPOOL 
7900578cf1bf08bfc554e37276ba1b688bebb17fc5e067f1137c179dd2d628f3d96c9f0127aaff803c8492d1f46654ae2be2528a44bdca5256926dbdf8c422bd

diff --git a/dev-python/modernize/modernize-0.3.ebuild 
b/dev-python/modernize/modernize-0.3.ebuild
new file mode 100644
index 0000000..200e8bc
--- /dev/null
+++ b/dev-python/modernize/modernize-0.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A hack on top of 2to3 for modernizing code for hybrid codebases."
+HOMEPAGE="https://github.com/python-modernize/python-modernize";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND=""
+
+# tests are not part of tarball at pypi
+RESTRICT="test"
+
+python_test() {
+       nosetests || die
+}

Reply via email to