blob: 9954a32a4a282baae5996832c7db393d74772603 (
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
33
|
# Maintainer: Grey Christoforo <first name at last name dot net>
pkgbase=python-lmfit
pkgname=('python-lmfit' 'python2-lmfit')
pkgver=0.9.11
pkgrel=1
pkgdesc="Least-Squares Minimization with Constraints for Python"
arch=('any')
url="http://lmfit.github.io/lmfit-py/"
license=('BSD')
source=(https://github.com/lmfit/lmfit-py/archive/${pkgver}.tar.gz)
md5sums=('227d48cf785119e4a249b2b5626ebbba')
#check() {
# cd "$srcdir/lmfit-py-$pkgver"
# nosetests3 tests
#}
package_python-lmfit(){
#checkdepends=('python-nose')
depends=('python' 'python-numpy' 'python-scipy' 'python-asteval')
cd "$srcdir/lmfit-py-$pkgver"
python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-lmfit(){
#checkdepends=('python2-nose')
depends=('python2' 'python2-numpy' 'python2-scipy' 'python2-asteval')
cd "$srcdir/lmfit-py-$pkgver"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
# vim:ts=2:sw=2:et:
|