aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-asn1-modules
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2015-07-20 11:17:01 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-21 06:10:50 +0000
commita8baa502663d34bb8738085a879f8f3c71a68779 (patch)
treec6f35a57dfdf3ea19bca1586c087427cc816c258 /main/py-asn1-modules
parent77e7d1773064c208f8a445b33237fcc9bd3316fe (diff)
downloadaports-a8baa502663d34bb8738085a879f8f3c71a68779.tar.bz2
aports-a8baa502663d34bb8738085a879f8f3c71a68779.tar.xz
main/py-asn1-modules: move from testing
Diffstat (limited to 'main/py-asn1-modules')
-rw-r--r--main/py-asn1-modules/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-asn1-modules/APKBUILD b/main/py-asn1-modules/APKBUILD
new file mode 100644
index 0000000000..2029110811
--- /dev/null
+++ b/main/py-asn1-modules/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
+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"