wok-stable rev 3416
Ren: pytz -> python-pytz
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 22:54:04 2009 +0000 (2009-06-12) |
parents | 6a5553dfb1be |
children | 1cfe4916e547 |
files | python-pytz/receipt pytz/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pytz/receipt Fri Jun 12 22:54:04 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-pytz" 1.7 +SOURCE="pytz" 1.8 +VERSION="2006p" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="World Timezone Definitions for Python." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +DEPENDS="python" 1.13 +BUILD_DEPENDS="python-dev python" 1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://pytz.sourceforge.net/" 1.16 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + python setup.py build && 1.23 + python setup.py install --root=$PWD/_pkg 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs 1.30 + cp -a $_pkg/usr $fs 1.31 +} 1.32 + 1.33 +# Remove old package. 1.34 +post_install() 1.35 +{ 1.36 + rm -rf $1/var/lib/tazpkg/installed/pytz 1.37 +}
2.1 --- a/pytz/receipt Fri Jun 12 22:47:48 2009 +0000 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,28 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="pytz" 2.7 -VERSION="2006p" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="World Timezone Definitions for Python." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -DEPENDS="python" 2.12 -BUILD_DEPENDS="python-dev python" 2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 -WEB_SITE="http://pytz.sourceforge.net/" 2.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.16 - 2.17 -# Rules to configure and make the package. 2.18 -compile_rules() 2.19 -{ 2.20 - cd $src 2.21 - python setup.py build && 2.22 - python setup.py install --root=$PWD/_pkg 2.23 -} 2.24 - 2.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 -genpkg_rules() 2.27 -{ 2.28 - mkdir -p $fs 2.29 - cp -a $_pkg/usr $fs 2.30 -} 2.31 -