Skip to content

Commit

Permalink
python3-adblock: use alternate distfile; PyPI archive does not build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Jun 5, 2024
1 parent 3a87f61 commit e69d70b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions srcpkgs/python3-adblock/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit e69d70b

Please sign in to comment.