From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh-bin/
Date: Sun, 27 Jun 2021 18:15:02 +0000 (UTC) [thread overview]
Message-ID: <1624817699.c85c5ac0b722d174bf80171beb8eaf3c16045f56.zmedico@gentoo> (raw)
commit: c85c5ac0b722d174bf80171beb8eaf3c16045f56
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 27 17:33:07 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Jun 27 18:14:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85c5ac0
app-shells/pwsh-bin: Import from dotnet repo + 7.1.3 version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-shells/pwsh-bin/Manifest | 3 +++
app-shells/pwsh-bin/metadata.xml | 18 +++++++++++++
app-shells/pwsh-bin/pwsh-bin-7.1.3.ebuild | 43 +++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+)
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
new file mode 100644
index 00000000000..85bd78acf7c
--- /dev/null
+++ b/app-shells/pwsh-bin/Manifest
@@ -0,0 +1,3 @@
+DIST powershell-7.1.3-linux-arm32.tar.gz 64921375 BLAKE2B d4d5eb64bbb88d1e52a10fb95e36005774f3cfb8ed3383702872c0c5fd02b6057615149d00d2410a3a1f7f2f85e99a7329fdb74dbba08c080747905abae66d3f SHA512 3aa77f8f93bf61a8aac9f46c701bcc24822474c42527b4948c7187841d9a94adeb9159e8a35ea156e40d1a7626c813e3364311af87ff2717889cb9544b4ff958
+DIST powershell-7.1.3-linux-arm64.tar.gz 63765497 BLAKE2B e42164e80a7576547bca5304181ccf31f43fed971bc02403e0adc400234523d5ee4529367488ad3526594e43d8fbd21b2a804536ea2b21073d8e174280b96dd4 SHA512 8fba0cba90a2f8fa073e6a40d69617388b65650e7eea1756962ecb75a14df06dd19d0107d32d94ed53ad9ab79199fbc04b53038303c24f30c286c2f9fcced6b5
+DIST powershell-7.1.3-linux-x64.tar.gz 68289291 BLAKE2B 6d3f1f61b632728ef0868a82b09f9c33f364b4c4c5869b2d700cdd051109d52f73bfba787be70b6acf53c227eb035786d47ec994a50db8e0a43e17b002a5d478 SHA512 7a33c01f8a9de33205c08f7c6833272bb3f33052b8020c0a794e47ec6f6ec971dc41251e4eb7e8d21382099ea127f363242d0d93f4d31aaa6ea87ce955ed0718
diff --git a/app-shells/pwsh-bin/metadata.xml b/app-shells/pwsh-bin/metadata.xml
new file mode 100644
index 00000000000..a5e3c68d397
--- /dev/null
+++ b/app-shells/pwsh-bin/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <changelog>https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.1.md</changelog>
+ <doc>https://powershell.org/free-resources/</doc>
+ <bugs-to>https://github.com/PowerShell/PowerShell/issues</bugs-to>
+ <remote-id type="github">PowerShell/PowerShell</remote-id>
+ </upstream>
+ <use>
+ <flag name="pwsh-symlink">
+ Install a pwsh symlink that points to pwsh-bin.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-shells/pwsh-bin/pwsh-bin-7.1.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.1.3.ebuild
new file mode 100644
index 00000000000..b3bb0706496
--- /dev/null
+++ b/app-shells/pwsh-bin/pwsh-bin-7.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="PowerShell - binary precompiled for glibc"
+HOMEPAGE="https://powershell.org/"
+LICENSE="MIT"
+QA_PREBUILT="*"
+SRC_URI="
+ amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
+ arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
+ arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+RDEPEND="
+ app-crypt/mit-krb5:0/0
+ dev-util/lttng-ust:0
+ || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0/0 )
+ sys-libs/pam:0/0
+ sys-libs/zlib:0/1
+ pwsh-symlink? ( !app-shells/pwsh )
+"
+IUSE="+pwsh-symlink"
+REQUIRED_USE="elibc_glibc"
+
+S=${WORKDIR}
+
+src_install() {
+ local dest=opt/pwsh broken_symlinks=(libcrypto.so.1.0.0 libssl.so.1.0.0) symlink
+ dodir "${dest}"
+
+ for symlink in "${broken_symlinks[@]}"; do
+ [[ -L ${symlink} ]] && { rm "${symlink}" || die; }
+ done
+
+ mv "${S}/"* "${ED}/${dest}/" || die
+ fperms 0755 "/${dest}/pwsh"
+
+ dosym "../../${dest}/pwsh" "/usr/bin/pwsh-bin"
+ use pwsh-symlink && dosym "../../${dest}/pwsh" "/usr/bin/pwsh"
+}
next reply other threads:[~2021-06-27 18:15 UTC|newest]
Thread overview: 92+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-27 18:15 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-19 18:44 [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh-bin/ Zac Medico
2021-11-21 0:38 Zac Medico
2021-12-15 4:17 Zac Medico
2022-05-06 16:20 Michał Górny
2022-05-06 16:20 Michał Górny
2022-06-02 16:48 Maciej Barć
2022-06-02 16:48 Maciej Barć
2022-06-02 16:48 Maciej Barć
2022-06-21 21:41 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-08-13 15:17 Maciej Barć
2022-09-23 23:58 Maciej Barć
2022-09-23 23:58 Maciej Barć
2022-10-21 0:48 Maciej Barć
2022-10-21 0:48 Maciej Barć
2022-11-09 17:25 Maciej Barć
2022-11-09 17:25 Maciej Barć
2022-11-18 20:38 Maciej Barć
2022-12-13 20:36 Maciej Barć
2022-12-13 20:36 Maciej Barć
2023-01-24 19:48 Maciej Barć
2023-01-24 19:48 Maciej Barć
2023-02-08 1:55 Sam James
2023-02-10 13:39 Maciej Barć
2023-02-24 2:15 Maciej Barć
2023-02-24 2:15 Maciej Barć
2023-09-16 7:50 Maciej Barć
2023-09-16 7:50 Maciej Barć
2023-09-16 7:50 Maciej Barć
2023-09-16 7:50 Maciej Barć
2023-09-16 10:11 Sam James
2023-09-16 10:26 Sam James
2023-09-20 22:47 Maciej Barć
2023-10-07 23:27 Sam James
2023-10-07 23:36 Maciej Barć
2023-10-07 23:36 Maciej Barć
2023-10-11 0:19 Maciej Barć
2023-10-11 0:19 Maciej Barć
2023-10-28 14:05 Maciej Barć
2023-11-13 19:53 Sam James
2023-11-16 23:38 Maciej Barć
2023-11-16 23:38 Maciej Barć
2023-11-16 23:38 Maciej Barć
2023-12-08 9:12 Arthur Zamarin
2023-12-15 1:34 Maciej Barć
2023-12-22 5:07 Sam James
2024-01-12 23:22 Maciej Barć
2024-02-16 21:40 Sam James
2024-04-04 1:07 Sam James
2024-04-04 19:01 Maciej Barć
2024-04-04 19:01 Maciej Barć
2024-05-08 12:42 Maciej Barć
2024-05-16 16:47 Arthur Zamarin
2024-06-07 16:49 Arthur Zamarin
2024-06-07 16:52 Arthur Zamarin
2024-06-07 16:56 Arthur Zamarin
2024-06-19 12:46 Maciej Barć
2024-06-19 12:46 Maciej Barć
2024-07-21 20:33 Arthur Zamarin
2024-07-22 1:13 Sam James
2024-07-22 1:13 Sam James
2024-07-23 23:12 Maciej Barć
2024-07-23 23:12 Maciej Barć
2024-08-24 13:12 Michał Górny
2024-08-24 13:24 Arthur Zamarin
2024-08-24 15:44 Maciej Barć
2024-09-01 19:46 Arthur Zamarin
2024-09-20 16:04 Maciej Barć
2024-09-27 5:30 Arthur Zamarin
2024-09-28 10:27 Arthur Zamarin
2024-09-28 13:56 Arthur Zamarin
2024-12-06 1:08 Maciej Barć
2024-12-06 1:08 Maciej Barć
2025-01-05 22:56 Sam James
2025-01-05 22:56 Sam James
2025-01-05 22:56 Sam James
2025-01-23 22:10 Maciej Barć
2025-03-04 22:43 Sam James
2025-03-04 22:43 Sam James
2025-03-04 22:48 Sam James
2025-03-15 17:55 Sam James
2025-03-15 18:13 Arthur Zamarin
2025-03-15 18:13 Arthur Zamarin
2025-03-15 19:55 Maciej Barć
2025-03-15 19:55 Maciej Barć
2025-05-10 20:55 Maciej Barć
2025-06-14 13:56 Sam James
2025-06-15 2:22 Sam James
2025-06-21 6:01 Sam James
2025-07-05 21:21 Maciej Barć
2025-07-05 21:21 Maciej Barć
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=1624817699.c85c5ac0b722d174bf80171beb8eaf3c16045f56.zmedico@gentoo \
--to=zmedico@gentoo.org \
--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