Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ali Polatel <hawking@g.o>
Subject: Re: gentoo-x86 commit in dev-lang/python: ChangeLog python-2.6.ebuild python-2.5.2-r6.ebuild
Date: Mon, 6 Oct 2008 15:10:48 +0300
Thomas Sachau yazmış:
> Ali Polatel (hawking) schrieb:
> > 	use threads \
> > 		&& myconf="${myconf} --with-threads" \
> > 		|| myconf="${myconf} --without-threads"
> 
> What about an econf option $(use_with threads)?
> 
> > 	econf \
> > 		--with-fpectl \
> > 		--enable-shared \
> > 		`use_enable ipv6` \
> > 		--infodir='${prefix}'/share/info \
> > 		--mandir='${prefix}'/share/man \
> > 		--with-libc='' \
> > 		${myconf} || die
> 
> "|| die" could be dropped
> 
> > src_install() {
> > 	dodir /usr
> 
> Will the install fail without a /usr dir?
> 
> > 	src_configure
> > 	make DESTDIR="${D}" altinstall maninstall || die
> 
> Why not emake?
> 
> > 	if use examples ; then
> > 		mkdir -p "${D}"/usr/share/doc/${P}/examples
> > 		cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples
> > 	fi
> 
> what about this:
> 	insinto /usr/share/doc/${P}/examples
> 	doins -r Tools
> 
> > 	python_mod_cleanup /usr/lib/python${PYVER}
> > 	[[ "$(get_libdir)" == "lib" ]] || \
> > 		python_mod_cleanup /usr/$(get_libdir)/python${PYVER}
> 
> Why not remove the first 2 lines?
> 
> > 	python_mod_optimize -x "(site-packages|test)" \
> > 						/usr/lib/python${PYVER}
> > 	[[ "$(get_libdir)" == "lib" ]] || \
> > 		python_mod_optimize -x "(site-packages|test)" \
> > 							/usr/$(get_libdir)/python${PYVER}
> 
> the same here
> 
> 

+*python-2.6-r1 (06 Oct 2008)
+
+  06 Oct 2008; Ali Polatel <hawking@g.o> -python-2.6.ebuild,
+  +python-2.6-r1.ebuild:
+  Revbump. Use use_with for threads, remove die from econf, use emake
+  instead of make, remove redundant python_mod_{cleanup,optimize}. Drop old.
+

Thanks!

> -- 
> Thomas Sachau
> 
> Gentoo Linux Developer
> 

-- 
Regards,
Ali Polatel
Attachment:
pgpEBmMQpJdSJ.pgp (PGP signature)
References:
Re: [gentoo-commits] gentoo-x86 commit in dev-lang/python: ChangeLog python-2.6.ebuild python-2.5.2-r6.ebuild
-- Thomas Sachau
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: [gentoo-commits] gentoo-x86 commit in dev-lang/python: ChangeLog python-2.6.ebuild python-2.5.2-r6.ebuild
Next by thread:
Re: [gentoo-commits] gentoo-x86 commit in dev-lang/python: ChangeLog python-2.6.ebuild python-2.5.2-r6.ebuild
Previous by date:
Re: Projects without a homepage, and valid contents of HOMEPAGE (per bug 239268)
Next by date:
Re: Re: "Slacking" arches - which are stable, which aren't?


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.