python3-pycountry: initial import

This commit is contained in:
Danny Rawlins 2021-12-05 20:22:30 +11:00
parent f8370b9093
commit aa28466593
3 changed files with 1129 additions and 0 deletions

1107
python3-pycountry/.footprint Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37FA8y2OVr571HemBdq2AVMbg9oiVmMqFMgHv11QZJz8V7WlCBEtVK1FICTEAhMgaVitGeN78c6xWBgtI5khCQg=
SHA256 (Pkgfile) = 74800a2d82aa64765fa3af8d2e8c8037920ec35f934945ec6190d9c90b2c67df
SHA256 (.footprint) = 3355cc41c0b52b94a5fa53258a359295ad08d9c14d9f718fe6c75f91af5f2ca5
SHA256 (pycountry-20.7.3.tar.gz) = 81084a53d3454344c0292deebc20fcd0a1488c136d4900312cbd465cf552cb42

17
python3-pycountry/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: ISO country, subdivision, language, currency and script definitions and their translations
# URL: https://pypi.org/project/pycountry/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-lxml
name=python3-pycountry
_name=pycountry
version=20.7.3
release=1
source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
build() {
cd $_name-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
}