mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
pydispatcher: drop unused recipe. (#11964)
This one's an oldie! Introduced in a48df5ce4b
)2011) as a .bep file.
Still, can't find any usage on-tree since then
(`git log --since=2011 -S pydispatcher` gives nothing).
Users should try to `pip install` this, if they need it.
This commit is contained in:
@@ -1,72 +0,0 @@
|
||||
SUMMARY="Multi-producer-multi-consumer signal dispatching mechanism in Python"
|
||||
DESCRIPTION="PyDispatcher provides the Python programmer with a \
|
||||
multiple-producer-multiple-consumer, signal-registration and routing infrastructure for \
|
||||
use in multiple contexts. The mechanism of PyDispatcher started life as a highly rated \
|
||||
recipe in the Python Cookbook. The SourceForge project aims to include various \
|
||||
enhancements to the recipe developed during use in various applications."
|
||||
HOMEPAGE="https://github.com/mcfletch/pydispatcher"
|
||||
COPYRIGHT="2001-2006, Patrick K. O'Brien and Contributors"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/pydispatcher/PyDispatcher-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b777c6ad080dc1bad74a4c29d6a46914fa6701ac70f94b0d66fbcfde62f5be31"
|
||||
SOURCE_DIR="PyDispatcher-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
pydispatcher = $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
|
||||
\""
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
haiku
|
||||
cmd:python$pythonVersion
|
||||
\""
|
||||
BUILD_REQUIRES+="
|
||||
build_$pythonPackage
|
||||
installer_$pythonPackage
|
||||
setuptools_$pythonPackage
|
||||
wheel_$pythonPackage
|
||||
"
|
||||
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
|
||||
rm -rf build
|
||||
|
||||
$python -m build --wheel --no-isolation
|
||||
$python -m installer -p $prefix dist/*.whl
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user