1
0
forked from ports/contrib

python3-more-itertools: initial commit, version 9.1.0

This commit is contained in:
Tim Biermann 2023-04-01 13:05:01 +02:00
parent df0f6b19af
commit b187d5d30a
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,21 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.10/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/more_itertools-9.1.0.dist-info/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools-9.1.0.dist-info/LICENSE
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools-9.1.0.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools-9.1.0.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools-9.1.0.dist-info/WHEEL
drwxr-xr-x root/root usr/lib/python3.10/site-packages/more_itertools/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/__init__.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/__init__.pyi
drwxr-xr-x root/root usr/lib/python3.10/site-packages/more_itertools/__pycache__/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/__pycache__/__init__.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/__pycache__/more.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/__pycache__/recipes.cpython-310.pyc
-rwxr-xr-x root/root usr/lib/python3.10/site-packages/more_itertools/more.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/more.pyi
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/py.typed (EMPTY)
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/recipes.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/more_itertools/recipes.pyi

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37NfAqiGyGtxPLZo5HPVe0jNyPUD7XShalO/SvWUQ3tXecxBHtGicd7/cFWTfXt6oCu/ghX91sJpeCE0v2XCFgg=
SHA256 (Pkgfile) = d7dab4d486e7ea14384dba67e88bda7a6695c09dbf549fcd1b74cd8d6e504d9e
SHA256 (.footprint) = 7c4a726147f3ff34c4c7290ea52d6acfd49ca26067c384038fa854ca0b94b90a
SHA256 (more-itertools-9.1.0.tar.gz) = cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d

View File

@ -0,0 +1,25 @@
# 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
name=python3-more-itertools
version=9.1.0
release=1
source=(https://pypi.org/packages/source/m/more-itertools/more-itertools-$version.tar.gz)
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}
}