blob: 7bd2b1329704b060faec49fbc5356bdf783a1751 (
plain)
1 # Description: ISO country, subdivision, language, currency and script definitions and their translations
2 # URL: https://pypi.org/project/pycountry/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python3-lxml
5
6 name=python3-pycountry
7 _name=pycountry
8 version=22.3.5
9 release=1
10 source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
11
12 build() {
13 cd $_name-$version
14
15 /usr/bin/python3 setup.py build
16 /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
17 }
|