wok view dulwich/receipt @ rev 24698
Up usbids (2022.02.23)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 17:29:51 2022 +0000 (2022-03-13) |
parents | 104a2a2e5484 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dulwich"
4 VERSION="0.19.16"
5 CATEGORY="development"
6 SHORT_DESC="Git files formats and protocols for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.org/project/$PACKAGE/"
10 REPOLOGY="python:dulwich"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR --prefix=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }