wok-next annotate python-html2text/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pankso@13566 | 2 |
al@20972 | 3 ORIGIN="html2text" |
pankso@13566 | 4 PACKAGE="python-html2text" |
al@20972 | 5 VERSION="2018.1.9" |
pankso@13566 | 6 CATEGORY="network" |
al@20972 | 7 SHORT_DESC="Turn HTML into equivalent Markdown-structured text" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:html2text" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pankso@13566 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pankso@13566 | 19 } |
pankso@13566 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py" |
pankso@13566 | 25 } |