blob: 47542299297cf804b927940e3d17f48956b8f1b9 (
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.8
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=('56744e7bb1033a8ff0a69b6365c8b323')
#check() {
# cd "$srcdir/lmfit-py-$pkgver"
# nosetests3 tests
#}
package_python-lmfit(){
checkdepends=('python-nose')
depends=('python' 'python-numpy' 'python-scipy')
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')
cd "$srcdir/lmfit-py-$pkgver"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
# vim:ts=2:sw=2:et:
|