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

Antonio Rojas arojas at archlinux.org
Sun Jun 20 22:35:09 UTC 2021


    Date: Sunday, June 20, 2021 @ 22:35:09
  Author: arojas
Revision: 966112

archrelease: copy trunk to community-any

Added:
  python-pythran/repos/
  python-pythran/repos/community-any/
  python-pythran/repos/community-any/PKGBUILD
    (from rev 966111, python-pythran/trunk/PKGBUILD)

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

Copied: python-pythran/repos/community-any/PKGBUILD (from rev 966111, python-pythran/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-06-20 22:35:09 UTC (rev 966112)
@@ -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