public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/swift/
Date: Wed, 17 Jul 2024 08:40:21 +0000 (UTC)	[thread overview]
Message-ID: <1721171958.f8b6c19cab860c30df26c5b196e337d319d9cb6c.davidroman@gentoo> (raw)

commit:     f8b6c19cab860c30df26c5b196e337d319d9cb6c
Author:     Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Tue Jul 16 23:19:15 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 16 23:19:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8b6c19c

dev-lang/swift: update SRC_URI and clean up ebuild

Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>

 dev-lang/swift/swift-5.10.1.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-lang/swift/swift-5.10.1.ebuild b/dev-lang/swift/swift-5.10.1.ebuild
index 6c03b45e0..8938f227e 100644
--- a/dev-lang/swift/swift-5.10.1.ebuild
+++ b/dev-lang/swift/swift-5.10.1.ebuild
@@ -8,7 +8,7 @@ inherit python-single-r1
 
 DESCRIPTION="A high-level general-purpose, multi-paradigm, compiled programming language"
 HOMEPAGE="https://www.swift.org/"
-SRC_URI="amd64? ( https://download.swift.org/${P}-release/fedora39/${P}-RELEASE/${P}-RELEASE-fedora39.tar.gz )"
+SRC_URI="https://download.swift.org/${P}-release/fedora39/${P}-RELEASE/${P}-RELEASE-fedora39.tar.gz"
 S="${WORKDIR}/${P}-RELEASE-fedora39/usr"
 
 LICENSE="Apache-2.0"
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="-* ~amd64"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RESTRICT="bindist mirror test strip"
+RESTRICT="strip"
 
 RDEPEND="
 	${PYTHON_DEPS}
@@ -47,9 +47,9 @@ src_install() {
 	# the filesystem; we'll install the contents as-is into
 	# `/usr/lib64/swift-{version}` (e.g., `/usr/lib64/swift-5.10.1`) and expose
 	# the relevant binaries via linking.
-	dest_dir="/usr/lib64/swift-${PV}"
-	mkdir -p "${ED}${dest_dir}"
-	cp -pPR "${S}" "${ED}${dest_dir}"
+	local dest_dir="/usr/lib64/swift-${PV}"
+	mkdir -p "${ED}${dest_dir}" || die
+	cp -pPR "${S}" "${ED}${dest_dir}" || die
 
 	# Swift ships with its own `clang`, `lldb`, etc.; these don't need to be
 	# exposed externally, so we'll just symlink Swift-specific binaries into
@@ -57,7 +57,7 @@ src_install() {
 	find bin -maxdepth 1 \( -type f -o -type l \) \
 		\( -name "swift*" -o -name "sourcekit*" \) -executable -print0 |
 		while IFS= read -r -d '' exe_path; do
-			exe_name="$(basename "$exe_path")"
+			local exe_name="$(basename "$exe_path")"
 			dosym -r "${dest_dir}/usr/bin/${exe_name}" "/usr/bin/${exe_name}"
 		done
 }


             reply	other threads:[~2024-07-17  8:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-17  8:40 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 11:18 [gentoo-commits] repo/proj/guru:master commit in: dev-lang/swift/ Lucio Sauer
2025-02-11 11:12 David Roman
2025-02-11 11:12 David Roman
2025-01-17  9:41 David Roman
2025-01-13 11:38 David Roman
2024-10-13 14:51 David Roman
2024-10-13 14:51 David Roman
2024-10-13 14:51 David Roman
2024-10-13 14:51 David Roman
2024-10-13 14:51 David Roman
2024-10-13 14:51 David Roman
2024-09-14  0:43 David Roman
2024-09-14  0:43 David Roman
2024-08-10 20:34 Lucio Sauer
2024-08-10 20:34 Lucio Sauer
2024-08-10 20:34 Lucio Sauer
2024-08-10 20:34 Lucio Sauer
2024-08-10 20:34 Lucio Sauer
2024-08-10 20:34 Lucio Sauer
2024-07-17  8:40 David Roman
2024-07-01 13:50 David Roman

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=1721171958.f8b6c19cab860c30df26c5b196e337d319d9cb6c.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.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