summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e14d8128b521..26c47ab06ab6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python2-py6s
pkgdesc = Python 2.7 interface to the 6S Radiative Transfer Model
- pkgver = 1.7.0
+ pkgver = 1.7.2
pkgrel = 1
url = http://py6s.rtwilson.com
arch = any
@@ -12,8 +12,7 @@ pkgbase = python2-py6s
depends = python2-pysolar
optdepends = python2-pandas: AERONET data file support
options = !emptydirs
- source = https://files.pythonhosted.org/packages/1c/ea/fdb4fe3e289e3c14e3bdc473f6b6f595ceb476399600fab21c92db97c82a/Py6S-1.7.0.tar.gz
- sha256sums = e16cc28e54a59d3908b3902744d261046630e6811cb50b6a13e746f68d421b8b
+ source = https://pypi.python.org/packages/source/P/Py6S/Py6S-1.7.2.tar.gz
+ sha256sums = 5c0d0b47607c4ecdf22a81242af8369fc3b99249da0e23e25e9e7ac554d9adcc
pkgname = python2-py6s
-
diff --git a/PKGBUILD b/PKGBUILD
index c8591bc146bf..a74b76fd3cbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,19 @@
# Maintainer: Danilo J. S. Bellini <danilo dot bellini at gmail dot com>
_name=Py6S
pkgname=('python2-py6s')
-pkgver=1.7.0
+pkgver=1.7.2
pkgrel=1
pkgdesc="Python 2.7 interface to the 6S Radiative Transfer Model"
arch=('any')
+_pypi='https://pypi.python.org'
url='http://py6s.rtwilson.com'
license=('LGPL')
makedepends=('python2-setuptools')
depends=('6sv11' 'python2-scipy' 'python2-matplotlib' 'python2-pysolar')
optdepends=('python2-pandas: AERONET data file support')
options=(!emptydirs)
-sha256sums=('e16cc28e54a59d3908b3902744d261046630e6811cb50b6a13e746f68d421b8b')
-_pypi='https://files.pythonhosted.org/packages'
-_path='1c/ea/fdb4fe3e289e3c14e3bdc473f6b6f595ceb476399600fab21c92db97c82a'
-source=("$_pypi/$_path/$_name-$pkgver.tar.gz")
+source=("$_pypi/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('5c0d0b47607c4ecdf22a81242af8369fc3b99249da0e23e25e9e7ac554d9adcc')
prepare() {
# Updates the shebang in Python scripts for Python 2