void-packages/srcpkgs/python3-shodan/template
2021-10-09 08:00:49 -04:00

23 lines
751 B
Bash

# Template file for 'python3-shodan'
pkgname=python3-shodan
version=1.25.0
revision=2
wrksrc="shodan-python-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-click python3-click-plugins python3-colorama
python3-requests python3-XlsxWriter"
checkdepends="${depends}"
short_desc="Python library and CLI for Shodan"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="MIT"
homepage="https://developer.shodan.io"
distfiles="https://github.com/achillean/shodan-python/archive/${version}.tar.gz"
checksum=52932c6d508622877d0667e0290fee84e6cb749b6565b48ba359fbbf002f0845
make_check=extended
# One must export the variable SHODAN-API-KEY in env before running tests
post_install() {
vlicense LICENSE
}