[arch-commits] Commit in (4 files)

Eric Bélanger eric at archlinux.org
Thu Mar 22 15:07:04 EDT 2012


    Date: Thursday, March 22, 2012 @ 15:07:04
  Author: eric
Revision: 154080

Add new optdepends for gajim

Added:
  python-pyasn1/
  python-pyasn1/repos/
  python-pyasn1/trunk/
  python-pyasn1/trunk/PKGBUILD

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

Added: python-pyasn1/trunk/PKGBUILD
===================================================================
--- python-pyasn1/trunk/PKGBUILD	                        (rev 0)
+++ python-pyasn1/trunk/PKGBUILD	2012-03-22 19:07:04 UTC (rev 154080)
@@ -0,0 +1,34 @@
+# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
+# Maintainer: Eric Belanger <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