# Maintainer: Nissar Chababy _appName="pyfunceble" pkgname=${_appName} _name=${pkgname} upstreamName="PyFunceble" pkgver=4.1.3 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') conflicts=('pyfunceble-dev') 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/c6/bf/0261383aba2bc94288f77f6c936ac18e536f937b4941f4c55220a36b45ca/PyFunceble-4.1.3.tar.gz' 'https://raw.githubusercontent.com/funilrys/PyFunceble/master/LICENSE') sha256sums=('267339e662a2497cc53f466f97d5d469555fe27e9ad87d8d633a81624fe1bf37' '4709994873033ba7bdbbc1bf12cfff093cc074e0dfb28c64b2a80a115916a41b') build() { 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 }