[arch-commits] Commit in python-pyswip/repos/community-any (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Fri Aug 22 08:55:21 UTC 2014


    Date: Friday, August 22, 2014 @ 10:55:20
  Author: arodseth
Revision: 117752

archrelease: copy trunk to community-any

Added:
  python-pyswip/repos/community-any/PKGBUILD
    (from rev 117751, python-pyswip/trunk/PKGBUILD)

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

Copied: python-pyswip/repos/community-any/PKGBUILD (from rev 117751, python-pyswip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-08-22 08:55:20 UTC (rev 117752)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=python-pyswip
+pkgver=0.2.3
+pkgrel=1
+pkgdesc='Python wrapper for SWI-Prolog'
+arch=('any')
+url='https://github.com/swenzel2/pyswip3'
+license=('MIT')
+depends=('python' 'swi-prolog')
+makedepends=('setuptools' 'git')
+source=("git://github.com/swenzel2/pyswip3.git#commit=0145fd1f70")
+sha256sums=('SKIP')
+
+build() {
+  cd pyswip3
+
+  python setup.py build
+}
+
+check() {
+  cd pyswip3
+
+  python setup.py check
+}
+
+package() {
+  cd pyswip3
+
+  python setup.py install --prefix=/usr --root="$pkgdir"
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -R README examples "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list