summaryrefslogtreecommitdiff
path: root/pcr/mathics/PKGBUILD
blob: dc317f02266b31926e8a5cb400fe788d67dfdcd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer (AUR): Victor <v1c70rp@gmail.com>
# Contributor (AUR): Stefan Husmann <stefan-husmann@t-online.de>
# Contributor (AUR): sn6uv mathics@angusgriffith.com
# Contributor (AUR): Lex Black <autumn-wind at web dot de>
# Contributor (AUR): rnestler
# Contributor (AUR): mefistofeles

# parabola changes and rationale:
#  no changes.

pkgname=mathics
pkgver=1.0
pkgrel=3
pkgdesc="A general-purpose computer algebra system."
arch=('any')
url="https://mathics.github.io/"
license=('GPL3')
depends=('python' 'python-colorama' 'python-django18' 'python-mpmath'
         'python-dateutil' 'python-six' 'python-sympy')
makedepends=('python-setuptools')
source=("mathics-$pkgver.tgz::https://github.com/mathics/Mathics/releases/download/v$pkgver/mathics-$pkgver.tgz")
sha256sums=('865f146738e220d4f3dfaea11bcef9330957963644a33f67a58255bc29741282')

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root=${pkgdir} --optimize=1
}