blob: 348cd7776e68c36a04041cd6e3a302a2993459c4 (
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
32
33
34
35
36
37
38
39
40
|
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-asn1-modules
_pkgname=pyasn1-modules
pkgver=0.0.6
pkgrel=0
pkgdesc="A collection of ASN.1-based protocols modules"
url="http://pypi.python.org/pypi/pyasn1-modules"
arch="noarch"
license="BSD"
depends="python py-openssl py-asn1"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="3b94e7a4999bc7477b76c46c30a56727 pyasn1-modules-0.0.6.tar.gz"
sha256sums="1f41d3f3da43e9a769e23649724368aa0b88afcfd1fe6e9f210d31d13322fc15 pyasn1-modules-0.0.6.tar.gz"
sha512sums="1ae7d641647d239737daa20f8519f92b0727381bf44de2b65130a7626233b1b430cd8fad04fdc856387d7ba9ad226960a87f6f58d64d4ba09c3e6316130c5855 pyasn1-modules-0.0.6.tar.gz"
|