[arch-commits] Commit in python-pyasn1/repos (extra-any extra-any/PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Mar 22 16:37:00 EDT 2012


    Date: Thursday, March 22, 2012 @ 16:37:00
  Author: eric
Revision: 154082

archrelease: copy trunk to extra-any

Added:
  python-pyasn1/repos/extra-any/
  python-pyasn1/repos/extra-any/PKGBUILD
    (from rev 154081, python-pyasn1/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-pyasn1/repos/extra-any/PKGBUILD (from rev 154081, python-pyasn1/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-03-22 20:37:00 UTC (rev 154082)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Jesse Young <com gmail jesse.young>
+
+pkgbase=python-pyasn1
+pkgname=('python-pyasn1' 'python2-pyasn1')
+pkgver=0.1.2
+pkgrel=3
+arch=('any')
+url="http://sourceforge.net/projects/pyasn1/"
+license=('BSD')
+makedepends=('python-distribute' 'python2-distribute')
+replaces=('pyasn1')
+provides=('pyasn1')
+source=(http://downloads.sourceforge.net/sourceforge/pyasn1/pyasn1-${pkgver}.tar.gz)
+sha1sums=('4438226c5d38db582442241fc574a2001b685613')
+
+package_python-pyasn1() {
+  pkgdesc="ASN.1 library for Python 3"
+  depends=('python')
+
+  cd "${srcdir}/pyasn1-${pkgver}"
+  python setup.py install --root="${pkgdir}"
+  install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pyasn1() {
+  pkgdesc="ASN.1 library for Python 2"
+  depends=('python2')
+
+  cd "${srcdir}/pyasn1-${pkgver}"
+  python2 setup.py install --root="${pkgdir}"
+  install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list