diff options
author | Erich Eckner <git@eckner.net> | 2018-08-07 08:05:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-08-07 08:08:20 +0200 |
commit | efc22702de0ff7fa08783283555af19359eafe8b (patch) | |
tree | 445c8511b65f62a649a4128868720eea497f100d /python-peakutils/PKGBUILD | |
parent | adc8fff0989b8783bb022e68a87d1bf4b0d49d0a (diff) | |
download | archlinuxewe.git.save-efc22702de0ff7fa08783283555af19359eafe8b.tar.xz |
recompile all python packages
Diffstat (limited to 'python-peakutils/PKGBUILD')
-rw-r--r-- | python-peakutils/PKGBUILD | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/python-peakutils/PKGBUILD b/python-peakutils/PKGBUILD index bea7edce..30c602ff 100644 --- a/python-peakutils/PKGBUILD +++ b/python-peakutils/PKGBUILD @@ -4,16 +4,33 @@ pkgbase=python-peakutils pkgname=('python-peakutils' 'python2-peakutils') pkgver=1.1.1 -pkgrel=1 +pkgrel='2' pkgdesc="Peak detection utilities for 1D data" arch=('any') url="https://pypi.python.org/pypi/PeakUtils" license=('MIT') -_depends=('python-numpy' 'python-scipy') -_makedepends=('python-setuptools') +_deppy2=( + 'python2>=2.7' + 'python2<2.8' +) +_deppy=( + 'python>=3.7' + 'python<3.8' +) +_depends=( + 'python-numpy' + 'python-scipy' +) +_makedepends=( + 'python-setuptools' +) makedepends=( - "${_depends[@]}" "${_depends[@]/python/python2}" - "${_makedepends[@]}" "${_makedepends[@]/python/python2}" + "${_deppy[@]}" + "${_deppy2[@]}" + "${_depends[@]}" + "${_depends[@]/python/python2}" + "${_makedepends[@]}" + "${_makedepends[@]/python/python2}" ) source=("https://pypi.python.org/packages/cf/a0/9e9c716221b541c8b919a5c36f098ef5a34329ea881ff44ff581b427a36a/PeakUtils-${pkgver}.tar.gz") md5sums=('edd12f75854195a7d955bc3276bca2b5') @@ -35,6 +52,7 @@ build() { package_python-peakutils() { depends=( + "${_deppy[@]}" "${_depends[@]}" ) @@ -44,6 +62,7 @@ package_python-peakutils() { package_python2-peakutils() { depends=( + "${_deppy2[@]}" "${_depends[@]/python/python2}" ) |