From 165ed5455a3dcdabce529cd4bf33fcaff159cecc Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 15 Apr 2016 17:54:58 +0000
Subject: python-pyasn1: initial inclusion dep of python-cryptography

---
 abs/core/python_modules/python-pyasn1/PKGBUILD    | 39 +++++++++++++++++++++++
 abs/core/python_modules/python-pyasn1/__changelog |  1 +
 2 files changed, 40 insertions(+)
 create mode 100644 abs/core/python_modules/python-pyasn1/PKGBUILD
 create mode 100644 abs/core/python_modules/python-pyasn1/__changelog

diff --git a/abs/core/python_modules/python-pyasn1/PKGBUILD b/abs/core/python_modules/python-pyasn1/PKGBUILD
new file mode 100644
index 0000000..ae8b69c
--- /dev/null
+++ b/abs/core/python_modules/python-pyasn1/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric@archlinux.org>
+
+pkgbase=python-pyasn1
+pkgname=('python2-pyasn1')
+pkgver=0.1.9
+pkgrel=1
+arch=('any')
+url="http://sourceforge.net/projects/pyasn1/"
+license=('BSD')
+makedepends=('python2-setuptools')
+replaces=('pyasn1')
+provides=('pyasn1')
+source=(http://downloads.sourceforge.net/sourceforge/pyasn1/pyasn1-${pkgver}.tar.gz)
+sha1sums=('d19599c5d9d039ead21ffcd1a2392c29a838ae03')
+
+check() {
+  cd pyasn1-${pkgver}
+  python2 setup.py test
+  python setup.py test
+}
+
+package_python-pyasn1() {
+  pkgdesc="ASN.1 library for Python 3"
+  depends=('python')
+
+  cd pyasn1-${pkgver}
+  python setup.py install --root="${pkgdir}"
+  install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pyasn1() {
+  pkgdesc="ASN.1 library for Python 2"
+  depends=('python2')
+
+  cd pyasn1-${pkgver}
+  python2 setup.py install --root="${pkgdir}"
+  install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/abs/core/python_modules/python-pyasn1/__changelog b/abs/core/python_modules/python-pyasn1/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-pyasn1/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
-- 
cgit v0.12

