[arch-commits] Commit in namcap/repos (core-any extra-any extra-any/PKGBUILD)

Dave Reisner dreisner at archlinux.org
Mon Jan 16 21:00:31 UTC 2012


    Date: Monday, January 16, 2012 @ 16:00:30
  Author: dreisner
Revision: 146726

db-move: moved namcap from [core] to [extra] (any)

Added:
  namcap/repos/extra-any/
  namcap/repos/extra-any/PKGBUILD
    (from rev 146725, namcap/repos/core-any/PKGBUILD)
Deleted:
  namcap/repos/core-any/

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

Copied: namcap/repos/extra-any/PKGBUILD (from rev 146725, namcap/repos/core-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-01-16 21:00:30 UTC (rev 146726)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=namcap
+pkgver=3.1
+pkgrel=1
+pkgdesc="A Pacman package analyzer"
+arch=('any')
+url="http://projects.archlinux.org/namcap.git/"
+license=('GPL')
+depends=('python' 'pyalpm' 'licenses')
+makedepends=('python-distribute')
+source=(ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.gz)
+md5sums=('fab0d4dc34aa4d9e10cbca7daf2c2c5d')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  env PARSE_PKGBUILD_PATH=${srcdir}/${pkgname}-${pkgver} \
+      PATH=${srcdir}/${pkgname}-${pkgver}:$PATH \
+      python setup.py test || true
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  python setup.py install --root=${pkgdir}
+}




More information about the arch-commits mailing list