python3-et_xmlfile: use python3-installer, not setup.py

This commit is contained in:
2026-05-18 16:48:02 +00:00
parent c9f4d8e1f0
commit 9bcfab9e0b
3 changed files with 14 additions and 15 deletions

View File

@@ -2,11 +2,11 @@ drwxr-xr-x root/root usr/
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/et_xmlfile-2.0.0-py3.12.egg-info/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0-py3.12.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0-py3.12.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0-py3.12.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0-py3.12.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0.dist-info/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0.dist-info/WHEEL
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile-2.0.0.dist-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.12/site-packages/et_xmlfile/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/et_xmlfile/__init__.py
drwxr-xr-x root/root usr/lib/python3.12/site-packages/et_xmlfile/__pycache__/

View File

@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxNqGL0AbqGZ69rpyYipc030T97z5IqoF/YO2dpZFnpm1AHmBa6lcVaZ8qw9K1MQv6rdBsur3A2TwlF8rPz0keAE=
SHA256 (Pkgfile) = a6db75e3dcd4cef3ee63bd42c201a97473c42e4b410f6a11f90965debd492df7
SHA256 (.footprint) = 2ca4d10f2a9782ad2c40a1ddc66b03842e03a7c88fb4c952e64d53bcb4ec53f9
RWTTPlFarK9CxAe8BceoWQmEkrTJfGkxZw+GCFjY9FWd67ITE5u5KAa9FyI9XlubCXoZub29JdFjwf2x4ycuLRpvc3yqCCtFrgI=
SHA256 (Pkgfile) = 91c7e5589cfe3b6a8637bec33af58e403c74230a3984a260e9fbe82c1157157f
SHA256 (.footprint) = a8a322284da13cfc02ed1e8310bfef6fb384a13c468b6392b2f7bb18ee79a7cc
SHA256 (et_xmlfile-2.0.0.tar.gz) = dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54

View File

@@ -5,14 +5,13 @@
name=python3-et_xmlfile
version=2.0.0
release=1
_commit=af70d7ab1ae9d4da450eeec1fa3918940a5fafb9055e934af8d6eb0c2313
source=(https://files.pythonhosted.org/packages/d3/38/$_commit/et_xmlfile-$version.tar.gz)
release=2
source=(https://files.pythonhosted.org/source/e/et_xmlfile-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
cd et_xmlfile-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root="$PKG"
/usr/bin/python3 -m installer --destdir="$PKG" dist/*.whl
rm -rf "$PKG"/usr/lib/python3.12/site-packages/et_xmlfile-$version.dist-info/licenses
}