mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 06:10:06 +02:00
more_itertools: drop outdated and unused recipe. (#11938)
Not required on-tree since d9f746a859.
Users should try to `pip install` this, if they need it.
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
SUMMARY="More routines to operate on iteratables"
|
||||
DESCRIPTION="Python's 'itertools' library is a gem - you can compose elegant \
|
||||
solutions for a variety of problems with the functions it provides. In \
|
||||
'more-itertools' we collect additional building blocks, recipes, and routines \
|
||||
for working with Python iterables."
|
||||
HOMEPAGE="https://pypi.python.org/pypi/more-itertools"
|
||||
COPYRIGHT="2012 Erik Rose"
|
||||
LICENSE="MIT"
|
||||
REVISION="5"
|
||||
pypiVersion="0b/ff/1ad78678bee731ae5414ea5e97396b3f91de32186028daa614d322ac5a8b"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/more_itertools-$portVersion-py3-none-any.whl#noarchive"
|
||||
CHECKSUM_SHA256="1bc4f91ee5b1b31ac7ceacc17c09befe6a40a503907baf9c839c229b5095cfd2"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
eval "PROVIDES_${pythonPackage}=\"\
|
||||
${portName}_$pythonPackage = $portVersion\
|
||||
\"; \
|
||||
REQUIRES_$pythonPackage=\"\
|
||||
haiku\n\
|
||||
cmd:python$pythonVersion\
|
||||
\""
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
installer_$pythonPackage
|
||||
"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
|
||||
python=python$pythonVersion
|
||||
installLocation=$prefix/lib/$python/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
mkdir -p $installLocation
|
||||
|
||||
$python -m installer -p $prefix more_itertools-$portVersion-py3-none-any.whl
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user