mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
pycrypto: Port bep to recipe and bump to 2.6.1
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION="
|
||||
Download, build, install, upgrade, and uninstall Python packages -- easily!
|
||||
"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pycrypto/2.3"
|
||||
SOURCE_URI="http://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.3.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="unstable"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="2b811cfbfc342d83ee614097effb8101"
|
||||
BUILD()
|
||||
{
|
||||
cd pycrypto-2.3
|
||||
python setup.py build
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
cd pycrypto-2.3
|
||||
if [ -n "${DESTDIR}" ];then
|
||||
python setup.py install --root=${DESTDIR}
|
||||
else
|
||||
python setup.py install --prefix="/boot/common"
|
||||
fi
|
||||
}
|
||||
LICENSE="pycrypto"
|
||||
COPYRIGHT="2010 Dwayne C. Litzenberger"
|
||||
49
dev-python/pycrypto/pycrypto-2.6.1.recipe
Normal file
49
dev-python/pycrypto/pycrypto-2.6.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="The Python Cryptography Toolkit"
|
||||
DESCRIPTION="
|
||||
This is a collection of both secure hash functions (such as SHA256 and
|
||||
RIPEMD160), and various encryption algorithms (AES, DES, RSA, ElGamal,
|
||||
etc.).
|
||||
"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pycrypto/2.6"
|
||||
SOURCE_URI="http://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz"
|
||||
REVISION="1"
|
||||
CHECKSUM_SHA256="f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
|
||||
|
||||
ARCHITECTURES="arm ppc x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
pycrypto = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:sed
|
||||
cmd:awk
|
||||
cmd:cc
|
||||
cmd:autoconf
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python setup.py install --prefix=$prefix
|
||||
}
|
||||
|
||||
|
||||
LICENSE="pycrypto"
|
||||
COPYRIGHT="2010 Dwayne C. Litzenberger"
|
||||
Reference in New Issue
Block a user