# Maintainer: Nissar Chababy _appName="pyfunceble" pkgname=${_appName}-dev _name=${pkgname} upstreamName="PyFunceble-dev" pkgver=4.2.0a6 pkgrel=1 pkgdesc="The tool to check the availability or syntax of domain, IP or URL." arch=('any') url="https://pyfunceble.github.io" license=('Apache 2.0') provides=("${_appName}") conflicts=('pyfunceble') provides=("pyfunceble=${pkgver}") depends=( 'domain2idna' 'python-alembic' 'python-box' 'python-colorama' 'python-cryptography' 'python-distribute' 'python-dnspython' 'python-dotenv' 'python-inflection' 'python-msgpack' 'python-pyaml' 'python-pymysql' 'python-pysocks' 'python-requests' 'python-ruamel-yaml' 'python-setuptools' 'python-shtab' 'python-sqlalchemy' 'python-toml' 'python3' ) source=('https://files.pythonhosted.org/packages/96/00/d804682911c9e568f6402b545cf07df3a85c96a40775eb83c6364ac940f6/PyFunceble-dev-4.2.0a6.tar.gz' 'https://raw.githubusercontent.com/funilrys/PyFunceble/dev/LICENSE') sha256sums=('4d0282643e4e553b08fb1487e6ce496102213213b3dccc8231a310f9b5a8c936' '4709994873033ba7bdbbc1bf12cfff093cc074e0dfb28c64b2a80a115916a41b') build() { echo "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${upstreamName}-${pkgver}.tar.gz" cd ${srcdir}/${upstreamName}-${pkgver} python setup.py build } package() { install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" cd ${srcdir}/${upstreamName}-${pkgver} python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build }