diff --git a/dev-python/pycrypto/pycrypto-2.3.recipe b/dev-python/pycrypto/pycrypto-2.3.recipe deleted file mode 100644 index 4609121b8..000000000 --- a/dev-python/pycrypto/pycrypto-2.3.recipe +++ /dev/null @@ -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" diff --git a/dev-python/pycrypto/pycrypto-2.6.1.recipe b/dev-python/pycrypto/pycrypto-2.6.1.recipe new file mode 100644 index 000000000..d975fc304 --- /dev/null +++ b/dev-python/pycrypto/pycrypto-2.6.1.recipe @@ -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"