python3-olefile: update source URL

This commit is contained in:
2026-01-20 18:18:02 +00:00
parent b04a7b2dc4
commit 7948cb1d03
3 changed files with 9 additions and 10 deletions

View File

@@ -3,7 +3,6 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.12/
drwxr-xr-x root/root usr/lib/python3.12/site-packages/
drwxr-xr-x root/root usr/lib/python3.12/site-packages/olefile-0.47.dist-info/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/olefile-0.47.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.12/site-packages/olefile-0.47.dist-info/WHEEL
-rw-r--r-- root/root usr/lib/python3.12/site-packages/olefile-0.47.dist-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.12/site-packages/olefile/

View File

@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxKd9CZ0wIyCO9O1AOeYCt8rGTQozbpXt55DFKEEDtRGCl9VV0XMNuGVVmbqLgiFrCnKYa2AS1pHzBo1RFyzCgQk=
SHA256 (Pkgfile) = 302cf31f0ff98fb1cb979b1f00edb23b33545d1edf94a4f799f717dcd2bdcb1c
SHA256 (.footprint) = 2e0b646af488ea8b8851d368c4ab64a0c250a9d58bb2c641d6f33e117d960ef0
SHA256 (python3-olefile-0.47.tar.gz) = 9548da6a5260fe5a513a5d3144e748ba1ecb3ac8731f6e102d1c263b28a8b44b
RWTTPlFarK9CxKoPV5UAoyz4ioc6RQNX4vtAAK8ZgauIYZ+Pwyfue1+E7kaMYHZYPRmyegioe7RBBjsgAa30pQ98hPccU/IpgwQ=
SHA256 (Pkgfile) = 1d76974a25461437fdb46e87cbab80c68c4062f04d669d1a2e116ba1d9b72a3c
SHA256 (.footprint) = 8ac53921f593414d9a53e507c3ff1668099676419e0e080a067bc60a3f95e12c
SHA256 (olefile-0.47.zip) = 599383381a0bf3dfbd932ca0ca6515acd174ed48870cbf7fee123d698c192c1c

View File

@@ -6,14 +6,14 @@
name=python3-olefile
version=0.47
release=1
source=(https://github.com/decalage2/${name##python3-}/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
_commit=077b508e3e500e1629d366249c3ccb32f95e50258b231705c09e3c7a4366
source=(https://files.pythonhosted.org/packages/69/1b/$_commit/olefile-$version.zip)
build() {
cd ${name#*-}-$version
cd olefile-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir="$PKG" dist/*.whl
rm $PKG/usr/lib/python3*/site-packages/*.dist-info/{LICENSE.txt,METADATA}
rm -rf "$PKG"/usr/lib/python3.12/site-packages/*.dist-info/{licenses,METADATA,RECORD}
}