python3-shapely: update to 1.7.0, drop python2
This commit is contained in:
parent
98fee0f7c2
commit
53d593e479
|
@ -1,30 +0,0 @@
|
||||||
# Template file for 'python-shapely'
|
|
||||||
pkgname=python-shapely
|
|
||||||
version=1.7a1
|
|
||||||
revision=3
|
|
||||||
wrksrc="Shapely-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="shapely"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
|
||||||
makedepends="python-devel python-numpy python3-devel python3-numpy geos-devel"
|
|
||||||
depends="python-numpy"
|
|
||||||
short_desc="Library for manipulation and analysis of geometric objects for Python2"
|
|
||||||
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://github.com/Toblerity/Shapely"
|
|
||||||
distfiles="https://github.com/Toblerity/Shapely/archive/${version}.tar.gz"
|
|
||||||
checksum=d5163f46a99b96c4124b5df2a639dea2dcd7cb45b85128137807e3c9f06d3a16
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE.txt LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-shapely_package() {
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pycompile_module="shapely"
|
|
||||||
depends="python3-numpy"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE.txt LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-shapely
|
|
25
srcpkgs/python3-shapely/template
Normal file
25
srcpkgs/python3-shapely/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'python3-shapely'
|
||||||
|
pkgname=python3-shapely
|
||||||
|
reverts="1.7a1_1 1.7a1_2 1.7a1_3"
|
||||||
|
version=1.7.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="Shapely-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
|
makedepends="python3-devel python3-numpy geos-devel"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
|
short_desc="Library for manipulation and analysis of geometric objects for Python3"
|
||||||
|
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/Toblerity/Shapely"
|
||||||
|
distfiles="https://github.com/Toblerity/Shapely/archive/${version}.tar.gz"
|
||||||
|
checksum=0f4283d5591578340e36f649736b496d25a793a45b9a2c93b128d2a856f2089b
|
||||||
|
nocross="Build is crazy"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 -m pytest tests/
|
||||||
|
}
|
Loading…
Reference in a new issue