/[gentoo-x86]/dev-python/pycountry/pycountry-0.14.7-r1.ebuild
Gentoo

Contents of /dev-python/pycountry/pycountry-0.14.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 1 04:29:11 2014 UTC (4 years, 9 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/pycountry-0.14.7-r1.ebuild,v 1.2 2013/09/05 18:46:07 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
11 HOMEPAGE="http://pypi.python.org/pypi/pycountry"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="test"
18
19 DEPEND="app-arch/unzip
20 dev-python/setuptools[${PYTHON_USEDEP}]
21 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
22
23 DOCS=( HISTORY.txt TODO.txt )
24
25 python_test() {
26 # nosetests give coverage output of each run
27 pushd "${BUILD_DIR}"/lib > /dev/null
28 nosetests ${PN}/tests.py || die
29 }

  ViewVC Help
Powered by ViewVC 1.1.20