wok rev 3404

Remove old pkg reference for renamed python packages
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Jun 12 11:12:54 2009 +0000 (2009-06-12)
parents 4bd2ff77d103
children 5efc4033292f
files python-django/receipt python-docutils/receipt python-html5lib/receipt python-jinja2/receipt python-mysql/receipt python-pygame/receipt python-pygments/receipt python-pypdf/receipt python-sphinx/receipt
line diff
     1.1 --- a/python-django/receipt	Fri Jun 12 15:14:07 2009 +0200
     1.2 +++ b/python-django/receipt	Fri Jun 12 11:12:54 2009 +0000
     1.3 @@ -27,3 +27,8 @@
     1.4  	cp -a $_pkg/usr $fs
     1.5  }
     1.6  
     1.7 +# Remove old package.
     1.8 +post_install()
     1.9 +{
    1.10 +	rm -rf $1/var/lib/tazpkg/installed/django
    1.11 +}
    1.12 \ No newline at end of file
     2.1 --- a/python-docutils/receipt	Fri Jun 12 15:14:07 2009 +0200
     2.2 +++ b/python-docutils/receipt	Fri Jun 12 11:12:54 2009 +0000
     2.3 @@ -27,3 +27,8 @@
     2.4  	cp -a $_pkg/usr $fs
     2.5  }
     2.6  
     2.7 +# Remove old package.
     2.8 +post_install()
     2.9 +{
    2.10 +	rm -rf $1/var/lib/tazpkg/installed/docutils
    2.11 +}
     3.1 --- a/python-html5lib/receipt	Fri Jun 12 15:14:07 2009 +0200
     3.2 +++ b/python-html5lib/receipt	Fri Jun 12 11:12:54 2009 +0000
     3.3 @@ -26,3 +26,8 @@
     3.4  	cp -a $_pkg/usr $fs
     3.5  }
     3.6  
     3.7 +# Remove old package.
     3.8 +post_install()
     3.9 +{
    3.10 +	rm -rf $1/var/lib/tazpkg/installed/html5lib
    3.11 +}
    3.12 \ No newline at end of file
     4.1 --- a/python-jinja2/receipt	Fri Jun 12 15:14:07 2009 +0200
     4.2 +++ b/python-jinja2/receipt	Fri Jun 12 11:12:54 2009 +0000
     4.3 @@ -26,3 +26,8 @@
     4.4  	cp -a $_pkg/usr/lib $fs/usr
     4.5  }
     4.6  
     4.7 +# Remove old package.
     4.8 +post_install()
     4.9 +{
    4.10 +	rm -rf $1/var/lib/tazpkg/installed/jinja2
    4.11 +}
    4.12 \ No newline at end of file
     5.1 --- a/python-mysql/receipt	Fri Jun 12 15:14:07 2009 +0200
     5.2 +++ b/python-mysql/receipt	Fri Jun 12 11:12:54 2009 +0000
     5.3 @@ -28,3 +28,8 @@
     5.4  	cp -a $_pkg/usr/lib $fs/usr
     5.5  }
     5.6  
     5.7 +# Remove old package.
     5.8 +post_install()
     5.9 +{
    5.10 +	rm -rf $1/var/lib/tazpkg/installed/mysql-python
    5.11 +}
     6.1 --- a/python-pygame/receipt	Fri Jun 12 15:14:07 2009 +0200
     6.2 +++ b/python-pygame/receipt	Fri Jun 12 11:12:54 2009 +0000
     6.3 @@ -31,3 +31,8 @@
     6.4  	cp -a $_pkg/usr/include $fs/usr
     6.5  }
     6.6  
     6.7 +# Remove old package.
     6.8 +post_install()
     6.9 +{
    6.10 +	rm -rf $1/var/lib/tazpkg/installed/pygame
    6.11 +}
     7.1 --- a/python-pygments/receipt	Fri Jun 12 15:14:07 2009 +0200
     7.2 +++ b/python-pygments/receipt	Fri Jun 12 11:12:54 2009 +0000
     7.3 @@ -26,3 +26,8 @@
     7.4  	cp -a $_pkg/usr $fs
     7.5  }
     7.6  
     7.7 +# Remove old package.
     7.8 +post_install()
     7.9 +{
    7.10 +	rm -rf $1/var/lib/tazpkg/installed/pygments
    7.11 +}
    7.12 \ No newline at end of file
     8.1 --- a/python-pypdf/receipt	Fri Jun 12 15:14:07 2009 +0200
     8.2 +++ b/python-pypdf/receipt	Fri Jun 12 11:12:54 2009 +0000
     8.3 @@ -26,3 +26,8 @@
     8.4  	cp -a $_pkg/usr $fs
     8.5  }
     8.6  
     8.7 +# Remove old package.
     8.8 +post_install()
     8.9 +{
    8.10 +	rm -rf $1/var/lib/tazpkg/installed/pypdf
    8.11 +}
     9.1 --- a/python-sphinx/receipt	Fri Jun 12 15:14:07 2009 +0200
     9.2 +++ b/python-sphinx/receipt	Fri Jun 12 11:12:54 2009 +0000
     9.3 @@ -27,3 +27,8 @@
     9.4  	cp -a $_pkg/usr $fs
     9.5  }
     9.6  
     9.7 +# Remove old package.
     9.8 +post_install()
     9.9 +{
    9.10 +	rm -rf $1/var/lib/tazpkg/installed/sphinx
    9.11 +}