[arch-commits] Commit in python-pyswip/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 05:00:26 UTC 2019
Date: Monday, November 4, 2019 @ 05:00:25
Author: felixonmars
Revision: 523154
archrelease: copy trunk to community-staging-any
Added:
python-pyswip/repos/community-staging-any/
python-pyswip/repos/community-staging-any/PKGBUILD
(from rev 523153, python-pyswip/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-pyswip/repos/community-staging-any/PKGBUILD (from rev 523153, python-pyswip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 05:00:25 UTC (rev 523154)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=python-pyswip
+pkgver=0.2.7
+pkgrel=3
+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