wok-current annotate pyhn/receipt @ rev 22253

updated xorg-xdpyinfo (1.2.0 -> 1.3.2)
author Hans-G?nter Theisgen
date Tue Nov 12 17:04:22 2019 +0100 (2019-11-12)
parents 24892e271649
children 095836df71b7
rev   line source
paul@18414 1 # SliTaz package receipt.
paul@18414 2
paul@18414 3 PACKAGE="pyhn"
paul@19964 4 VERSION="0.3.9"
paul@18414 5 CATEGORY="utilities"
paul@18414 6 SHORT_DESC="Hacker news command line client."
paul@18414 7 MAINTAINER="paul@slitaz.org"
paul@18414 8 LICENSE="MIT"
paul@18414 9 WEB_SITE="https://github.com/socketubs/pyhn"
paul@18414 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@18414 11 WGET_URL="git|git://github.com/socketubs/pyhn"
paul@18414 12
paul@18414 13 DEPENDS="python python-urwid"
paul@18414 14 BUILD_DEPENDS="python-dev python-urwid git bzip2"
paul@18414 15
paul@18414 16 # Rules to configure and make the package.
paul@18414 17 compile_rules()
paul@18414 18 {
paul@18414 19 # hack config.py
paul@18414 20 cd $src/pyhn
paul@18414 21 sed -i 's/__default__/tazweb __url__/; \
paul@18414 22 s/black||/light red||/' config.py
paul@18414 23
paul@18414 24 cd $src
paul@18414 25 python setup.py install --root=$DESTDIR
paul@18414 26 }
paul@18414 27
paul@18414 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18414 29 genpkg_rules()
paul@18414 30 {
paul@18414 31 cp -a $install/usr $fs
paul@18414 32 }
paul@18414 33