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

Contents of /dev-python/pycountry/pycountry-0.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Sep 2 03:33:33 2013 UTC (4 years, 8 months ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0/cvs/Linux x86_64, unsigned Manifest commit)

1 patrick 1.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.18.ebuild,v 1.1 2013/08/10 09:48:06 patrick Exp $
4    
5     EAPI=5
6     # pypy pennding actioning of bug filed upstream
7     PYTHON_COMPAT=( python{2_6,2_7,3_3} )
8    
9     inherit distutils-r1
10    
11     DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
12     HOMEPAGE="http://pypi.python.org/pypi/pycountry"
13     SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE="test"
19    
20     DEPEND="app-arch/unzip
21     dev-python/setuptools[${PYTHON_USEDEP}]
22     test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
23    
24     DOCS=( HISTORY.txt README TODO.txt )
25    
26     python_test() {
27     # https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy
28     pushd "${BUILD_DIR}"/lib > /dev/null
29     py.test ${PN}/tests/test_general.py || die
30     }

  ViewVC Help
Powered by ViewVC 1.1.20