[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Sun Jun 20 22:34:58 UTC 2021


    Date: Sunday, June 20, 2021 @ 22:34:58
  Author: arojas
Revision: 966111

New scipy dependency

Added:
  python-pythran/
  python-pythran/trunk/
  python-pythran/trunk/PKGBUILD

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

Added: python-pythran/trunk/PKGBUILD
===================================================================
--- python-pythran/trunk/PKGBUILD	                        (rev 0)
+++ python-pythran/trunk/PKGBUILD	2021-06-20 22:34:58 UTC (rev 966111)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
+# Contributor: xantares
+
+pkgname=python-pythran
+pkgver=0.9.11
+pkgrel=2
+pkgdesc='Ahead of Time compiler for numeric kernels'
+arch=(any)
+url='https://pythran.readthedocs.io/'
+license=(BSD)
+depends=(python-networkx python-ply python-numpy python-beniget python-six xsimd boost)
+makedepends=(python-setuptools python-pytest-runner)
+source=(https://files.pythonhosted.org/packages/source/p/pythran/pythran-$pkgver.tar.gz)
+sha256sums=('a317f91e2aade9f6550dc3bf40b5caeb45b7e012daf27e2b3e4ad928edb01667')
+
+build() {
+  cd pythran-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pythran-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  rm -r "$pkgdir"/usr/lib/python*/site-packages/pythran/{boost,xsimd} # Remove bundled boost and xsimd
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list