python3-pypeg2: use wheel and installer

This commit is contained in:
Tim Biermann 2022-09-17 09:43:59 +02:00
parent 326078c826
commit 9bec315d69
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 19 additions and 21 deletions

View File

@ -2,23 +2,23 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2-py3.9.egg-info
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/LICENSE.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/WHEEL
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pyPEG2-2.15.2.dist-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pypeg2/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/xmlast.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/xmlast.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/__init__.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/__pycache__/xmlast.cpython-39.opt-2.pyc
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pypeg2/test/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__init__.py (EMPTY)
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_pyPEG2.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_pyPEG2.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_xmlast.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_xmlast.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/__init__.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_pyPEG2.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/__pycache__/test_xmlast.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/test_pyPEG2.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/test/test_xmlast.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pypeg2/xmlast.py

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32TqY6wviRP/jdcA7lKkPO2qN+b7HmQsNhl5rog/hoTpbVGW6JUPWs19FC+nXQk2Dm45x8IHzy3npPRMdzsObgA=
SHA256 (Pkgfile) = 5b243872f0f95d8b82eb90ff8678991f00ee27e31b80dc71f7c168e089137e54
SHA256 (.footprint) = 2b1a7fd4365d56635b436efb53f8b0d3d5a6923845e3b10a4218608191f4f416
RWSagIOpLGJF39eH8gCyCk6QZ4aq060OgNWNa2LLkszu1hX2higjK3vKpCKoM3cZaQd/uRSsN5e+H/gIpAQUEksaFlNZTk6xFAk=
SHA256 (Pkgfile) = 09c62046c1118faf81ea769e31dedd18b094745d4b8cd6c681e6d48974ddf1de
SHA256 (.footprint) = 925dfa69e960797e47f14e13f0cbb4d5e57dba7b40d3db2b70eaf703afb99d2a
SHA256 (pyPEG2-2.15.2.tar.gz) = 2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d

View File

@ -1,18 +1,16 @@
# Description: An intrinsic PEG Parser-Interpreter for Python
# URL: https://fdik.org/pyPEG/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3
# Depends on: python3-build python3-installer
name=python3-pypeg2
version=2.15.2
release=1
release=2
source=(https://pypi.python.org/packages/source/p/pyPEG2/pyPEG2-$version.tar.gz)
build() {
cd pyPEG2-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG \
--prefix=/usr \
--optimize=1 \
--skip-build
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}