# Compiling Time: 0 SBU
# Maintainer: Anthony Jorion <pingax@frugalware.org>
# Contributor: Devil505 <devil505linux@gmail.com>

pkgname=python3-pycountry
pkgver=24.6.1
pkgrel=2
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations (Python3)"
depends=('python3>=3.12')
makedepends=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel' 'python3-poetry-core')
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name=pycountry
Finclude pypi
sha1sums=('bbedb9fd09d282d4cfef3ea4dc2fb31e3f112406')

build() {
        Fcd
        Fpatchall
        Fexec python3 -m build --wheel --no-isolation || Fdie
        Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie

}

# optimization OK
