From: | Federico Ferri <mescalinum@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Handling Launchpad SRC_URI | ||
Date: | Sun, 25 Jan 2009 18:45:36 | ||
Message-Id: | 497CB34A.2030703@gentoo.org | ||
In Reply to: | [gentoo-dev] Handling Launchpad SRC_URI by Josh Saddler |
1 | -----BEGIN PGP SIGNED MESSAGE----- |
2 | Hash: SHA1 |
3 | |
4 | Josh Saddler wrote: |
5 | > Right now, there's no canonical (heh) way of handling SRC_URI for |
6 | > projects that have their files at launchpad.net. We need a standard way |
7 | > of handling Launchpad SRC_URIs, similar to what we do with |
8 | > mirror://sourceforge/ SRC_URIs. |
9 | > |
10 | > 1. Some packages use the launchpadlibrarian.net download redirect, which |
11 | > results in a non-helpful server-generated number: |
12 | > |
13 | > (gnome-catalog) |
14 | > SRC_URI="http://launchpadlibrarian.net/11326737/${PN}_${PV}.orig.tar.gz |
15 | > |
16 | > 2. Some hack up interesting MY_P stuff: |
17 | > |
18 | > (gnome-do-plugins) |
19 | > MY_PN="do-plugins" |
20 | > PVC=$(get_version_component_range 1-2) |
21 | > PVC2=$(get_version_component_range 1-3) |
22 | > SRC_URI="https://launchpad.net/${MY_PN}/${PVC}/${PVC2}/+download/${P}.tar.gz" |
23 | > |
24 | > (avant-window-navigator-extras) |
25 | > MY_P="awn-extras-applets-${PV}" |
26 | > SRC_URI="https://launchpad.net/awn-extras/${PV%.*}/${PV}/+download/${MY_P}.tar.gz" |
27 | > |
28 | > The AWN-extras ebuild is the closest to the "right" way of doing it, I |
29 | > think. |
30 | > |
31 | > So can we agree on a standard way of treating Launchpad SRC_URIs and get |
32 | > the handler support into Portage? |
33 | > |
34 | 3. (seq24-0.9.0) |
35 | |
36 | SRC_URI="http://edge.launchpad.net/seq24/trunk/${PV}/+download/${P}.tar.bz2" |
37 | |
38 | |
39 | just another example of different SRC_URI |
40 | |
41 | - -- |
42 | FF |
43 | -----BEGIN PGP SIGNATURE----- |
44 | Version: GnuPG v2.0.9 (GNU/Linux) |
45 | Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
46 | |
47 | iEYEARECAAYFAkl8s0oACgkQV/B5axfzrPssBACffhjl4xMsQSGL8Ez6ngdlkH43 |
48 | 56MAoI9YIesKOrNMg5lYuJyR5xpKUVXP |
49 | =wLnZ |
50 | -----END PGP SIGNATURE----- |