# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-m2crypto _pkgname=M2Crypto pkgver=0.23.0 pkgrel=0 pkgdesc="A crypto and SSL toolkit for Python" url="http://chandlerproject.org/bin/view/Projects/MeTooCrypto" arch="all" license="BSD" depends="" depends_dev= makedepends="python-dev swig openssl-dev py-setuptools" install="" subpackages="" source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="89557730e245294a6cab06de8ad4fb42 M2Crypto-0.23.0.tar.gz" sha256sums="1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15a9567f M2Crypto-0.23.0.tar.gz" sha512sums="b1c57328c60cb82fdc196c491d9518d58a996fbae35e32b0bd20d3d38ec8f72d0981ba7dde154f7684224ce9ee38e69460328f1bd8931b16210233c8199e6c51 M2Crypto-0.23.0.tar.gz"