# Maintainer: Nissar Chababy _appName="pyfunceble" pkgname=${_appName} _name=${pkgname} upstreamName="PyFunceble" pkgver=4.2.0 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/13/35/bbbaaa8cfd1f0ee663fcb92529d113f5aa4a691fa8378ba39d5e90344924/PyFunceble-4.2.0.tar.gz' 'https://raw.githubusercontent.com/funilrys/PyFunceble/master/LICENSE') sha256sums=('00d74657332a425fafdc13e4bb636ea703584daded2b75248f8b58f509fe8acb' '0fccbd3165a49d240880baac5fdc2fa448189034a217f2f17ce5ce4f64562224') 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 }