python3-agate-excel: use python3-installer, not pip3

This commit is contained in:
2026-05-18 16:51:08 +00:00
parent 0f63efc849
commit da24c290df
3 changed files with 11 additions and 10 deletions

View File

@@ -4,14 +4,17 @@ 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/agate_excel-0.4.2.dist-info/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agate_excel-0.4.2.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agate_excel-0.4.2.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agate_excel-0.4.2.dist-info/WHEEL
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agate_excel-0.4.2.dist-info/direct_url.json
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agate_excel-0.4.2.dist-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.12/site-packages/agateexcel/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__init__.py
drwxr-xr-x root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/__init__.cpython-312.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/__init__.cpython-312.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/table_xls.cpython-312.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/table_xls.cpython-312.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/table_xlsx.cpython-312.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/__pycache__/table_xlsx.cpython-312.pyc
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/table_xls.py
-rw-r--r-- root/root usr/lib/python3.12/site-packages/agateexcel/table_xlsx.py

View File

@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxHYC9bH9GNZfSZrlxsNh2TQ0yBGXM4+5SgDRKjOskxPAzjrUSGYr7OEJu0oGaYaiRwZ5hQgp+BCJwKyJSoHLJw4=
SHA256 (Pkgfile) = f3eb3d4da3c43d3fd9591fbfe8617c43368e07e0cfc7835bb288cff97bb28fdf
SHA256 (.footprint) = fa3332231b9e3bc46b30c15c3a44f3b14c92c05db8082e94e7b2f2e8c237eb88
RWTTPlFarK9CxCRe5AVyQU2fceFXFhPEHaww633nnNhPtA6wP278z7TO2N9q4KGkS9hQgQIHyr3giJhG7wO7uihbST29qHj7MQk=
SHA256 (Pkgfile) = 3da8e1281eed223b680cef30120a4e882b4147e44ee574128d66a7d0db4516f9
SHA256 (.footprint) = 89744f10a26497680e1ff23c106053c9499fc3c4137ec43f22e12f6922a6a101
SHA256 (agate_excel-0.4.2.tar.gz) = eed1dc6239f0e96720d962dc1bdfb4496e19687332c827fd8b1e587a917ea202

View File

@@ -5,16 +5,14 @@
name=python3-agate-excel
version=0.4.2
release=1
_commit=b2d1bc555fd91145de5d11a7b31241076586713d222881c6d7eac9e4fda9
source=(https://files.pythonhosted.org/packages/83/e5/$_commit/agate_excel-$version.tar.gz)
release=2
source=(https://files.pythonhosted.org/source/a/agate_excel-$version.tar.gz)
build() {
cd agate_excel-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/pip3 install --isolate --root="$PKG" \
--no-deps --ignore-installed dist/*.whl
/usr/bin/python3 -m installer --destdir="$PKG" dist/*.whl
rm -rf "$PKG"/usr/lib/python3.12/site-packages/*.dist-info/{INSTALLER,licenses,RECORD,REQUESTED,AUTHORS.rst}
rm -rf "$PKG"/usr/lib/python3.12/site-packages/agate_excel-$version.dist-info/licenses
}