From 66b25e270cc7f42f7bfccc9ab9c9a05bf07fa5be Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 2 Apr 2023 19:32:56 +0200 Subject: [PATCH] python3-more-itertools: always use python3-flit-core --- python3-more-itertools/.signature | 4 ++-- python3-more-itertools/Pkgfile | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/python3-more-itertools/.signature b/python3-more-itertools/.signature index ffd9ebe26..ad549d24b 100644 --- a/python3-more-itertools/.signature +++ b/python3-more-itertools/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF37NfAqiGyGtxPLZo5HPVe0jNyPUD7XShalO/SvWUQ3tXecxBHtGicd7/cFWTfXt6oCu/ghX91sJpeCE0v2XCFgg= -SHA256 (Pkgfile) = d7dab4d486e7ea14384dba67e88bda7a6695c09dbf549fcd1b74cd8d6e504d9e +RWSagIOpLGJF3wTu2TDwlv+3osSV7H4LwLU7RJGbjARC2/s3LW3aMN11wFYWy3E0py0gFBYOjkgNeMb8Nz9b4jqJGqC66b1AigM= +SHA256 (Pkgfile) = 20ba67d4137662177a924e61736335aa32bb6fcd93b0a766b2969e72a63bf3ca SHA256 (.footprint) = 7c4a726147f3ff34c4c7290ea52d6acfd49ca26067c384038fa854ca0b94b90a SHA256 (more-itertools-9.1.0.tar.gz) = cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d diff --git a/python3-more-itertools/Pkgfile b/python3-more-itertools/Pkgfile index 3a4f5367d..20e249381 100644 --- a/python3-more-itertools/Pkgfile +++ b/python3-more-itertools/Pkgfile @@ -1,8 +1,7 @@ # Description: More routines for operating on iterables, beyond itertools # URL: https://github.com/more-itertools/more-itertools # 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-more-itertools version=9.1.0 @@ -12,14 +11,6 @@ source=(https://pypi.org/packages/source/m/more-itertools/more-itertools-$versio build() { cd more-itertools-$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 more-itertools==$version - fi - - rm -rf $PKG/usr/lib/python$_pyver/site-packages/more_itertools-$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 }