mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-02 10:02:58 +02:00
New package: asncounter-0.5.0
PR contains template for its dep 'python3-pyasn'
This commit is contained in:
parent
c25336f4ef
commit
a1ac81c58f
1 changed files with 23 additions and 0 deletions
23
srcpkgs/asncounter/template
Normal file
23
srcpkgs/asncounter/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'asncounter'
|
||||||
|
pkgname=asncounter
|
||||||
|
version=0.5.0
|
||||||
|
revision=1
|
||||||
|
build_style=python3-pep517
|
||||||
|
hostmakedepends="pandoc python3-setuptools python3-setuptools_scm python3-wheel"
|
||||||
|
makedepends="python3-devel"
|
||||||
|
depends="python3-pyasn"
|
||||||
|
short_desc="Tool to group IP addresses by ASN, useful for fighting bot farms"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://gitlab.com/anarcat/asncounter"
|
||||||
|
distfiles="https://gitlab.com/anarcat/asncounter/-/archive/$version/asncounter-$version.tar.gz"
|
||||||
|
checksum=4a4184afad23e1fa9dcc2862644707c075f59e013d988aaf0cc7555f79c982ca
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_ASNCOUNTER="$version_$revision"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
pandoc --standalone --to man asncounter.1.md > asncounter.1
|
||||||
|
vman asncounter.1
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue