# HG changeset patch # User Antoine Bodin # Date 1297903549 -3600 # Node ID 00fefa6ebb77a604a5f51d33c8dfb79aaeb0e498 # Parent 03a0e7af36f60ecf60c55cc10949738ff728089b up stoq/stoqlib 0.9.12 & add some fix diff -r 03a0e7af36f6 -r 00fefa6ebb77 stoq/receipt --- a/stoq/receipt Thu Feb 17 01:13:41 2011 +0100 +++ b/stoq/receipt Thu Feb 17 01:45:49 2011 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="stoq" -VERSION="0.9.11" +VERSION="0.9.12" CATEGORY="office" SHORT_DESC="Stoq is a suite of Retail Management System applications." MAINTAINER="claudinei@slitaz.org" @@ -16,15 +16,13 @@ compile_rules() { cd $src - sed -i "s/STOQLIB_REQUIRED = '0.9.9'/STOQLIB_REQUIRED = '0.9.10'/" \ - setup.py - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale" + LOCALEDIR="$_pkg/usr/share/locale" for file in `find $_pkg | grep 'pyc$'`; do rm $file done diff -r 03a0e7af36f6 -r 00fefa6ebb77 stoqdrivers/receipt --- a/stoqdrivers/receipt Thu Feb 17 01:13:41 2011 +0100 +++ b/stoqdrivers/receipt Thu Feb 17 01:45:49 2011 +0100 @@ -16,13 +16,13 @@ compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale" + LOCALEDIR="$_pkg/usr/share/locale" for file in `find $_pkg | grep 'pyc$'`; do rm $file done diff -r 03a0e7af36f6 -r 00fefa6ebb77 stoqlib/receipt --- a/stoqlib/receipt Thu Feb 17 01:13:41 2011 +0100 +++ b/stoqlib/receipt Thu Feb 17 01:45:49 2011 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="stoqlib" -VERSION="0.9.11" +VERSION="0.9.12" CATEGORY="development" SHORT_DESC="A powerful retail system library" MAINTAINER="claudinei@slitaz.org" @@ -17,13 +17,14 @@ compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + chmod +x setup.py + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale" + LOCALEDIR="$_pkg/usr/share/locale" for file in `find $_pkg | grep 'pyc$'`; do rm $file done