summaryrefslogtreecommitdiff
path: root/python-lmfit/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 15:20:44 +0200
committerErich Eckner <git@eckner.net>2018-07-09 15:22:51 +0200
commit642ca5434bccfc73c08ed13034e996e134cb7b96 (patch)
tree29d5bb62dc75c766788bd53408ecdab7e1a64bca /python-lmfit/PKGBUILD
parentc53550e4045c42c589c38354910ec6572956f881 (diff)
downloadarchlinuxewe.git.save-642ca5434bccfc73c08ed13034e996e134cb7b96.tar.xz
python-lmfit: cleanup
Diffstat (limited to 'python-lmfit/PKGBUILD')
-rw-r--r--python-lmfit/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/python-lmfit/PKGBUILD b/python-lmfit/PKGBUILD
index a7d0160e..b7265163 100644
--- a/python-lmfit/PKGBUILD
+++ b/python-lmfit/PKGBUILD
@@ -2,6 +2,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgbase=python-lmfit
+_pkgname=lmfit-py
pkgname=('python-lmfit' 'python2-lmfit')
pkgver=0.9.11
pkgrel=1
@@ -9,9 +10,16 @@ pkgdesc="Least-Squares Minimization with Constraints for Python"
arch=('any')
url="http://lmfit.github.io/lmfit-py/"
license=('BSD')
-_depends=('python' 'python-numpy' 'python-scipy' 'python-asteval' 'python-uncertainties')
-_makedepends=('python-setuptools')
-_checkdepends=('python-nose' 'python-uncertainties')
+_depends=(
+ 'python-asteval>=0.9.12'
+ 'python-numpy>=1.10'
+ 'python-scipy>=0.17'
+ 'python-six>1.10'
+ 'python-uncertainties>=3.0')
+_makedepends=(
+ 'python-setuptools')
+_checkdepends=(
+ 'python-nose')
makedepends=(
"${_depends[@]}" "${_depends[@]/python/python2}"
"${_makedepends[@]}" "${_makedepends[@]/python/python2}"
@@ -19,7 +27,7 @@ makedepends=(
checkdepends=(
"${_checkdepends[@]}" "${_checkdepends[@]/python/python2}"
)
-source=("https://github.com/lmfit/lmfit-py/archive/${pkgver}.tar.gz")
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/lmfit/lmfit-py/archive/${pkgver}.tar.gz")
sha512sums=('e0fdbc0b969a53d94939b7d9821d0ef2f718d39481dcaabc2a24af239b5cf24bcb058579f7555854144757ea6f9ef7b458b71b64d8af5e1881037012aa774662')
prepare() {