[arch-commits] Commit in (6 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Wed Nov 6 12:13:30 UTC 2013
Date: Wednesday, November 6, 2013 @ 13:13:30
Author: arodseth
Revision: 100591
Useful module for using Prolog from Python
Added:
python2-pyswip/
python2-pyswip/repos/
python2-pyswip/repos/community-i686/
python2-pyswip/repos/community-x86_64/
python2-pyswip/trunk/
python2-pyswip/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: python2-pyswip/trunk/PKGBUILD
===================================================================
--- python2-pyswip/trunk/PKGBUILD (rev 0)
+++ python2-pyswip/trunk/PKGBUILD 2013-11-06 12:13:30 UTC (rev 100591)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: p2k <patrick.schneider at uni-ulm.de>
+
+pkgname=python2-pyswip
+pkgver=0.2.3
+pkgrel=2
+pkgdesc='Python wrapper for SWI-Prolog'
+arch=('x86_64' 'i686')
+url='http://code.google.com/p/pyswip/'
+license=('MIT')
+source=("http://pyswip.googlecode.com/files/pyswip-$pkgver.tar.gz")
+depends=('python2' 'swi-prolog')
+makedepends=('setuptools')
+sha256sums=('dfaf68aeb04c9388d5f11311cacaab95f9a72a73f7a0595ac477e17545353b9d')
+
+build() {
+ cd "pyswip-$pkgver"
+
+ python2 setup.py build
+}
+
+check() {
+ python2 setup.py check
+}
+
+package() {
+ cd "pyswip-$pkgver"
+
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+ install -d "$pkgdir/usr/share/$pkgname"
+ cp -R README examples "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: python2-pyswip/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list