wok view dulwich/receipt @ rev 25341
amule: update to new libupnp API
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 16:17:15 2022 +0000 (2022-07-24) |
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 }