wok-6.x view pyhn/receipt @ rev 20085

also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Sep 27 22:18:42 2017 +0000 (2017-09-27)
parents 24892e271649
children 095836df71b7
line source
1 # SliTaz package receipt.
3 PACKAGE="pyhn"
4 VERSION="0.3.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Hacker news command line client."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/socketubs/pyhn"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/socketubs/pyhn"
13 DEPENDS="python python-urwid"
14 BUILD_DEPENDS="python-dev python-urwid git bzip2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # hack config.py
20 cd $src/pyhn
21 sed -i 's/__default__/tazweb __url__/; \
22 s/black||/light red||/' config.py
24 cd $src
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }