wok-next rev 20920
dulwich -> python-dulwich
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 09:21:31 2018 +0300 (2018-08-22) |
parents | a00b398faf9e |
children | d24f5052ae8c |
files | dulwich/receipt hg-git/receipt python-dulwich/receipt |
line diff
1.1 --- a/dulwich/receipt Wed Aug 22 09:09:15 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="dulwich" 1.7 -VERSION="0.8.5" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Git files formats and protocols for python." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="GPL2" 1.12 -WEB_SITE="https://www.samba.org/~jelmer/dulwich/" 1.13 -REPOLOGY="python:dulwich" 1.14 - 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="${WEB_SITE}$TARBALL" 1.17 - 1.18 -DEPENDS="python" 1.19 -BUILD_DEPENDS="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 --- a/hg-git/receipt Wed Aug 22 09:09:15 2018 +0300 2.2 +++ b/hg-git/receipt Wed Aug 22 09:21:31 2018 +0300 2.3 @@ -12,7 +12,7 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.5 WGET_URL="https://bitbucket.org/durin42/$PACKAGE/get/$VERSION.tar.bz2" 2.6 2.7 -DEPENDS="mercurial dulwich python" 2.8 +DEPENDS="mercurial python-dulwich python" 2.9 BUILD_DEPENDS="wget python-dev" 2.10 2.11 # Rules to configure and make the package.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-dulwich/receipt Wed Aug 22 09:21:31 2018 +0300 3.3 @@ -0,0 +1,22 @@ 3.4 +# SliTaz package receipt v2. 3.5 + 3.6 +PACKAGE="python-dulwich" 3.7 +VERSION="latest" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Git files formats and protocols for Python" 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="GPL2" 3.12 +WEB_SITE="https://pypi.org/project/dulwich/" 3.13 +REPOLOGY="python:dulwich" 3.14 + 3.15 +BUILD_DEPENDS="python-dev python-urllib3 python-certifi" 3.16 + 3.17 +compile_rules() { 3.18 + pip install --no-compile --root=$DESTDIR dulwich 3.19 +} 3.20 + 3.21 +genpkg_rules() { 3.22 + VERSION=$(sed -n '/^Successfully installed/ s|.*dulwich-||p' $LOGS/$PACKAGE.log) 3.23 + copy @std @dev 3.24 + DEPENDS="python" 3.25 +}