wok-current view hg-git/receipt @ rev 25413
updated wkhtmltopdf (0.12.5 -> 0.12.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:30:32 2022 +0100 (2022-08-04) |
parents | 104a2a2e5484 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hg-git"
4 VERSION="0.10.4"
5 CATEGORY="misc"
6 SHORT_DESC="Git plugin for mercurial."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.org/project/$PACKAGE/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/h/hg-git/$TARBALL"
14 DEPENDS="mercurial dulwich python"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR --prefix=/usr
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }