blob: 8a83e2a747c777904905e31a5eca8a90417d6b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
pkgbase=python-owslib
pkgname=('python-owslib' 'python2-owslib')
pkgver=0.16.0
pkgrel=1
pkgdesc='Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models'
arch=('any')
url='http://geopython.github.io/OWSLib'
license=('BSD')
makedepends=('python-setuptools' 'python2-setuptools'
'python2-dateutil' 'python2-pytz' 'python2-requests' 'python2-pyproj'
'python-dateutil' 'python-pytz' 'python-requests' 'python-pyproj')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/geopython/OWSLib/archive/$pkgver.tar.gz")
sha512sums=('a468352dfdb62bea1e6189efcc198237cb909051e51782abb15093e328ca7d3d379e88d0466e42c39ce9bc201a3be828a779193666bf9befe8d501355aaddbf4')
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/"
}
|