[arch-commits] Commit in python-sympy/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 21:43:45 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:43:44
Author: foutrelis
Revision: 1058979
archrelease: copy trunk to community-staging-any
Added:
python-sympy/repos/community-staging-any/
python-sympy/repos/community-staging-any/PKGBUILD
(from rev 1058977, python-sympy/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-sympy/repos/community-staging-any/PKGBUILD (from rev 1058977, python-sympy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 21:43:44 UTC (rev 1058979)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Peter Garceau <RockyChimp at gmail.com>
+
+pkgname=python-sympy
+pkgver=1.9
+pkgrel=2
+arch=('any')
+pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
+url='https://sympy.org/en/index.html'
+license=('BSD')
+depends=('python-mpmath')
+optdepends=('ipython: user friendly interface for isympy'
+ 'python-symengine: optimized backend, set USE_SYMENGINE=1 to use')
+makedepends=('python-setuptools')
+source=("https://github.com/sympy/sympy/archive/sympy-$pkgver/sympy-$pkgver.tar.gz")
+sha512sums=('139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c')
+
+build() {
+ cd sympy-sympy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd sympy-sympy-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd sympy-sympy-$pkgver
+
+ python setup.py install --root "$pkgdir" --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list