wok-next rev 20922

hg-git -> python-hg-git
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 11:43:50 2018 +0300 (2018-08-22)
parents d24f5052ae8c
children bc5c682688b0
files hg-git/receipt python-hg-git/receipt python-pyflakes16/.bdeps
line diff
     1.1 --- a/hg-git/receipt	Wed Aug 22 11:18:36 2018 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="hg-git"
     1.7 -VERSION="5861777f2f5e"
     1.8 -CATEGORY="misc"
     1.9 -SHORT_DESC="Git plugin for mercurial."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://hg-git-github.com/"
    1.13 -REPOLOGY="python:hg-git"
    1.14 -
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="https://bitbucket.org/durin42/$PACKAGE/get/$VERSION.tar.bz2"
    1.17 -
    1.18 -DEPENDS="mercurial python-dulwich python"
    1.19 -BUILD_DEPENDS="wget python-dev"
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	python setup.py install --root=$DESTDIR --prefix=/usr
    1.25 -}
    1.26 -
    1.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 -genpkg_rules()
    1.29 -{
    1.30 -	cp -a $install/* $fs
    1.31 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-hg-git/receipt	Wed Aug 22 11:43:50 2018 +0300
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="python-hg-git"
     2.7 +VERSION="latest"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="Git plugin for Mercurial"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://pypi.org/project/hg-git/"
    2.13 +HOST_ARCH="any"
    2.14 +REPOLOGY="python:hg-git"
    2.15 +
    2.16 +BUILD_DEPENDS="python-dev python-dulwich"
    2.17 +
    2.18 +compile_rules() {
    2.19 +	pip install --no-compile --root=$DESTDIR hg-git
    2.20 +}
    2.21 +
    2.22 +genpkg_rules() {
    2.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*hg-git-||p' $LOGS/$PACKAGE.log)
    2.24 +	copy @std
    2.25 +	DEPENDS="mercurial python-dulwich python"
    2.26 +}
     3.1 --- a/python-pyflakes16/.bdeps	Wed Aug 22 11:18:36 2018 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,9 +0,0 @@
     3.4 -python-dev
     3.5 -python-idle
     3.6 -python-tcltk
     3.7 -tcl
     3.8 -tk
     3.9 -xorg-libX11
    3.10 -xorg-libXau
    3.11 -xorg-libXdmcp
    3.12 -xorg-libxcb