Gentoo Archives: gentoo-dev

From: Josh Saddler <nightmorph@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Handling Launchpad SRC_URI
Date: Sun, 25 Jan 2009 07:38:38
Message-Id: 497C16F8.8010401@gentoo.org
1 Right now, there's no canonical (heh) way of handling SRC_URI for
2 projects that have their files at launchpad.net. We need a standard way
3 of handling Launchpad SRC_URIs, similar to what we do with
4 mirror://sourceforge/ SRC_URIs.
5
6 1. Some packages use the launchpadlibrarian.net download redirect, which
7 results in a non-helpful server-generated number:
8
9 (gnome-catalog)
10 SRC_URI="http://launchpadlibrarian.net/11326737/${PN}_${PV}.orig.tar.gz
11
12 2. Some hack up interesting MY_P stuff:
13
14 (gnome-do-plugins)
15 MY_PN="do-plugins"
16 PVC=$(get_version_component_range 1-2)
17 PVC2=$(get_version_component_range 1-3)
18 SRC_URI="https://launchpad.net/${MY_PN}/${PVC}/${PVC2}/+download/${P}.tar.gz"
19
20 (avant-window-navigator-extras)
21 MY_P="awn-extras-applets-${PV}"
22 SRC_URI="https://launchpad.net/awn-extras/${PV%.*}/${PV}/+download/${MY_P}.tar.gz"
23
24 The AWN-extras ebuild is the closest to the "right" way of doing it, I
25 think.
26
27 So can we agree on a standard way of treating Launchpad SRC_URIs and get
28 the handler support into Portage?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Handling Launchpad SRC_URI Marius Mauch <genone@g.o>
Re: [gentoo-dev] Handling Launchpad SRC_URI Robert Buchholz <rbu@g.o>
Re: [gentoo-dev] Handling Launchpad SRC_URI Federico Ferri <mescalinum@g.o>