Alistair Bush wrote:
> While you guys are on this subject, I thought I would put in the
> experience I just had.
> 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/java-config-2.1.2.ebuild?rev=1.1&view=markup
> 
> As you will note in the ebuild above I inherit distutils and then
> 
> declare
> 
> PYTHON_MODNAME="java_config_2"
> 
> and have my 2 functions as so....
> 
> pkg_postrm() {
>       distutils_python_version
>       distutils_pkg_postrm
> }
> 
> pkg_postinst() {
>       distutils_pkg_postinst
>       ...
>       ...
> }

I just had a quick look at it and this looks really great, I'll take a
better look at it to make sure it does what we need.

Thanks for this great tip :)

Cheers,

Rémi
-- 
[EMAIL PROTECTED] mailing list

Reply via email to