[arch-commits] Commit in (5 files)
Alexander Rødseth
arodseth at archlinux.org
Fri Aug 22 08:53:10 UTC 2014
Date: Friday, August 22, 2014 @ 10:53:10
Author: arodseth
Revision: 117750
Added the python3 version of python2-swip.
Added:
python-pyswip/
python-pyswip/repos/
python-pyswip/repos/community-any/
python-pyswip/trunk/
python-pyswip/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: python-pyswip/trunk/PKGBUILD
===================================================================
--- python-pyswip/trunk/PKGBUILD (rev 0)
+++ python-pyswip/trunk/PKGBUILD 2014-08-22 08:53:10 UTC (rev 117750)
@@ -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')
+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