From e38ec1cf33eaf2e0a6b0d2114adc3ccd1ccc8d26 Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Thu, 6 Dec 2018 17:46:52 -0500 Subject: [PATCH] New package: python-shapely-1.7a1 --- srcpkgs/python-shapely/template | 30 ++++++++++++++++++++++++++++++ srcpkgs/python3-shapely | 1 + 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python-shapely/template create mode 120000 srcpkgs/python3-shapely diff --git a/srcpkgs/python-shapely/template b/srcpkgs/python-shapely/template new file mode 100644 index 0000000000..04a1488ebb --- /dev/null +++ b/srcpkgs/python-shapely/template @@ -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 " +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 new file mode 120000 index 0000000000..525073af06 --- /dev/null +++ b/srcpkgs/python3-shapely @@ -0,0 +1 @@ +python-shapely \ No newline at end of file