diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-18 12:29:23 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-18 12:29:23 -0500 |
commit | 1c67808a860dff59457d49effaf02fcf0d0448ef (patch) | |
tree | 67f51738a1b4785e5aa8762f5e1752ebf8fa7612 /pcr | |
parent | 2da69a08ce12325672e852ac2980ad25301242f6 (diff) | |
download | abslibre-1c67808a860dff59457d49effaf02fcf0d0448ef.tar.gz abslibre-1c67808a860dff59457d49effaf02fcf0d0448ef.tar.bz2 abslibre-1c67808a860dff59457d49effaf02fcf0d0448ef.zip |
python-owslib: add new package to [pcr] (required by qgis)
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-owslib/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/python-owslib/PKGBUILD b/pcr/python-owslib/PKGBUILD new file mode 100644 index 000000000..32efd8620 --- /dev/null +++ b/pcr/python-owslib/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer (Arch): Doug Newgard <scimmia at archlinux dot info> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgbase=python-owslib +pkgname=('python-owslib' 'python2-owslib') +pkgver=0.11.2 +pkgrel=1 +arch=('any') +url='http://geopython.github.io/OWSLib' +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/geopython/OWSLib/archive/$pkgver.tar.gz") +sha256sums=('df3a3a40b57b9b53c1dfbc8b27388453e2f92ed008fadda883a8376d67882a6a') + +package_python-owslib() { + pkgdesc='Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models' + depends=('python-dateutil' 'python-pytz' 'python-requests' 'python-pyproj') + + cd OWSLib-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} + +package_python2-owslib() { + pkgdesc='Python2 package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models' + depends=('python2-dateutil' 'python2-pytz' 'python2-requests' 'python2-pyproj') + + cd OWSLib-$pkgver + + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} |