aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-m2crypto/APKBUILD
blob: 30018dfbdf23796c6b6194ae9aee4402ae139ef4 (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.22.5
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="f84eb07aa1687f39bc26ee7b1ba5a105  M2Crypto-0.22.5.tar.gz"
sha256sums="b5ce9b09062a2c453e9d9c28dde96b7f90834313e60f419b143d751eb4109fdc  M2Crypto-0.22.5.tar.gz"
sha512sums="faba44d6c3d3ede588c9d9b6ebc863fc1505f58d1e5fc990b36405e9af3aca6b5ec6015806b1f8736340cdde41d56bf959fb9757194eb3ef3bac9e9c10b79c9a  M2Crypto-0.22.5.tar.gz"