wok-next view python-dulwich/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | d24f5052ae8c |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="dulwich"
4 PACKAGE="python-dulwich"
5 VERSION="0.19.6"
6 CATEGORY="python"
7 SHORT_DESC="Git files formats and protocols for Python"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:dulwich"
14 BUILD_DEPENDS="python-dev python-urllib3 python-certifi \
15 python3-dev python3-urllib3 python3-certifi"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std @dev
24 py=${PACKAGE%%-*} # python/python3
25 DEPENDS="$py $py-urllib3 $py-certifi"
26 }