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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 16:49:52 UTC 2016


    Date: Sunday, December 25, 2016 @ 16:49:51
  Author: bpiotrowski
Revision: 201975

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyswip/repos/community-staging-any/PKGBUILD (from rev 201974, python-pyswip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 16:49:51 UTC (rev 201975)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+
+pkgname=python-pyswip
+pkgver=0.2.3
+pkgrel=5
+pkgdesc='Python wrapper for SWI-Prolog'
+arch=('any')
+url='https://github.com/yuce/pyswip'
+license=('MIT')
+depends=('python' 'swi-prolog')
+makedepends=('python-setuptools' 'git')
+source=("git://github.com/yuce/pyswip#commit=72771d9")
+sha256sums=('SKIP')
+
+build() {
+  cd pyswip
+
+  python setup.py build
+}
+
+check() {
+  cd pyswip
+
+  python setup.py check
+}
+
+package() {
+  cd pyswip
+
+  python setup.py install --prefix=/usr --root="$pkgdir"
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -R 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