python3-jeepney: always use python3-flit-core

This commit is contained in:
Tim Biermann 2023-04-02 19:25:18 +02:00
parent 54a1aaccb5
commit 33d2545400
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zHhJFj7ha91TOCKPOfM/3d8XwsAkiSZc3zplFq8XL1DogKiPya4zQ5KoqlcqUxvHybvDMuTdZSs6WWvJI2UKwo=
SHA256 (Pkgfile) = fcd873da34eb0ed28b165d89c9712a333b08db10f195a2f2bb5cddaedcec2bfe
RWSagIOpLGJF3+DS7z5b9iVRouyifa3aV+9ExL5xR+hb/2dK64XGzLIAPGxRfNZnHxgVakegIKObkZ7ruvuaKdL3BJ/MKP5Mcw4=
SHA256 (Pkgfile) = aa851a4555100b32e5a42e1bb48b1556d10752cb0afc3f6f4d3ae305bcb12d70
SHA256 (.footprint) = 7683639adbe0a1a6cb0b138e8379c740e8ce89bb63de73c267994f67c6a2bb7c
SHA256 (jeepney-0.8.0.tar.gz) = 5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806

View File

@ -1,8 +1,7 @@
# Description: Low-level, pure Python DBus protocol wrapper
# URL: https://gitlab.com/takluyver/jeepney
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-pip
# Optional: python3-flit-core
# Depends on: python3-build python3-flit-core python3-installer
name=python3-jeepney
version=0.8.0
@ -12,14 +11,6 @@ source=(https://pypi.io/packages/source/j/jeepney/jeepney-$version.tar.gz)
build() {
cd jeepney-$version
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
if prt-get isinst python3-flit-core; then
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --compile --no-deps jeepney==$version
fi
rm -rf $PKG/usr/lib/python$_pyver/site-packages/jeepney-$version.dist-info/{INSTALLER,REQUESTED}
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
}