Gentoo Archives: gentoo-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] When the version scheme changes
Date: Sat, 28 Jun 2008 14:56:20
Message-Id: 486652B1.1080303@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi list,
5
6 recently drscheme changed versioning scheme in such a way that the newer
7 versions(4.0.1) rank lower than the old versions(372). The only way to affect
8 ordering is to change the PV part of the filename, preferably the old one, so I
9 created a 0.372 version that was to be a copy of the old 372 version. To make
10 this work I also added a
11
12 PV=${PV/0./}
13
14 to that new ebuild. This is the cleanest way to do it and doesn't require any
15 variable name changes or any other changes to the ebuild regardless of what it
16 does. Unfortunately it is also illegal per current PMS as PV is a read-only
17 variable. Right now I feel that the gain of having PV read-only (catch a few
18 bugs?) is much lower than the pain (extensive ebuild-dependend changes when the
19 version scheme changes). Please comment.
20
21 Marijn
22
23 - --
24 Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
25 <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v2.0.9 (GNU/Linux)
28 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
29
30 iEYEARECAAYFAkhmUrEACgkQp/VmCx0OL2wKcACePBrxQ9N6sQVenMLewf3fVR95
31 1fQAoIBIookA65il9e70Hqs3SgWaLaoT
32 =V0bU
33 -----END PGP SIGNATURE-----
34 --
35 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] When the version scheme changes "Bo Ørsted Andresen" <zlin@g.o>
Re: [gentoo-dev] When the version scheme changes "Rémi Cardona" <remi@g.o>