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

pkgname=python3-binaryornot
pkgver=0.4.4
pkgrel=2
pkgdesc="Ultra-lightweight pure Python package to check if a file is binary or text"
depends=('python3-chardet')
makedepends=('python3-build' 'python3-installer' 'python3-wheel' 'python3-setuptools')
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name="binaryornot"
Finclude pypi
sha1sums=('9f6d0d0cf064f673194d8a9f9fbb5d11cd591ad8')

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

# optimization OK
