mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
31 lines
918 B
Bash
31 lines
918 B
Bash
# Maintainer: a821
|
|
# Contributor: PumpkinCheshire <me at pumpkincheshire dot com>
|
|
|
|
pkgname=python-xyzservices
|
|
_name=xyzservices
|
|
pkgver=2025.1.0
|
|
pkgrel=1
|
|
pkgdesc='Provides a repository of available XYZ services offering raster basemap tiles'
|
|
arch=('x86_64')
|
|
url="https://github.com/geopandas/xyzservices"
|
|
license=('BSD')
|
|
depends=('python')
|
|
makedepends=(
|
|
'python-setuptools-scm'
|
|
'python-wheel'
|
|
'python-build'
|
|
'python-installer'
|
|
)
|
|
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
|
|
b2sums=('44d31ed59e3c68db9022b27fad0c373f04d94937adf65d016acda474658c4e86aecee98b78d5663a56484d31df8c5025e6110bfffb7f1704c19417d19dec5b28')
|
|
|
|
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"
|
|
}
|