diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-06-03 01:04:06 -0500 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-06-09 12:44:02 +0000 |
commit | 294200bc1cbe7622cd9c9c6ebb2f5abe3d487a39 (patch) | |
tree | 889b2bafff0922a2383be24d4b4b6cf3b03016bf /testing | |
parent | 8d0103adac2832a482fc54c3ae2803d6b4646201 (diff) | |
download | aports-294200bc1cbe7622cd9c9c6ebb2f5abe3d487a39.tar.bz2 aports-294200bc1cbe7622cd9c9c6ebb2f5abe3d487a39.tar.xz |
testing/py-asn1-modules: new aport
http://pypi.python.org/pypi/pyasn1-modules
A collection of ASN.1-based protocols modules
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-asn1-modules/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-asn1-modules/APKBUILD b/testing/py-asn1-modules/APKBUILD new file mode 100644 index 0000000000..5f27b5d142 --- /dev/null +++ b/testing/py-asn1-modules/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: +pkgname=py-asn1-modules +_pkgname=pyasn1-modules +pkgver=0.0.5 +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="6c5c9dd61a5784ff22695ac233cb11f8 pyasn1-modules-0.0.5.tar.gz" +sha256sums="be65f00ed28e30756f1ef39377cb382480a2368699179d646a84d79fe9349941 pyasn1-modules-0.0.5.tar.gz" +sha512sums="b8fa41ed28087097502e8362022d819fe6914511c09f60f64f173c5674684fa8c45de23ce718700001d9f2d9b11adc17657d7cfd4cb24ea740b8d14eba8d8161 pyasn1-modules-0.0.5.tar.gz" |