[arch-commits] Commit in python-logilab-astng/repos (staging-any staging-any/PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Sun Oct 14 00:11:36 UTC 2012


    Date: Saturday, October 13, 2012 @ 20:11:36
  Author: stephane
Revision: 168677

archrelease: copy trunk to staging-any

Added:
  python-logilab-astng/repos/staging-any/
  python-logilab-astng/repos/staging-any/PKGBUILD
    (from rev 168676, python-logilab-astng/trunk/PKGBUILD)

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

Copied: python-logilab-astng/repos/staging-any/PKGBUILD (from rev 168676, python-logilab-astng/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2012-10-14 00:11:36 UTC (rev 168677)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgbase=python-logilab-astng
+pkgname=('python2-logilab-astng')
+pkgver=0.24.0
+pkgrel=2
+pkgdesc="Extend python's abstract syntax tree"
+arch=('any')
+url="http://www.logilab.org/project/logilab-astng"
+license=('LGPL')
+makedepends=('python2-distribute' 'python2-logilab-common')
+source=(ftp://ftp.logilab.org/pub/astng/logilab-astng-${pkgver}.tar.gz)
+sha1sums=('7883e6b87ae9defa33feb469924fcd9943214036')
+
+build() {
+  cd "${srcdir}/logilab-astng-${pkgver}"
+
+  python2 setup.py build
+}
+
+package_python2-logilab-astng() {
+  depends=('python2-logilab-common')
+  cd "${srcdir}/logilab-astng-${pkgver}"
+
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+  # Resolve conflict with python-logilab-common
+  rm -f "${pkgdir}"/usr/lib/python2.7/site-packages/logilab/__init__.py
+
+  find "${pkgdir}"/usr/lib/python2.7/site-packages/logilab/astng/ -type f -exec chmod ugo+r {} \;
+}




More information about the arch-commits mailing list