summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6fa661b7f853f7109cad5537a190300c1e44002 (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
# Maintainer: Ivan Batrakov <blackfan321 at disroot dot org>
# Contributor: pumpkincheshire <me at pumpkinCheshire dot com>

pkgname='python-contextily'
_name=contextily
pkgver=1.5.1
pkgrel=1
pkgdesc='Context geo-tiles in Python'
arch=('any')
url='https://github.com/geopandas/contextily'
license=('MIT')
makedepends=(python-build python-installer python-wheel)
depends=(
  'python-geopy'
  'python-matplotlib'
  'python-mercantile'
  'python-pillow'
  'python-rasterio'
  'python-requests'
  'python-joblib'
  'python-xyzservices'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
b2sums=('cc0ced1dafc4dd423cdbcdaa76aedc701e7082493b239e089824f7bbbf1f68f041890b13e09d7c63d12f957bc5695ae2cd5b710e74a2cf6956befd9d3eae891d')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}