void-packages/srcpkgs/python3-shodan/template

22 lines
751 B
Bash

# Template file for 'python3-shodan'
pkgname=python3-shodan
version=1.28.0
revision=1
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=fc5f159f3edb6db0c2fff338b62f8a6c6eb63b12983bf729a4121fa30019753b
make_check=extended # One must export the variable SHODAN-API-KEY in env before running tests
post_install() {
vlicense LICENSE
}