[arch-commits] Commit in (3 files)

Balló György bgyorgy at archlinux.org
Tue Apr 17 18:56:01 UTC 2018


    Date: Tuesday, April 17, 2018 @ 18:55:57
  Author: bgyorgy
Revision: 316776

Move python-owslib from AUR with 32 votes

It's a dependency of qgis.

Added:
  python-owslib/
  python-owslib/trunk/
  python-owslib/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-owslib/trunk/PKGBUILD
===================================================================
--- python-owslib/trunk/PKGBUILD	                        (rev 0)
+++ python-owslib/trunk/PKGBUILD	2018-04-17 18:55:57 UTC (rev 316776)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Doug Newgard <scimmia at archlinux dot info>
+
+pkgbase=python-owslib
+pkgname=('python-owslib' 'python2-owslib')
+pkgver=0.16.0
+pkgrel=2
+pkgdesc='Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models'
+arch=(any)
+url='https://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=('700d96e13298916089b8d05a08a6533e0fab85f34c2dc22fd88b57e37ef320fa')
+
+package_python-owslib() {
+  pkgdesc+=' (Python 3 version)'
+  depends=(python-dateutil python-pyproj python-pytz python-requests)
+
+  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+=' (Python 2 version)'
+  depends=(python2-dateutil python2-pyproj python2-pytz python2-requests)
+
+  cd OWSLib-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
+}


Property changes on: python-owslib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list