python3-openpyxl: use python3-installer, not setup.py
This commit is contained in:
@@ -2,12 +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/openpyxl-3.1.5-py3.12.egg-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5-py3.12.egg-info/PKG-INFO
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5-py3.12.egg-info/SOURCES.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5-py3.12.egg-info/dependency_links.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5-py3.12.egg-info/requires.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5-py3.12.egg-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5.dist-info/WHEEL
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl-3.1.5.dist-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.12/site-packages/openpyxl/
|
||||
-rw-r--r-- root/root usr/lib/python3.12/site-packages/openpyxl/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.12/site-packages/openpyxl/__pycache__/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/jmq.pub
|
||||
RWTTPlFarK9CxOB21imzZKqKwWu34UydCnrOkJ9VX5GubVxDYmQK8kQgbKr8gGwVSOJB6a4tdbfWeoD8YzSIQe1Fy0MeJeectwA=
|
||||
SHA256 (Pkgfile) = ae3e1264dff3032707e8858c798513ef18df9d3a7cbb750f8d4399c1f82ecb22
|
||||
SHA256 (.footprint) = 11a7803d4c0ac1708ce1b66aa9b219ac893864667505835224df4c051613456a
|
||||
RWTTPlFarK9CxHGO4B50VZF9GA4prC7Celk3nKpPtUIsXWGqvEAe+mu4ZRV174QvtaWC44tcF78ej2n77I4W5qk/3awSQkjyoA8=
|
||||
SHA256 (Pkgfile) = 1ce55700e2e6c5b8db4afa8ca5e12f28b78835f014b606299e795f2e8bcd6427
|
||||
SHA256 (.footprint) = d9cf42dbbd1ed56c16c08ee455f51d197e427b33f255661d22058de28accc2d8
|
||||
SHA256 (openpyxl-3.1.5.tar.gz) = cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050
|
||||
|
||||
@@ -6,13 +6,12 @@
|
||||
name=python3-openpyxl
|
||||
version=3.1.5
|
||||
release=1
|
||||
_commit=88d94a75de065ea32619465d2f77b29a0469500e99012523b91cc4141cd1
|
||||
source=(https://files.pythonhosted.org/packages/3d/f9/$_commit/openpyxl-$version.tar.gz)
|
||||
source=(https://files.pythonhosted.org/source/o/openpyxl-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd openpyxl-$version
|
||||
/usr/bin/python3 setup.py build
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
/usr/bin/python3 -m installer --destdir="$PKG" dist/*.whl
|
||||
|
||||
/usr/bin/python3 setup.py install --skip-build \
|
||||
--optimize=1 --prefix=/usr --root="$PKG"
|
||||
rm -rf "$PKG"/usr/lib/python3.12/site-packages/openpyxl-$version.dist-info/licenses
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user