public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/shellspec/
Date: Tue,  6 Aug 2024 14:10:50 +0000 (UTC)	[thread overview]
Message-ID: <1722934254.b413d09eee4ee1cbbb8c77c370f8fafb17fe5693.watermanpaint@gentoo> (raw)

commit:     b413d09eee4ee1cbbb8c77c370f8fafb17fe5693
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Tue Aug  6 08:50:54 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue Aug  6 08:50:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b413d09e

dev-util/shellspec: revbump

This revision fix the lib directory used.

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>

 .../{shellspec-0.28.1.ebuild => shellspec-0.28.1-r1.ebuild} | 13 +++++++------
 dev-util/shellspec/shellspec-9999.ebuild                    | 13 +++++++------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/dev-util/shellspec/shellspec-0.28.1.ebuild b/dev-util/shellspec/shellspec-0.28.1-r1.ebuild
similarity index 82%
rename from dev-util/shellspec/shellspec-0.28.1.ebuild
rename to dev-util/shellspec/shellspec-0.28.1-r1.ebuild
index aeeb16f9f..8cab3a2a4 100644
--- a/dev-util/shellspec/shellspec-0.28.1.ebuild
+++ b/dev-util/shellspec/shellspec-0.28.1-r1.ebuild
@@ -14,12 +14,12 @@ else
 	KEYWORDS="~amd64"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 IUSE="doc examples test"
-RESTRICT="binchecks strip !test? ( test )"
+RESTRICT="!test? ( test )"
 
-DEPEND="
+RDEPEND="
 	|| (
 		>=app-shells/bash-2.03
 		>=app-shells/dash-0.5.4
@@ -33,8 +33,7 @@ DEPEND="
 	)
 "
 
-BDEPEND="test? ( ${DEPEND} )"
-RDEPEND="${DEPEND}"
+BDEPEND="test? ( ${RDEPEND} )"
 
 DOCS=(
 	CHANGELOG.md
@@ -44,6 +43,8 @@ DOCS=(
 
 src_prepare() {
 	default
+
+	sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
 	sed -i "s/LICENSE//g" Makefile || die
 }
 
@@ -59,5 +60,5 @@ src_install() {
 	use doc && dodoc -r docs
 	use examples && dodoc -r examples
 
-	emake PREFIX="${ED}/usr" install
+	emake LIBDIR="${ED}/usr/$(get_libdir)" PREFIX="${ED}/usr" install
 }

diff --git a/dev-util/shellspec/shellspec-9999.ebuild b/dev-util/shellspec/shellspec-9999.ebuild
index aeeb16f9f..8cab3a2a4 100644
--- a/dev-util/shellspec/shellspec-9999.ebuild
+++ b/dev-util/shellspec/shellspec-9999.ebuild
@@ -14,12 +14,12 @@ else
 	KEYWORDS="~amd64"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 IUSE="doc examples test"
-RESTRICT="binchecks strip !test? ( test )"
+RESTRICT="!test? ( test )"
 
-DEPEND="
+RDEPEND="
 	|| (
 		>=app-shells/bash-2.03
 		>=app-shells/dash-0.5.4
@@ -33,8 +33,7 @@ DEPEND="
 	)
 "
 
-BDEPEND="test? ( ${DEPEND} )"
-RDEPEND="${DEPEND}"
+BDEPEND="test? ( ${RDEPEND} )"
 
 DOCS=(
 	CHANGELOG.md
@@ -44,6 +43,8 @@ DOCS=(
 
 src_prepare() {
 	default
+
+	sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
 	sed -i "s/LICENSE//g" Makefile || die
 }
 
@@ -59,5 +60,5 @@ src_install() {
 	use doc && dodoc -r docs
 	use examples && dodoc -r examples
 
-	emake PREFIX="${ED}/usr" install
+	emake LIBDIR="${ED}/usr/$(get_libdir)" PREFIX="${ED}/usr" install
 }


             reply	other threads:[~2024-08-06 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 14:10 Lucio Sauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-06 14:10 [gentoo-commits] repo/proj/guru:master commit in: dev-util/shellspec/ Lucio Sauer
2024-08-06  3:19 Lucio Sauer

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=1722934254.b413d09eee4ee1cbbb8c77c370f8fafb17fe5693.watermanpaint@gentoo \
    --to=watermanpaint@posteo.net \
    --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