# HG changeset patch # User Claudinei Pereira # Date 1244847244 0 # Node ID 7e47afbaec37dcb607009bacf40d5ff23708929c # Parent 6a5553dfb1be8a0383241fbd4d884a7474ed3952 Ren: pytz -> python-pytz diff -r 6a5553dfb1be -r 7e47afbaec37 python-pytz/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pytz/receipt Fri Jun 12 22:54:04 2009 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="python-pytz" +SOURCE="pytz" +VERSION="2006p" +CATEGORY="development" +SHORT_DESC="World Timezone Definitions for Python." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python-dev python" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://pytz.sourceforge.net/" +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +} + +# Remove old package. +post_install() +{ + rm -rf $1/var/lib/tazpkg/installed/pytz +} diff -r 6a5553dfb1be -r 7e47afbaec37 pytz/receipt --- a/pytz/receipt Fri Jun 12 22:47:48 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pytz" -VERSION="2006p" -CATEGORY="development" -SHORT_DESC="World Timezone Definitions for Python." -MAINTAINER="pascal.bellard@slitaz.org" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://pytz.sourceforge.net/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - python setup.py build && - python setup.py install --root=$PWD/_pkg -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $_pkg/usr $fs -} -