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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:43:17 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:43:17
  Author: foutrelis
Revision: 1063276

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyswip/repos/community-staging-any/PKGBUILD (from rev 1063275, python-pyswip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:43:17 UTC (rev 1063276)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=python-pyswip
+pkgver=0.2.10
+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+$url#commit=9e9ca3e0059d156397fb020c2bdaef70f59529a6") # tag: v0.2.10
+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"
+}



More information about the arch-commits mailing list