[arch-commits] Commit in python-owslib/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jul 8 13:56:29 UTC 2018


    Date: Sunday, July 8, 2018 @ 13:56:29
  Author: foutrelis
Revision: 354924

archrelease: copy trunk to community-staging-any

Added:
  python-owslib/repos/community-staging-any/
  python-owslib/repos/community-staging-any/PKGBUILD
    (from rev 354923, python-owslib/trunk/PKGBUILD)

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

Copied: python-owslib/repos/community-staging-any/PKGBUILD (from rev 354923, python-owslib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-08 13:56:29 UTC (rev 354924)
@@ -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=3
+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/"
+}



More information about the arch-commits mailing list