blob: c45268091992838f57dc3e3ea4f37c03fafc5a31 (
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
35
36
37
38
39
40
41
42
43
|
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-shapely
pkgver=2.0.0
pkgrel=0
pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
url="https://pypi.python.org/pypi/Shapely"
arch="all !riscv64" # py3-matplotlib
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 --prefix=/usr --root="$pkgdir"
find "$pkgdir"/usr/lib -depth -type d -name tests -exec rm -rf {} +
}
sha512sums="
2cb09b76d8fb8168ac2db13c8f336aa2c3e7830f898c9477f56f073d8898fac765e554acce36fee0d847f38b33c59fbdd07cd311881ad4af739c34ab6fb37a56 shapely-2.0.0.tar.gz
"
|