[arch-commits] Commit in python2-pyswip/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Jul 19 13:07:43 UTC 2017
Date: Wednesday, July 19, 2017 @ 13:07:42
Author: arodseth
Revision: 245671
archrelease: copy trunk to community-any
Added:
python2-pyswip/repos/community-any/PKGBUILD
(from rev 245670, python2-pyswip/trunk/PKGBUILD)
Deleted:
python2-pyswip/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-19 13:07:33 UTC (rev 245670)
+++ PKGBUILD 2017-07-19 13:07:42 UTC (rev 245671)
@@ -1,37 +0,0 @@
-# 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=('any')
-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() {
- cd "pyswip-$pkgver"
-
- python2 setup.py check
-}
-
-package() {
- cd "pyswip-$pkgver"
-
- python2 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:
Copied: python2-pyswip/repos/community-any/PKGBUILD (from rev 245670, python2-pyswip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-19 13:07:42 UTC (rev 245671)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: p2k <patrick.schneider at uni-ulm.de>
+
+pkgname=python2-pyswip
+pkgver=0.2.3
+pkgrel=3
+pkgdesc='Python wrapper for SWI-Prolog'
+arch=('any')
+url='https://github.com/yuce/pyswip'
+license=('MIT')
+depends=('python2' 'swi-prolog')
+makedepends=('python2-setuptools' 'git')
+source=("git://github.com/yuce/pyswip#commit=72771d9")
+sha256sums=('SKIP')
+
+build() {
+ cd pyswip
+
+ python2 setup.py build
+}
+
+check() {
+ cd pyswip
+
+ python2 setup.py check
+}
+
+package() {
+ cd pyswip
+
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ cp -R examples "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list