Date: Tuesday, November 30, 2021 @ 21:12:04
  Author: foutrelis
Revision: 1058834

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python-pplpy/repos/community-staging-x86_64/PKGBUILD (from rev 1058833, 
python-pplpy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-30 21:12:04 UTC (rev 1058834)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pipname=pplpy
+pkgname=python-pplpy
+pkgver=0.8.7
+pkgrel=2
+pkgdesc="Python wrapper to the C++ Parma Polyhedra Library (PPL)"
+arch=(x86_64)
+url="https://gitlab.com/videlec/pplpy/";
+license=(LGPL2.1)
+depends=(python-cysignals python-gmpy2 ppl)
+makedepends=(cython python-sphinx)
+source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz";)
+sha256sums=('500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd')
+
+build() {
+  cd $_pipname-$pkgver
+  python setup.py build
+
+  _pythonver=`python -c "from sysconfig import get_python_version; 
print(get_python_version())"`
+  PYTHONPATH="$PWD/build/lib.linux-x86_64-$_pythonver" make -C docs html
+}
+
+package() {
+  cd $_pipname-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  mkdir -p "$pkgdir"/usr/share/doc/pplpy
+  cp -r docs/build/html/* "$pkgdir"/usr/share/doc/pplpy
+}

Reply via email to