public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-mail/getmail: ChangeLog getmail-4.7.7.ebuild
       [not found] <E1IqBrM-0003SB-32@stork.gentoo.org>
@ 2007-11-09  8:10 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-11-09  8:10 UTC (permalink / raw
  To: gentoo-dev, ticho

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
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-09  8:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IqBrM-0003SB-32@stork.gentoo.org>
2007-11-09  8:10 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-mail/getmail: ChangeLog getmail-4.7.7.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox