wok-next view python-pyhn/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
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 }