Date: Thursday, April 6, 2023 @ 16:49:57
Author: felixonmars
Revision: 1439735
archrelease: copy trunk to community-staging-any
Added:
python-opt_einsum/repos/community-staging-any/
python-opt_einsum/repos/community-staging-any/PKGBUILD
(from rev 1439718, python-opt_einsum/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-opt_einsum/repos/community-staging-any/PKGBUILD (from rev
1439718, python-opt_einsum/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 16:49:57 UTC (rev 1439735)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Adrien Wu <[email protected]>
+pkgname=python-opt_einsum
+pkgver=3.3.0
+pkgrel=6
+pkgdesc="Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with
contraction order optimization"
+url="https://github.com/dgasmith/opt_einsum"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+_name=opt_einsum
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('59f6475f77bbc37dcf7cd748519c0ec60722e91e63ca114e68821c0c54a46549')
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}