wok annotate dulwich/receipt @ rev 24442
created recipe for firefox-official-da
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 14 07:26:07 2022 +0100 (2022-02-14) |
parents | ef8eb9b74ca4 |
children | 108a67969c7a |
rev | line source |
---|---|
pascal@13228 | 1 # SliTaz package receipt. |
pascal@13228 | 2 |
pascal@13228 | 3 PACKAGE="dulwich" |
Hans-G?nter@22663 | 4 VERSION="0.19.14" |
pascal@13228 | 5 CATEGORY="development" |
pascal@13228 | 6 SHORT_DESC="Git files formats and protocols for python." |
pascal@13228 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@20672 | 9 WEB_SITE="https://pypi.org/project/$PACKAGE/" |
Hans-G?nter@22663 | 10 |
pascal@13228 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22663 | 12 WGET_URL="https://www.dulwich.io/releases/$TARBALL" |
pascal@13228 | 13 |
pascal@13228 | 14 DEPENDS="python" |
pascal@13228 | 15 BUILD_DEPENDS="python-dev" |
pascal@13228 | 16 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
pascal@13228 | 24 # Rules to configure and make the package. |
pascal@13228 | 25 compile_rules() |
pascal@13228 | 26 { |
pascal@13228 | 27 python setup.py install --root=$DESTDIR --prefix=/usr |
pascal@13228 | 28 } |
pascal@13228 | 29 |
pascal@13228 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13228 | 31 genpkg_rules() |
pascal@13228 | 32 { |
Hans-G?nter@22663 | 33 cp -a $install/* $fs |
pascal@13228 | 34 } |