wok annotate python-shapely/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 1df6fa555414
children 0f797f4527f9
rev   line source
pascal@16723 1 # SliTaz package receipt.
pascal@16723 2
pascal@16723 3 PACKAGE="python-shapely"
Hans-G?nter@23560 4 VERSION="1.7.0"
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@23560 10
pascal@16723 11 SOURCE="Shapely"
pascal@16723 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23560 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@16723 14
Hans-G?nter@23560 15 DEPENDS="geos python"
Hans-G?nter@23560 16 BUILD_DEPENDS="geos-dev python python-dev"
pascal@16723 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
pascal@24288 22 }
pascal@24288 23
pascal@16723 24 # Rules to configure and make the package.
pascal@16723 25 compile_rules()
pascal@16723 26 {
pascal@16723 27 python setup.py install --root=$DESTDIR
pascal@16723 28 }
pascal@16723 29
pascal@16723 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16723 31 genpkg_rules()
pascal@16723 32 {
Hans-G?nter@23560 33 cp -a $install/usr $fs
pascal@16723 34 }