Gentoo Archives: gentoo-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-dev@l.g.o
Subject: src_fetch (was Re: [gentoo-dev] EAPI 1 (Was: Re: Monthly Gentoo Council Reminder for April))
Date: Fri, 09 Nov 2007 17:43:00
Message-Id: 47349BD2.60600@gentoo.org
In Reply to: Re: [gentoo-dev] EAPI 1 (Was: Re: Monthly Gentoo Council Reminder for April) by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Ciaran McCreesh wrote:
5 > On Fri, 13 Apr 2007 14:21:16 +0200
6 > Marius Mauch <genone@g.o> wrote:
7 >> On Wed, 11 Apr 2007 15:41:01 +0100
8 >> Ciaran McCreesh <ciaranm@×××××××.org> wrote:
9
10 >>> * Phase changes: src_fetch -> src_unpack -> src_prepare ->
11 >>> src_configure -> src_compile -> src_test -> src_install
12 >> No to src_fetch
13 >
14 > Why? It would be useful for CVS, SVN etc ebuilds. I'm not suggesting it
15 > be used for SRC_URI things.
16
17 Hi list,
18
19 Not having src_fetch is really braindead. There are always gonna be silly
20 packages that don't fit into the nice default SRC_URI scheme.
21
22 Use case one: package is completely unversioned upstream.
23 Have src_fetch add a version as appropriate to the downloaded/mirrored
24 version. This will work as change of upstream sources will be detected by all
25 the checksums we do.
26
27 Use case two: package is incompatibly versioned.
28 smlnj for example releases unversioned files in a versioned directory. There
29 is currently no way to mirror that in distfiles as there is nowhere that I
30 could specify that I want files to go to a separate directory.
31
32 Right. These use cases are really a bonus. Having src_fetch that we can
33 redefine is simply the right thing and I can't believe it doesn't exist already.
34
35 Consider this my vote for an EAPI 2 which adds user-redefinable src_fetch ASAP.
36
37 Marijn
38
39 - --
40 Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
41 <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2.0.7 (GNU/Linux)
44 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
45
46 iD8DBQFHNJvRp/VmCx0OL2wRAnc9AJ0bIm1snoGivLSZgTEE4dx7e2VgQwCeL7Kk
47 fwvaBcfVHv+nSXQd1KTT3ls=
48 =44uf
49 -----END PGP SIGNATURE-----
50 --
51 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: src_fetch (was Re: [gentoo-dev] EAPI 1 (Was: Re: Monthly Gentoo Council Reminder for April)) Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>