aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srcpkgs/python3-adblock/template7
1 files changed, 4 insertions, 3 deletions
diff --git a/srcpkgs/python3-adblock/template b/srcpkgs/python3-adblock/template
index 71aeb5c9a84..d88b911d294 100644
--- a/srcpkgs/python3-adblock/template
+++ b/srcpkgs/python3-adblock/template
@@ -1,9 +1,10 @@
# Template file for 'python3-adblock'
pkgname=python3-adblock
version=0.6.0
-revision=4
+revision=5
build_style=python3-pep517
build_helper="rust"
+make_check_args="-k not(test_required_python_version)"
#XXX: Does statically link against openssl
hostmakedepends="maturin pkg-config cargo openssl-devel"
makedepends="openssl-devel python3-devel rust-std"
@@ -14,8 +15,8 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0, MIT"
homepage="https://github.com/ArniDagur/python-adblock"
changelog="https://raw.githubusercontent.com/ArniDagur/python-adblock/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/adblock/adblock-${version}.tar.gz"
-checksum=11651e956c69b3ee571404754df665854717255b80f437e9dc323ee82b564e72
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=cdde5db640f1d9205785641665b79e6edb7c51092a68536bc4907560c71136b2
do_build() {
maturin build -o . --release --target "${RUST_TARGET}" --manylinux off