wok-next annotate python-hg-git/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 034d1fefb1c3
children
rev   line source
al@20922 1 # SliTaz package receipt v2.
al@20922 2
al@20972 3 ORIGIN="hg-git"
al@20922 4 PACKAGE="python-hg-git"
al@20972 5 VERSION="0.8.11"
al@20922 6 CATEGORY="misc"
al@20922 7 SHORT_DESC="Git plugin for Mercurial"
al@20922 8 MAINTAINER="pascal.bellard@slitaz.org"
al@20922 9 LICENSE="GPL2"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20922 11 HOST_ARCH="any"
al@20922 12 REPOLOGY="python:hg-git"
al@20922 13
al@20972 14 BUILD_DEPENDS="python python-dulwich python3 python3-dulwich"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@20922 16
al@20922 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20922 19 }
al@20922 20
al@20922 21 genpkg_rules() {
al@20922 22 copy @std
al@20972 23 py="${PACKAGE%%-*}" # python/python3
al@20972 24 DEPENDS="$py $py-dulwich mercurial"
al@20922 25 }