mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-adblock: use alternate distfile; PyPI archive does not build
This commit is contained in:
parent
3a87f610c9
commit
e69d70b394
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'python3-adblock'
|
# Template file for 'python3-adblock'
|
||||||
pkgname=python3-adblock
|
pkgname=python3-adblock
|
||||||
version=0.6.0
|
version=0.6.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
|
make_check_args="-k not(test_required_python_version)"
|
||||||
#XXX: Does statically link against openssl
|
#XXX: Does statically link against openssl
|
||||||
hostmakedepends="maturin pkg-config cargo openssl-devel"
|
hostmakedepends="maturin pkg-config cargo openssl-devel"
|
||||||
makedepends="openssl-devel python3-devel rust-std"
|
makedepends="openssl-devel python3-devel rust-std"
|
||||||
|
@ -14,8 +15,8 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/ArniDagur/python-adblock"
|
homepage="https://github.com/ArniDagur/python-adblock"
|
||||||
changelog="https://raw.githubusercontent.com/ArniDagur/python-adblock/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/ArniDagur/python-adblock/master/CHANGELOG.md"
|
||||||
distfiles="${PYPI_SITE}/a/adblock/adblock-${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=11651e956c69b3ee571404754df665854717255b80f437e9dc323ee82b564e72
|
checksum=cdde5db640f1d9205785641665b79e6edb7c51092a68536bc4907560c71136b2
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
maturin build -o . --release --target "${RUST_TARGET}" --manylinux off
|
maturin build -o . --release --target "${RUST_TARGET}" --manylinux off
|
||||||
|
|
Loading…
Add table
Reference in a new issue