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