aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-m2crypto/APKBUILD
blob: 619dde1f552f81b4b63c82e7b89cfc18829a8b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-m2crypto
_pkgname=M2Crypto
pkgver=0.21.1
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"
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="f93d8462ff7646397a9f77a2fe602d17  M2Crypto-0.21.1.tar.gz"
sha256sums="25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a  M2Crypto-0.21.1.tar.gz"
sha512sums="b261eed84b3bda8a664c065241c2007f6443235a0fbcdd856c5a0b1f015e75662724b72a56e94aeb174414fff5c8dd71dfcb4b18f677f576ab7e30811a8adf9b  M2Crypto-0.21.1.tar.gz"