mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=dnsrecon
|
|
pkgver=1.1.4
|
|
pkgrel=0
|
|
pkgdesc="DNS Enumeration Script"
|
|
url="https://github.com/darkoperator/dnsrecon"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
depends="py3-dnspython py3-lxml py3-netaddr"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-installer
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest"
|
|
options="!check"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/dnsrecon/archive/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
774919303e03e40932013c54b36c3d4d62e1c566b93ee044d99b6e8eb746b1b5d083f105f3ae0e84d643d2c3f32962a8d48202e60bb290146dd7fe771879cd2b dnsrecon-1.1.4.tar.gz
|
|
"
|