summaryrefslogtreecommitdiff
path: root/community/py3-geojson/APKBUILD
blob: 3c33bb1fd68c6f0729099721f9246926fc681f2e (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-geojson
pkgver=2.5.0
pkgrel=4
pkgdesc="Python bindings and utilities for GeoJSON"
url="https://github.com/jazzband/geojson"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/g/geojson/geojson-$pkgver.tar.gz
	python-3.9.patch"
builddir="$srcdir/geojson-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="68d59a6c7d796549dba4e4e71219901c2d939c7f8f5794c1e6be7cadffb006ad99ac658e0159977b3ecc88cf5ef4f908d3837dddc54c70261291f8fa7b8ffbae  geojson-2.5.0.tar.gz
fbbbfa55963f77e331dee8e4aeb35b529a7dad3da552f23bbf3176d610900a45790bdf1bfc9b46102c773ddd02d56d3763f81b726d49a4acb8e14c7f369fd94d  python-3.9.patch"