# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-shodan pkgver=1.29.1 pkgrel=0 _gitrev="9ccc16ada4761d19ee2079a9334cac3ddbc62415" pkgdesc="The official Python library for Shodan" url="https://developer.shodan.io/" arch="noarch" license="MIT" depends=" python3 py3-click py3-click-plugins py3-colorama py3-requests py3-xlsxwriter " makedepends="py3-setuptools py3-sphinx" checkdepends="py3-pytest" subpackages="$pkgname-doc $pkgname-pyc" source="https://github.com/achillean/shodan-python/archive/$_gitrev/py3-shodan-$pkgver.tar.gz" builddir="$srcdir/shodan-python-$_gitrev" options="!check" # tests require a working api key build() { python3 setup.py build make -C docs man } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm644 docs/_build/man/shodan-python.1 -t "$pkgdir"/usr/share/man/man1 } sha512sums=" 2743730df2f45827ed388e4456c55ee7212ded9c33ea51a11ed2d2ce0fdbaa5b963998859c23356f7bbc471aa49bb7163dfa5c6a7146fe6c6fa36f1cf66053a2 py3-shodan-1.29.1.tar.gz "