[arch-commits] Commit in python-pplpy (3 files)

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


    Date: Friday, March 1, 2019 @ 18:01:49
  Author: arojas
Revision: 437307

archrelease: copy trunk to community-x86_64

Added:
  python-pplpy/repos/
  python-pplpy/repos/community-x86_64/
  python-pplpy/repos/community-x86_64/PKGBUILD
    (from rev 437306, python-pplpy/trunk/PKGBUILD)

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

Copied: python-pplpy/repos/community-x86_64/PKGBUILD (from rev 437306, python-pplpy/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-03-01 18:01:49 UTC (rev 437307)
@@ -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