From a8b6565d0de8738c82c2dcdc4de816ef6cbd8ddc Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Thu, 5 Mar 2020 13:22:57 -0500 Subject: [PATCH] python3-shapely: update to 1.7.0, drop python2 --- srcpkgs/python-shapely/template | 30 ------------------------------ srcpkgs/python3-shapely | 1 - srcpkgs/python3-shapely/template | 20 ++++++++++++++++++++ 3 files changed, 20 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-shapely/template delete mode 120000 srcpkgs/python3-shapely create mode 100644 srcpkgs/python3-shapely/template diff --git a/srcpkgs/python-shapely/template b/srcpkgs/python-shapely/template deleted file mode 100644 index 114726838f9..00000000000 --- a/srcpkgs/python-shapely/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-shapely b/srcpkgs/python3-shapely deleted file mode 120000 index 525073af061..00000000000 --- a/srcpkgs/python3-shapely +++ /dev/null @@ -1 +0,0 @@ -python-shapely \ No newline at end of file diff --git a/srcpkgs/python3-shapely/template b/srcpkgs/python3-shapely/template new file mode 100644 index 00000000000..05db7483cf4 --- /dev/null +++ b/srcpkgs/python3-shapely/template @@ -0,0 +1,20 @@ +# 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" +short_desc="Library for manipulation and analysis of geometric objects for Python3" +maintainer="Karl Nilsson " +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 +}