wok-next diff turses/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/turses/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/turses/receipt	Mon Apr 27 17:23:45 2020 +0100
     1.3 @@ -1,28 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="turses"
     1.8  VERSION="0.2.7"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A Twitter client for the console."
    1.11 +SHORT_DESC="A Twitter client for the console"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://pypi.org/project/turses/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://pypi.org/project/turses/"
    1.18  WGET_URL="https://files.pythonhosted.org/packages/source/t/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="python python-httplib2 python-urwid python-oauth2 \
    1.21 -python-tweepy"
    1.22 -BUILD_DEPENDS="python python-dev"
    1.23 +BUILD_DEPENDS="python-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	python setup.py build
    1.29 -	python setup.py install --root=$DESTDIR
    1.30 +compile_rules() {
    1.31 +	python -B setup.py build &&
    1.32 +	python -B setup.py install --root=$install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	cp -a $install/usr $fs
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="python python-httplib2 python-urwid python-oauth2 \
    1.42 +	python-tweepy"
    1.43  }