[arch-commits] Commit in pylint/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Jun 22 13:57:44 EDT 2010


    Date: Tuesday, June 22, 2010 @ 13:57:44
  Author: andrea
Revision: 83723

upgpkg: pylint 0.21.1-1
upstream release

Modified:
  pylint/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-22 17:56:04 UTC (rev 83722)
+++ PKGBUILD	2010-06-22 17:57:44 UTC (rev 83723)
@@ -1,23 +1,24 @@
 # $Id$
+# Maintainer:
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=pylint
-pkgver=0.19.0
+pkgver=0.21.1
 pkgrel=1
-pkgdesc="Python code static checker"
+pkgdesc="A python tool that checks if a module satisfies a coding standard"
 arch=('any')
 url="http://www.logilab.org/project/pylint"
 license=('GPL')
 depends=('python-logilab-astng')
 optdepends=('tk: Pylint GUI')
-source=(http://ftp.logilab.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('c5f27fe29234e72cd3f9c2a5df307050')
+source=("http://ftp.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('70f82198cde208b9118e81a43f3c7d80')
 
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+  python setup.py install --prefix=/usr --root="${pkgdir}"
 
-  mkdir -p "$pkgdir/usr/share/man/man1" || return 1
-  install -m644 man/* "$pkgdir/usr/share/man/man1" || return 1
+  install -d "${pkgdir}/usr/share/man/man1"
+  install -m644 man/* "${pkgdir}/usr/share/man/man1"
 }



More information about the arch-commits mailing list