blob: de8e6fc2bb5a7c52b1e4d9503292794ad03f73a3 (
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
|
# Maintainer: a821
# Contributor: PumpkinCheshire <me at pumpkincheshire dot com>
pkgname=python-xyzservices
_name=xyzservices
pkgver=2024.9.0
pkgrel=1
pkgdesc='Provides a repository of available XYZ services offering raster basemap tiles'
arch=('any')
url="https://github.com/geopandas/xyzservices"
license=('BSD-3-Clause')
depends=('python')
makedepends=(
'python-setuptools-scm'
'python-wheel'
'python-build'
'python-installer'
)
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/$_name-$pkgver.tar.gz")
b2sums=('aec2048c9f276a2ec6d5a9f66997ee73d02a0d961f7b2a6193bb151f4f7d181eb1d87291aab94dcfa1568b966cdbc96608a3f5ba073d2f71149a12bd22141afc')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|