2013-02-14 05:25:41 +08:00
|
|
|
pkgname=python2-pycountry
|
2015-10-10 20:05:43 +08:00
|
|
|
pkgver=1.16
|
2013-02-14 05:25:41 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
|
2014-04-13 02:21:31 +08:00
|
|
|
arch=('x86_64')
|
2013-02-14 05:25:41 +08:00
|
|
|
url="http://pypi.python.org/pypi/pycountry"
|
|
|
|
license=('LGPL2')
|
|
|
|
provides=('python-pycountry')
|
|
|
|
replaces=('python-pycountry')
|
|
|
|
conflicts=('python-pycountry')
|
2014-04-13 02:21:31 +08:00
|
|
|
depends=('python2-lxml' 'python2-setuptools')
|
|
|
|
source=(http://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.tar.gz)
|
2015-10-10 20:05:43 +08:00
|
|
|
sha512sums=('cf09da8302508b9adb3bc451c22b9bc71f5984e773d8afd602803eaaf5b6c44d1be36a358049d6e3107a0d1110e5e0561361f3a3e4a7a88ab884ef552db565a3')
|
2013-02-14 05:25:41 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/pycountry-${pkgver}
|
|
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
2014-04-13 02:21:31 +08:00
|
|
|
}
|