wok-next diff stoqlib/receipt @ rev 21572

updated cups (2.2.2 -> 2.3.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:06:55 2020 +0100 (2020-06-22)
parents a3254b6a96ac
children
line diff
     1.1 --- a/stoqlib/receipt	Tue Sep 25 17:35:51 2018 +0300
     1.2 +++ b/stoqlib/receipt	Mon Jun 22 17:06:55 2020 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="stoqlib"
     1.8  VERSION="0.9.12"
     1.9 @@ -6,33 +6,23 @@
    1.10  SHORT_DESC="A powerful retail system library"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://www.stoq.com.br"
    1.14 +WEB_SITE="https://www.stoq.com.br/"
    1.15  REPOLOGY="stoq"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="python python-pygtk postgresql python-psycopg2 python-zope.interface python-pil \
    1.21 -python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
    1.22 -BUILD_DEPENDS="python python-dev python-zope.interface python-kiwi python-gazpacho \
    1.23 -python-psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools"
    1.24 +BUILD_DEPENDS="python-dev python-zope.interface python-kiwi python-gazpacho \
    1.25 +python-psycopg2 stoqdrivers python-pil python-reportlab python-dateutil \
    1.26 +gettext"
    1.27  
    1.28 -# Rules to configure and make the package.
    1.29 -compile_rules()
    1.30 -{
    1.31 -	chmod +x setup.py
    1.32 -	python setup.py install --root=$DESTDIR
    1.33 +compile_rules() {
    1.34 +	python -B setup.py install --root=$install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	LOCALEDIR="$install/usr/share/locale"
    1.41 -	for file in `find $install | grep 'pyc$'`; do
    1.42 -		rm $file
    1.43 -	done
    1.44 -	mkdir -p $fs/usr/share/locale/pt
    1.45 -	cp -a $install/usr/lib $fs/usr
    1.46 -	cp -a $install/usr/share $fs/usr
    1.47 -	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="python python-pygtk postgresql python-psycopg2 \
    1.51 +	python-zope.interface python-pil python-reportlab python-kiwi \
    1.52 +	python-gazpacho stoqdrivers python-dateutil"
    1.53  }