Skip to content

Commit 4f7dc73

Browse files
committed
asncounter: fix license, enable tests
1 parent de48947 commit 4f7dc73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

srcpkgs/asncounter/template

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Template file for 'asncounter'
22
pkgname=asncounter
33
version=0.5.0
4-
revision=1
4+
revision=2
55
build_style=python3-pep517
66
hostmakedepends="pandoc python3-setuptools python3-setuptools_scm python3-wheel"
77
makedepends="python3-devel"
88
depends="python3-pyasn"
9+
checkdepends="python3-pyasn python3-pytest python3-prometheus_client"
910
short_desc="Tool to group IP addresses by ASN, useful for fighting bot farms"
1011
maintainer="Orphaned <orphan@voidlinux.org>"
11-
license="GPL-3.0-or-later"
12+
license="AGPL-3.0-or-later"
1213
homepage="https://gitlab.com/anarcat/asncounter"
1314
distfiles="https://gitlab.com/anarcat/asncounter/-/archive/$version/asncounter-$version.tar.gz"
1415
checksum=4a4184afad23e1fa9dcc2862644707c075f59e013d988aaf0cc7555f79c982ca
@@ -20,4 +21,5 @@ pre_build() {
2021
post_install() {
2122
pandoc --standalone --to man asncounter.1.md > asncounter.1
2223
vman asncounter.1
24+
vlicense LICENSE
2325
}

0 commit comments

Comments
 (0)