python3-tzdata: updated outdated build logic

This commit is contained in:
Tim Biermann 2023-08-23 06:46:12 +02:00
parent e377c57753
commit c82c0865dc
2 changed files with 6 additions and 10 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35g4okQJSFwQBKzY8oPmR+M32xkKZusWUOk9rQC1BS/A+y/edfqhbOgPv+cSkZRUBab9Qn3FAR0Qzmi5nOIkKAU=
SHA256 (Pkgfile) = 7b55ab157a7c7465a8fa6876d9f24f01ff3f3f5e4eb6bf77fabea5ff06b83f83
RWSagIOpLGJF3/KTCkduocVtatx7EmnK+SyqeoO0vuDSEoGz0ECBBx1v7qDmZfbxzZYBGvu6H53vYEyLJ2i6Mn8pou6jXB+5zQs=
SHA256 (Pkgfile) = 490e72000c184245dba38cf4d12165cacd0273c139a2c0ac94aeace3803aaf5c
SHA256 (.footprint) = 7aaaca08ca9b2a7ac194bbb85e78c9096ae2dc1c8c044c5cd61832e52f1ec7cf
SHA256 (tzdata-2023.3.tar.gz) = 11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a

View File

@ -1,7 +1,7 @@
# Description: Python package wrapping the IANA time zone database
# URL: https://github.com/python/tzdata
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer
# Depends on: python3-build python3-installer python3-wheel
name=python3-tzdata
version=2023.3
@ -10,11 +10,7 @@ source=(https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-$version.
build() {
cd tzdata-$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 build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}