Date: Saturday, April 10, 2021 @ 09:00:31 Author: arojas Revision: 915426
archrelease: copy trunk to community-testing-any Added: python-sympy/repos/community-testing-any/ python-sympy/repos/community-testing-any/PKGBUILD (from rev 915425, python-sympy/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: python-sympy/repos/community-testing-any/PKGBUILD (from rev 915425, python-sympy/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-04-10 09:00:31 UTC (rev 915426) @@ -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.8 +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=("$pkgname-$pkgver.tar.gz::https://github.com/sympy/sympy/archive/sympy-$pkgver.tar.gz") +sha512sums=('61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7') + +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 +}