python3-adblock: repackage with updated pep517 build style

This commit is contained in:
icp 2023-02-01 19:32:19 +05:30 committed by Andrew J. Hesford
parent fb04dc52a3
commit a8f781f6e5

View file

@ -33,11 +33,6 @@ do_build() {
mv adblock-${version}-*.whl dist/adblock-${version}-py3-none-any.whl
}
pre_check() {
# Tests require the compiled extension
cp target/${RUST_TARGET}/release/libadblock.so adblock/adblock.so
}
post_install() {
vlicense LICENSE-MIT
chmod 755 ${DESTDIR}/${py3_sitelib}/adblock/*.so