diff --git a/srcpkgs/python3-adblock/template b/srcpkgs/python3-adblock/template index f24a681be0b..8d5e4842b1c 100644 --- a/srcpkgs/python3-adblock/template +++ b/srcpkgs/python3-adblock/template @@ -1,8 +1,8 @@ # Template file for 'python3-adblock' pkgname=python3-adblock -version=0.5.1 +version=0.5.2 revision=1 -wrksrc="${pkgname/python3/python}-${version}" +wrksrc="${pkgname#python3-}-${version}" build_style=python3-pep517 build_helper="rust" #XXX: Does statically link against openssl @@ -15,12 +15,8 @@ maintainer="Andrew J. Hesford " license="Apache-2.0, MIT" homepage="https://github.com/ArniDagur/python-adblock" changelog="https://raw.githubusercontent.com/ArniDagur/python-adblock/master/CHANGELOG.md" -distfiles="${homepage}/archive/${version}.tar.gz" -checksum=d24ef42c8532cab2970d1c3af116ee4d0fa595e23fbeabb3ba0f5dfa0a67eae1 - -case "$XBPS_TARGET_MACHINE" in - i686*) broken="compiler throws SIGABRT on the psl crate" ;; -esac +distfiles="${PYPI_SITE}/a/adblock/adblock-${version}.tar.gz" +checksum=449d4724769d4a8bc96bf0256b40e57eafe91d69e24503c27ceb9de0e5e5fe03 if [ "$CROSS_BUILD" ]; then makedepends+=" rust-std"