/[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.2 - (hide annotations) (download)
Sat Mar 1 04:29:11 2014 UTC (4 years, 2 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

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

1 patrick 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 radhermit 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycountry/pycountry-0.19.ebuild,v 1.1 2013/09/02 03:33:33 patrick Exp $
4 patrick 1.1
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