mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
Add python ordereddict recipe
This commit is contained in:
43
dev-python/ordereddict/ordereddict-1.1.recipe
Normal file
43
dev-python/ordereddict/ordereddict-1.1.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="A substitute for Py2.7's collections.OrderedDict for Python 2.4-2.6."
|
||||
DESCRIPTION="
|
||||
Drop-in substitute for Py2.7's new collections.OrderedDict. The
|
||||
recipe has big-oh performance that matches regular dictionaries
|
||||
(amortized O(1) insertion/deletion/lookup and O(n)
|
||||
iteration/repr/copy/equality_testing).
|
||||
"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/ordereddict"
|
||||
SRC_URI="https://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz"
|
||||
CHECKSUM_MD5="a0ed854ee442051b249bfad0f638bbec"
|
||||
COPYRIGHT="2009 Raymond Hettinger"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
PROVIDES="
|
||||
ordereddict = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
cmd:python < 2.7
|
||||
"
|
||||
|
||||
BUILD_REQUIRES=""
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:python < 2.7
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python/bin/python setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python/bin/python setup.py install \
|
||||
--prefix=$prefix
|
||||
}
|
||||
Reference in New Issue
Block a user