wok view hg-git/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents 31b8e9d2cab1
children 9290e8ef0479
line source
1 # SliTaz package receipt.
3 PACKAGE="hg-git"
4 VERSION="0.8.13"
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.bz2"
12 WGET_URL="https://bitbucket.org/durin42/$PACKAGE/get/$VERSION.tar.bz2"
14 DEPENDS="dulwich mercurial 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 }