On 18:12 Thu 08 Nov     , Andrej Kacian (ticho) wrote:
> 1.1                  net-mail/getmail/getmail-4.7.7.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.7.7.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.7.7.ebuild?rev=1.1&content-type=text/plain

> src_compile() {
>       distutils_src_compile
> }

This is the default.

> 
> src_install() {
>       distutils_src_install
> 
>       if has_version "=net-mail/getmail-3*" ; then
>               mv ${D}/usr/bin/getmail ${D}/usr/bin/getmail4
>               mv ${D}/usr/bin/getmail_maildir ${D}/usr/bin/getmail_maildir4
>               mv ${D}/usr/bin/getmail_mbox ${D}/usr/bin/getmail_mbox4
>       fi
> 
>       # handle docs the gentoo way
>       if [ ${P} != ${PF} ]; then
>               mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
>       fi
> 
>       dodir /usr/share/doc/${PF}/html
>       mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/*.css 
> ${D}/usr/share/doc/${PF}/html
> }

All kinds of quoting issues, did you check repoman warnings?

> 
> pkg_postinst() {
>       python_version
>       python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore

Could call distutils_pkg_postinst() instead of these.

> pkg_postrm() {
>       python_version
>       python_mod_cleanup
> }

This is the default.

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to