summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-06-12 16:38:01 +0000
committerIan Delaney <idella4@gentoo.org>2013-06-12 16:38:01 +0000
commit488fe2256cd03feb83d55ed114d29b11232f9ae0 (patch)
tree847fe11f0246d6d892c70116d8f352cb5f97bbcc /dev-python/pycountry
parentStable for HPPA (bug #470534). (diff)
downloadgentoo-2-488fe2256cd03feb83d55ed114d29b11232f9ae0.tar.gz
gentoo-2-488fe2256cd03feb83d55ed114d29b11232f9ae0.tar.bz2
gentoo-2-488fe2256cd03feb83d55ed114d29b11232f9ae0.zip
revbump; migrate -> distutils-r1, remove old, support of all 'impls', add test phase
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/pycountry')
-rw-r--r--dev-python/pycountry/ChangeLog9
-rw-r--r--dev-python/pycountry/pycountry-0.14.7-r1.ebuild29
-rw-r--r--dev-python/pycountry/pycountry-0.14.7.ebuild22
3 files changed, 37 insertions, 23 deletions
diff --git a/dev-python/pycountry/ChangeLog b/dev-python/pycountry/ChangeLog
index 4a3e1f6e2921..518dbe198dfb 100644
--- a/dev-python/pycountry/ChangeLog
+++ b/dev-python/pycountry/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pycountry
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/ChangeLog,v 1.10 2013/06/01 12:13:34 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/ChangeLog,v 1.11 2013/06/12 16:38:01 idella4 Exp $
+
+*pycountry-0.14.7-r1 (12 Jun 2013)
+
+ 12 Jun 2013; Ian Delaney <idella4@gentoo.org> +pycountry-0.14.7-r1.ebuild,
+ -pycountry-0.14.7.ebuild:
+ revbump; migrate -> distutils-r1, remove old, support of all 'impls', add test
+ phase
01 Jun 2013; Pacho Ramos <pacho@gentoo.org> -pycountry-0.14.1.ebuild,
-pycountry-0.14.5.ebuild, metadata.xml:
diff --git a/dev-python/pycountry/pycountry-0.14.7-r1.ebuild b/dev-python/pycountry/pycountry-0.14.7-r1.ebuild
new file mode 100644
index 000000000000..5d02083e315d
--- /dev/null
+++ b/dev-python/pycountry/pycountry-0.14.7-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/pycountry-0.14.7-r1.ebuild,v 1.1 2013/06/12 16:38:01 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy2_0 )
+
+inherit distutils-r1
+
+DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
+HOMEPAGE="http://pypi.python.org/pypi/pycountry"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+DOCS=( HISTORY.txt TODO.txt )
+
+python_test() {
+ # nosetests give coverage output of each run
+ pushd "${BUILD_DIR}"/lib > /dev/null
+ nosetests ${PN}/tests.py || die
+}
diff --git a/dev-python/pycountry/pycountry-0.14.7.ebuild b/dev-python/pycountry/pycountry-0.14.7.ebuild
deleted file mode 100644
index cdbc64051506..000000000000
--- a/dev-python/pycountry/pycountry-0.14.7.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/pycountry-0.14.7.ebuild,v 1.1 2012/11/07 02:25:07 radhermit Exp $
-
-EAPI="4"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils
-
-DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
-HOMEPAGE="http://pypi.python.org/pypi/pycountry"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip
- dev-python/setuptools"
-
-DOCS="HISTORY.txt TODO.txt"