mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
jsonrpcclient: drop unused recipe. (#11958)
Never required by anything on-tree since its introduction in
025cd84ee5.
Users should try to `pip install` this, if they need it.
This commit is contained in:
@@ -1,68 +0,0 @@
|
||||
SUMMARY="Send JSON-RPC requests in Python"
|
||||
DESCRIPTION="This library allows you to call remote procedures using the \
|
||||
JSON-RPC message format."
|
||||
HOMEPAGE="https://pypi.org/project/jsonrpcclient/
|
||||
https://github.com/explodinglabs/jsonrpcclient"
|
||||
COPYRIGHT="2015 Beau Barker"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
pypiVersion="00/4b/ba54814656b155f14ae73092ae194dd04eaf7e8e9a3da4f2ee7ffc9fe98f"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/jsonrpcclient-$portVersion-py3-none-any.whl#noarchive"
|
||||
CHECKSUM_SHA256="3cbb9e27e1be29821becf135ea183144a836215422727e1ffe5056a49a670f0d"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
defaultVersion=3.9
|
||||
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+="
|
||||
installer_$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
|
||||
|
||||
$python -m installer -p $prefix $portName-$portVersion-py3-none-any.whl
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user