[arch-commits] Commit in pylint/repos (staging-any staging-any/PKGBUILD)

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


    Date: Saturday, October 13, 2012 @ 20:15:40
  Author: stephane
Revision: 168679

archrelease: copy trunk to staging-any

Added:
  pylint/repos/staging-any/
  pylint/repos/staging-any/PKGBUILD
    (from rev 168678, pylint/trunk/PKGBUILD)

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

Copied: pylint/repos/staging-any/PKGBUILD (from rev 168678, pylint/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2012-10-14 00:15:40 UTC (rev 168679)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=pylint
+pkgver=0.25.2
+pkgrel=2
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="http://www.logilab.org/project/pylint"
+license=('GPL')
+depends=('python2-logilab-astng' 'python2')
+makedepends=('python2-distribute')
+optdepends=('tk: Pylint GUI')
+source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('52b1a671bacc115a953b1e0d423ecbaf9064ce2e')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py
+
+  python2 setup.py build
+}
+
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+  install -d "${pkgdir}/usr/share/man/man1"
+  install -m644 man/* "${pkgdir}/usr/share/man/man1"
+}




More information about the arch-commits mailing list