archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-sympy / trunk / PKGBUILD
blob6446783fc7053f11f2418ae5f6294b44d69b72a5
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
3 # Contributor: Thomas Dziedzic < gostrc at gmail >
4 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
5 # Contributor: Peter Garceau <RockyChimp@gmail.com>
7 pkgname=python-sympy
8 pkgver=1.12
9 pkgrel=1
10 arch=('any')
11 pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
12 url='https://sympy.org/en/index.html'
13 license=('BSD')
14 depends=('python-mpmath')
15 optdepends=('ipython: user friendly interface for isympy'
16             'python-symengine: optimized backend, set USE_SYMENGINE=1 to use')
17 makedepends=('python-setuptools')
18 source=("https://github.com/sympy/sympy/archive/sympy-$pkgver/sympy-$pkgver.tar.gz")
19 sha512sums=('96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360')
21 build() {
22   cd sympy-sympy-$pkgver
23   python setup.py build
26 check() {
27   cd sympy-sympy-$pkgver
28   python bin/test
31 package() {
32   cd sympy-sympy-$pkgver
34   python setup.py install --root "$pkgdir" --optimize=1
36   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE