wok-next annotate python-geojson/receipt @ rev 21715
Up cookutils (1146)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 28 07:53:22 2020 +0000 (2020-07-28) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@16723 | 2 |
al@20972 | 3 ORIGIN="geojson" |
pascal@16723 | 4 PACKAGE="python-geojson" |
al@20972 | 5 VERSION="2.4.0" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Python bindings and utilities for GeoJSON" |
pascal@16723 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16723 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:geojson" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pascal@16723 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@16723 | 19 } |
pascal@16723 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std |
al@20972 | 23 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 24 DEPENDS="$py" |
pascal@16723 | 25 } |