[arch-commits] Commit in python-pyasn1/repos (3 files)

Allan McRae allan at archlinux.org
Tue Oct 16 11:55:15 UTC 2012


    Date: Tuesday, October 16, 2012 @ 07:55:13
  Author: allan
Revision: 168872

db-move: moved python-pyasn1 from [staging] to [testing] (any)

Added:
  python-pyasn1/repos/testing-any/
  python-pyasn1/repos/testing-any/PKGBUILD
    (from rev 168833, python-pyasn1/repos/staging-any/PKGBUILD)
Deleted:
  python-pyasn1/repos/staging-any/

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

Copied: python-pyasn1/repos/testing-any/PKGBUILD (from rev 168833, python-pyasn1/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-10-16 11:55:13 UTC (rev 168872)
@@ -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.4
+pkgrel=1
+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=('1a766a6f999114240a91106a97112553aed9b081')
+
+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