# Maintainer: Nissar Chababy _appName="pyfunceble" pkgname=${_appName} _name=${pkgname} upstreamName="PyFunceble" pkgver=3.3.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-requests' 'python-ruamel-yaml' 'python-setuptools' 'python-sqlalchemy' 'python-toml' 'python3' ) source=( "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${upstreamName}-${pkgver}.tar.gz" "https://raw.githubusercontent.com/funilrys/PyFunceble/master/LICENSE" ) sha256sums=( "37fbd74d313e91a4f4e97aea5d964a4ce0fc6787d62f2b6dd5a3b948c37a24b8" "2b8dc0c3f5c9a4042778b31496a0bf65f1aa6a516afa556d3d9426dbe2a92d48" ) 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 }