[arch-commits] Commit in python-pyswip/repos (2 files)

Jelle van der Waa jelle at archlinux.org
Sun Sep 20 16:10:32 UTC 2015


    Date: Sunday, September 20, 2015 @ 18:10:31
  Author: jelle
Revision: 141311

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyswip/repos/community-staging-any/PKGBUILD (from rev 141310, python-pyswip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 16:10:31 UTC (rev 141311)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=python-pyswip
+pkgver=0.2.3
+pkgrel=2
+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