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

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 18:03:47 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:03:46
  Author: foutrelis
Revision: 348836

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyswip/repos/community-staging-any/PKGBUILD (from rev 348835, python-pyswip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 18:03:46 UTC (rev 348836)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=python-pyswip
+pkgver=0.2.7
+pkgrel=2
+pkgdesc='Python wrapper for SWI-Prolog'
+arch=('any')
+url='https://github.com/yuce/pyswip'
+license=('MIT')
+depends=('python' 'swi-prolog')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/yuce/pyswip#tag=v$pkgver")
+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 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/yuce/pyswip
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list