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

Alexander Fehr alexanderf at archlinux.org
Sat Dec 6 16:44:54 UTC 2008


    Date: Saturday, December 6, 2008 @ 11:44:54
  Author: alexanderf
Revision: 20767

upgpkg: pylint 0.15.2-1

Added:
  pylint/trunk/ChangeLog
Modified:
  pylint/trunk/PKGBUILD
Deleted:
  pylint/trunk/pylint.install

----------------+
 ChangeLog      |    8 ++++++++
 PKGBUILD       |   20 ++++++++++----------
 pylint.install |   10 ----------
 3 files changed, 18 insertions(+), 20 deletions(-)

Added: ChangeLog
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2008-12-06 16:44:54 UTC (rev 20767)
@@ -0,0 +1,8 @@
+2008-11-30  Alexander Fehr  <pizzapunk gmail com>
+
+  * pylint-0.15.2-1:
+  New upstream release.
+  New maintainer.
+  Removed sha1sums.
+  Replaced install file with optdepends.
+  Added ChangeLog.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-06 16:43:37 UTC (rev 20766)
+++ PKGBUILD	2008-12-06 16:44:54 UTC (rev 20767)
@@ -1,23 +1,23 @@
 # $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=pylint
-pkgver=0.14.0
+pkgver=0.15.2
 pkgrel=1
 pkgdesc="Python code static checker"
 arch=('i686' 'x86_64')
 url="http://www.logilab.org/project/pylint"
 license=('GPL')
 depends=('python-logilab-astng')
-install=pylint.install
-source=(ftp://ftp.logilab.fr/pub/pylint/pylint-$pkgver.tar.gz)
-md5sums=('a6a6a1c68e56506d6fca7569f622767a')
-sha1sums=('b0074cca2083792b5602f33d8e7be33a9ab4322f')
+optdepends=('tk: Pylint GUI')
+source=(ftp://ftp.logilab.org/pub/pylint/pylint-$pkgver.tar.gz)
+md5sums=('98f3917fc4d0855c8f0eab9761533835')
 
 build() {
-  cd $startdir/src/pylint-$pkgver
-  python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
+  cd "$srcdir/pylint-$pkgver"
 
-  install -D -m644 man/pylint.1 $startdir/pkg/usr/share/man/man1/pylint.1
+  python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+
+  mkdir -p "$pkgdir/usr/share/man/man1" || return 1
+  install -m644 man/* "$pkgdir/usr/share/man/man1" || return 1
 }

Deleted: pylint.install
===================================================================
--- pylint.install	2008-12-06 16:43:37 UTC (rev 20766)
+++ pylint.install	2008-12-06 16:44:54 UTC (rev 20767)
@@ -1,10 +0,0 @@
-post_install() {
-  cat << _EOF
-    Optional packages for Pylint:
-      Pylint GUI: 'tk'
-_EOF
-}
-
-post_upgrade() {
-  post_install
-}




More information about the arch-commits mailing list