Date: Friday, October 1, 2021 @ 17:38:02 Author: arojas Revision: 1026484
archrelease: copy trunk to community-testing-any Added: python-sympy/repos/community-testing-any/ python-sympy/repos/community-testing-any/PKGBUILD (from rev 1026483, python-sympy/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: python-sympy/repos/community-testing-any/PKGBUILD (from rev 1026483, python-sympy/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-10-01 17:38:02 UTC (rev 1026484) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: Peter Garceau <rockych...@gmail.com> + +pkgname=python-sympy +pkgver=1.9 +pkgrel=1 +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 +}