aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-m2crypto/APKBUILD
blob: ef73d59654662bedf433eccad855b1e240ce138c (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.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="https://files.pythonhosted.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"