summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-24 15:12:12 +0200
committerErich Eckner <git@eckner.net>2017-09-24 15:12:12 +0200
commit75ad4107ea5be99f0af167ecb0c059fc602eabcf (patch)
tree5fbdc752642c3f7845a164962a6dcd1b85487b8e
parentc538cb5f9f0cdab83071c5147d439ef2276dc29a (diff)
downloadarchlinuxewe-75ad4107ea5be99f0af167ecb0c059fc602eabcf.tar.xz
python-owslib neu
-rw-r--r--python-owslib/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/python-owslib/PKGBUILD b/python-owslib/PKGBUILD
new file mode 100644
index 000000000..948d22a7c
--- /dev/null
+++ b/python-owslib/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Doug Newgard <scimmia at archlinux dot info>
+
+pkgbase=python-owslib
+pkgname=('python-owslib' 'python2-owslib')
+pkgver=0.15.0
+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=('3a0cb567ffa8a574991feb686ea1f2d3f9054ea0e625bcd25f7747f63f88d5ea')
+
+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 -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
+
+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 -t "$pkgdir/usr/share/licenses/$pkgname/"
+}