blob: 2163d7f71b8fdac993b5f496daf974a9ab983806 (
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.3
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="573f21aaac7d5c9549798e72ffcefedd M2Crypto-0.22.3.tar.gz"
sha256sums="6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72 M2Crypto-0.22.3.tar.gz"
sha512sums="c179d3cf03ced77aed24285ca3f1527d5e05bbfe091a1522bff94a940fd390213fbb9b83d7ccd43ceae49626b427ae8790782cf93ead85be1e063bc4121c62e0 M2Crypto-0.22.3.tar.gz"
|