wok-next annotate python-pyhn/receipt @ rev 21726
updated firefox-official (77.0 -> 81.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 27 14:34:31 2020 +0100 (2020-09-27) |
parents | |
children |
rev | line source |
---|---|
al@20983 | 1 # SliTaz package receipt v2. |
al@20983 | 2 |
al@20983 | 3 ORIGIN="pyhn" |
al@20983 | 4 PACKAGE="python-pyhn" |
al@20983 | 5 VERSION="0.3.9" |
al@20983 | 6 CATEGORY="utilities" |
al@20983 | 7 SHORT_DESC="Hacker news command line client" |
al@20983 | 8 MAINTAINER="paul@slitaz.org" |
al@20983 | 9 LICENSE="MIT" |
al@20983 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20983 | 11 HOST_ARCH="any" |
al@20983 | 12 REPOLOGY="pyhn" # python:pyhn |
al@20983 | 13 |
al@20983 | 14 # It depends on old and precise defined versions of Python modules: |
al@20983 | 15 # * requests==2.10.0 |
al@20983 | 16 # * urwid==1.3.1 |
al@20983 | 17 # * beautifulsoup4==4.5.1 |
al@20983 | 18 # They will be installed with the package and will no harm for any actual |
al@20983 | 19 # versions of the Python modules. |
al@20983 | 20 BUILD_DEPENDS="python python3" |
al@20983 | 21 SPLIT="${PACKAGE/python/python3}:3" |
al@20983 | 22 |
al@20983 | 23 compile_rules() { |
al@20983 | 24 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20983 | 25 } |
al@20983 | 26 |
al@20983 | 27 genpkg_rules() { |
al@20983 | 28 copy @std |
al@20983 | 29 py=${PACKAGE%%-*} # python/python3 |
al@20983 | 30 DEPENDS="$py" |
al@20983 | 31 } |