wok-next view python-hg-git/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents 034d1fefb1c3
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="hg-git"
4 PACKAGE="python-hg-git"
5 VERSION="0.8.11"
6 CATEGORY="misc"
7 SHORT_DESC="Git plugin for Mercurial"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:hg-git"
14 BUILD_DEPENDS="python python-dulwich python3 python3-dulwich"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
19 }
21 genpkg_rules() {
22 copy @std
23 py="${PACKAGE%%-*}" # python/python3
24 DEPENDS="$py $py-dulwich mercurial"
25 }