1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-shapely/APKBUILD
2023-03-01 23:37:51 +00:00

43 lines
966 B
Text
Executable file

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-shapely
pkgver=2.0.1
pkgrel=1
pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
url="https://pypi.org/project/Shapely"
arch="all"
license="BSD-3-Clause"
depends="
py3-numpy
"
makedepends="
geos-dev
py3-matplotlib
py3-numpy-dev
py3-packaging
py3-setuptools
python3-dev
cython
"
checkdepends="
py3-pytest
"
source="https://files.pythonhosted.org/packages/source/s/shapely/shapely-$pkgver.tar.gz"
builddir="$srcdir/shapely-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
find "$pkgdir"/usr/lib -depth -type d -name tests -exec rm -rf {} +
}
sha512sums="
3468e49392bc7f6f62a3c26308d9e75d853678d509bb6869dcf745f2b6dda1f654589a84cb967897f63cc071f678b2ae4cde4382ff27e11ceb891f515392b96a shapely-2.0.1.tar.gz
"