# Compiling Time: 0.02 SBU
# Maintainer: DeX77 <dex+fw@dragonslave.de>

pkgname=python3-debian
pkgver=1.0.1
pkgrel=1
pkgdesc="Python module to work with Debian-related data formats"
depends=('python3-chardet')
makedepends=('python3-build' 'python3-installer' 'python3-wheel' 'python3-setuptools_scm')
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name="python-debian"
_F_archive_name="$_F_pypi_name"
Finclude pypi
sha1sums=('5e60b4d9dd37beebe7acd92295ed1ed27bba150e')

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

# optimization OK
