wok annotate python-shapely/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (19 months ago)
parents 076f424196b2
children c470ca10c896
rev   line source
pascal@16723 1 # SliTaz package receipt.
pascal@16723 2
pascal@16723 3 PACKAGE="python-shapely"
Hans-G?nter@25236 4 VERSION="1.7.1"
pascal@16723 5 CATEGORY="development"
pascal@16723 6 SHORT_DESC="Manipulation and analysis of geometric objects in the Cartesian plane."
pascal@16723 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16723 8 LICENSE="BSD"
Hans-G?nter@23560 9 WEB_SITE="https://pypi.org/project/Shapely/"
Hans-G?nter@25236 10 REPOLOGY="python:shapely"
Hans-G?nter@23560 11
pascal@16723 12 SOURCE="Shapely"
pascal@16723 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23560 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@16723 15
Hans-G?nter@23560 16 DEPENDS="geos python"
Hans-G?nter@23560 17 BUILD_DEPENDS="geos-dev python python-dev"
pascal@16723 18
pascal@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
pascal@24288 23 }
pascal@24288 24
pascal@16723 25 # Rules to configure and make the package.
pascal@16723 26 compile_rules()
pascal@16723 27 {
pascal@16723 28 python setup.py install --root=$DESTDIR
pascal@16723 29 }
pascal@16723 30
pascal@16723 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16723 32 genpkg_rules()
pascal@16723 33 {
Hans-G?nter@25236 34 cook_copy_folders lib
pascal@16723 35 }