[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Fri Mar 1 18:01:24 UTC 2019


    Date: Friday, March 1, 2019 @ 18:01:23
  Author: arojas
Revision: 437306

Add new sagemath dependency

Added:
  python-pplpy/
  python-pplpy/trunk/
  python-pplpy/trunk/PKGBUILD

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

Added: python-pplpy/trunk/PKGBUILD
===================================================================
--- python-pplpy/trunk/PKGBUILD	                        (rev 0)
+++ python-pplpy/trunk/PKGBUILD	2019-03-01 18:01:23 UTC (rev 437306)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_pipname=pplpy
+pkgbase=python-pplpy
+pkgname=(python2-pplpy python-pplpy)
+pkgver=0.8.4
+pkgrel=1
+pkgdesc="Python wrapper to the C++ Parma Polyhedra Library (PPL)"
+arch=(x86_64)
+url="https://gitlab.com/videlec/pplpy/"
+license=(LGPL2.1)
+makedepends=(cython2 cython python-cysignals python2-cysignals python-gmpy2 python2-gmpy2 ppl)
+source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+sha256sums=('b962914d5814edab320d00c11ca396b70c4ce1e67db7a6d59c4b0a3772a16836')
+
+prepare() {
+  cp -r $_pipname-$pkgver{,-py2}  
+}
+
+build() {
+  cd $_pipname-$pkgver
+  python setup.py build
+
+  cd ../$_pipname-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python2-pplpy() {
+  depends=(python2-cysignals python2-gmpy2 ppl)
+
+  cd $_pipname-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-pplpy() {
+  depends=(python-cysignals python-gmpy2 ppl)
+  
+  cd $_pipname-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+


More information about the arch-commits mailing list