wok-current view dulwich/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
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 }