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: Rémi Cardona <remi@g.o>
Subject: Re: When the version scheme changes
Date: Sun, 29 Jun 2008 23:55:06 +0200
Hi Marijn,

Marijn Schouten (hkBst) wrote:
> PV=${PV/0./}

MY_PV=...

As others have said, PV is read only.

> to that new ebuild. This is the cleanest way to do it and doesn't require any
> variable name changes or any other changes to the ebuild regardless of what it
> does. Unfortunately it is also illegal per current PMS as PV is a read-only
> variable. Right now I feel that the gain of having PV read-only (catch a few
> bugs?) is much lower than the pain (extensive ebuild-dependend changes when the
> version scheme changes). Please comment.

It's a pain, but then again, your old ebuilds are likely to go away as 
time passes, and the various hacks you've put in them will be long 
forgotten :)

There are only a couple cases were having PV writeable is a good idea. 
But let's keep this part of our ebuilds simple.

Right now, the section in devmanual that talks about PV is really short. 
Keeping it that way seems a good idea for potential new comers and old 
timers (that may forget stuff as time goes on) alike.

My 2 euro ¢

Cheers

Rémi
-- 
gentoo-dev@g.o mailing list


References:
When the version scheme changes
-- Marijn Schouten (hkBst)
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: When the version scheme changes
Next by thread:
Automated Package Removal and Addition Tracker, for the week ending 2008-06-29 23h59 UTC
Previous by date:
Re: Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common"
Next by date:
Re: When the version scheme changes


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.