mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
ecdsa: drop outdated and unused recipe. (#11930)
Nothing uses these on-tree, and I can't find anything that ever did. "git log --since=2016-02 -S ecdsa_" gives nothing (except unrelated openssh hits). Users should try to `pip install` this, if they need it.
This commit is contained in:
@@ -1,65 +0,0 @@
|
||||
SUMMARY="Pure python ECDSA implementation"
|
||||
DESCRIPTION="ECDSA is a module for python 2.6 (or higher) that implements \
|
||||
the ECDSA cryptographic signature library."
|
||||
HOMEPAGE="https://github.com/warner/python-ecdsa"
|
||||
COPYRIGHT="2010 Brian Warner"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/e/ecdsa/ecdsa-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="190348041559e21b22a1d65cee485282ca11a6f81d503fddb84d5017e9ed1e49"
|
||||
|
||||
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
|
||||
\""
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
haiku
|
||||
six_$pythonPackage
|
||||
cmd:python$pythonVersion
|
||||
\""
|
||||
BUILD_REQUIRES+="
|
||||
setuptools_$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 setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user