public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: kangie@gentoo.org
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] skel.ebuild: update SRC_URI
Date: Sat, 28 Jun 2025 16:16:41 +0200	[thread overview]
Message-ID: <upleox86u@gentoo.org> (raw)
In-Reply-To: <20250628105918.341941-1-kangie@gentoo.org> (kangie@gentoo.org's message of "Sat, 28 Jun 2025 20:49:29 +1000")

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

>>>>> On Sat, 28 Jun 2025, kangie  wrote:

> -# Portage.
> -SRC_URI="ftp://foo.example.org/${P}.tar.gz"
> +# Portage. If a file needs to be renamed, use the "->" syntax.
> +SRC_URI="https://files.example.org/foo/v${PV}.tar.xz -> ${P}.tar.xz"

Explaining "->" in the comment is fine, but not sure if it is a good
idea in the actual SRC_URI example. New contributors will inevitably
copy the line to their ebuild, even if it's not needed. (We've been
there before, that's why "econf" and "emake" are commented out now).

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

  reply	other threads:[~2025-06-28 14:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-28 10:49 [gentoo-dev] [PATCH] skel.ebuild: update SRC_URI kangie
2025-06-28 14:16 ` Ulrich Müller [this message]
2025-06-29  1:43   ` Ionen Wolkens
2025-06-29 12:34 ` [gentoo-dev] " Duncan
2025-07-05  7:04 ` [gentoo-dev] [PATCH v2] " kangie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=upleox86u@gentoo.org \
    --to=ulm@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=kangie@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox