New package: python-shapely-1.7a1
This commit is contained in:
parent
1f79ed07a9
commit
e38ec1cf33
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-shapely/template
Normal file
30
srcpkgs/python-shapely/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'python-shapely'
|
||||
pkgname=python-shapely
|
||||
version=1.7a1
|
||||
revision=1
|
||||
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
srcpkgs/python3-shapely
Symbolic link
1
srcpkgs/python3-shapely
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-shapely
|
Loading…
Add table
Add a link
Reference in a new issue