public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/
Date: Sun,  7 Jul 2024 17:06:37 +0000 (UTC)	[thread overview]
Message-ID: <1720371970.8d5dd152e2fdd431398c191b1cf165f8bb53b78f.ulm@gentoo> (raw)

commit:     8d5dd152e2fdd431398c191b1cf165f8bb53b78f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 17:04:37 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 17:06:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5dd152

app-emacs/vterm: New snapshot 0.0.2_p20240705

Sync live ebuild.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/vterm/Manifest                           |  1 +
 ...rm-9999.ebuild => vterm-0.0.2_p20240705.ebuild} | 34 ++++++++++------------
 app-emacs/vterm/vterm-9999.ebuild                  | 34 ++++++++++------------
 3 files changed, 31 insertions(+), 38 deletions(-)

diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest
index cd6bad9fe88b..02e1cf93999a 100644
--- a/app-emacs/vterm/Manifest
+++ b/app-emacs/vterm/Manifest
@@ -1 +1,2 @@
 DIST vterm-0.0.2_p20240102.tar.gz 61754 BLAKE2B 283730dbd1d826590111495c798bfdf78a1921c73ac6aba7f062590c775c2d99265f70cf915f486316837a28e97f0e6a0e3fca72aed74295fbfc807acd8c1a99 SHA512 74a6a789ffc2863eea7be6775761c65537812cb0a6c571334ae3958129ddd3e7bbe764812e4dfe2782194a3e92af6cc6d04e400ca94a2e73dfa38fa0b476eabc
+DIST vterm-0.0.2_p20240705.tar.gz 61759 BLAKE2B a89ca81e905ce184eac3a7374502be9d550c5ac662a8576b8f623bb265fabde5dfb1e32534fdd2f92b8d8b7f3e164faa4137b51c0424a2a0d1cccc2f948e646c SHA512 4b51f67e18a98297b2fb85d9d28b840855bbf52e80d03e9c9889ba525a301a48777837bfb8583bfc60a660235ddd2beb7fec41258f9f062414eed82a385385b2

diff --git a/app-emacs/vterm/vterm-9999.ebuild b/app-emacs/vterm/vterm-0.0.2_p20240705.ebuild
similarity index 67%
copy from app-emacs/vterm/vterm-9999.ebuild
copy to app-emacs/vterm/vterm-0.0.2_p20240705.ebuild
index 47fb04defbc9..66772f19f189 100644
--- a/app-emacs/vterm/vterm-9999.ebuild
+++ b/app-emacs/vterm/vterm-0.0.2_p20240705.ebuild
@@ -11,25 +11,21 @@ inherit cmake elisp
 DESCRIPTION="Fully-featured terminal emulator based on libvterm"
 HOMEPAGE="https://github.com/akermu/emacs-libvterm/"
 
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-
-	EGIT_REPO_URI="https://github.com/akermu/${MY_PN}.git"
-else
-	if [[ "${PV}" = *_p20240102 ]] ; then
-		COMMIT=c3a3a23a5eace137947524c93644204bf6b56cff
-
-		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT}.tar.gz
-			-> ${P}.tar.gz"
-		S="${WORKDIR}/${MY_PN}-${COMMIT}"
-	else
-		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${PV}.tar.gz
+case ${PV} in
+	*9999*)
+		inherit git-r3
+		EGIT_REPO_URI="https://github.com/akermu/${MY_PN}.git"
+		;;
+	*_p20240705)
+		COMMIT=d9ea29fb10aed20512bd95dc5b8c1a01684044b1
+		;&			# fall through
+	*)
+		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT:-${PV}}.tar.gz
 			-> ${P}.tar.gz"
-		S="${WORKDIR}/${MY_PN}-${PV}"
-	fi
-
-	KEYWORDS="~amd64 ~arm64 ~x86"
-fi
+		S="${WORKDIR}/${MY_PN}-${COMMIT:-${PV}}"
+		KEYWORDS="~amd64 ~arm64 ~x86"
+		;;
+esac
 
 LICENSE="GPL-3+"
 SLOT="0"
@@ -48,7 +44,7 @@ DOCS=( README.md )
 SITEFILE="50${PN}-gentoo.el"
 
 src_prepare() {
-	if [[ -e "${ESYSROOT}/usr/include/emacs-module.h" ]] ; then
+	if [[ -e ${ESYSROOT}/usr/include/emacs-module.h ]]; then
 		# Use system header file instead of bundled one.
 		rm emacs-module.h || die
 	else

diff --git a/app-emacs/vterm/vterm-9999.ebuild b/app-emacs/vterm/vterm-9999.ebuild
index 47fb04defbc9..66772f19f189 100644
--- a/app-emacs/vterm/vterm-9999.ebuild
+++ b/app-emacs/vterm/vterm-9999.ebuild
@@ -11,25 +11,21 @@ inherit cmake elisp
 DESCRIPTION="Fully-featured terminal emulator based on libvterm"
 HOMEPAGE="https://github.com/akermu/emacs-libvterm/"
 
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-
-	EGIT_REPO_URI="https://github.com/akermu/${MY_PN}.git"
-else
-	if [[ "${PV}" = *_p20240102 ]] ; then
-		COMMIT=c3a3a23a5eace137947524c93644204bf6b56cff
-
-		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT}.tar.gz
-			-> ${P}.tar.gz"
-		S="${WORKDIR}/${MY_PN}-${COMMIT}"
-	else
-		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${PV}.tar.gz
+case ${PV} in
+	*9999*)
+		inherit git-r3
+		EGIT_REPO_URI="https://github.com/akermu/${MY_PN}.git"
+		;;
+	*_p20240705)
+		COMMIT=d9ea29fb10aed20512bd95dc5b8c1a01684044b1
+		;&			# fall through
+	*)
+		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT:-${PV}}.tar.gz
 			-> ${P}.tar.gz"
-		S="${WORKDIR}/${MY_PN}-${PV}"
-	fi
-
-	KEYWORDS="~amd64 ~arm64 ~x86"
-fi
+		S="${WORKDIR}/${MY_PN}-${COMMIT:-${PV}}"
+		KEYWORDS="~amd64 ~arm64 ~x86"
+		;;
+esac
 
 LICENSE="GPL-3+"
 SLOT="0"
@@ -48,7 +44,7 @@ DOCS=( README.md )
 SITEFILE="50${PN}-gentoo.el"
 
 src_prepare() {
-	if [[ -e "${ESYSROOT}/usr/include/emacs-module.h" ]] ; then
+	if [[ -e ${ESYSROOT}/usr/include/emacs-module.h ]]; then
 		# Use system header file instead of bundled one.
 		rm emacs-module.h || die
 	else


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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-07 17:06 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 20:57 [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/ Maciej Barć
2024-08-10 18:55 Arthur Zamarin
2024-02-10  4:05 Sam James
2024-01-08 19:22 Maciej Barć
2024-01-08 19:22 Maciej Barć
2023-08-11 16:41 Maciej Barć
2023-07-17 16:53 Arthur Zamarin
2023-05-14 10:29 Andreas Sturmlechner
2023-04-03  0:24 Maciej Barć
2023-01-23  7:57 Maciej Barć
2021-08-02 11:05 Ulrich Müller
2020-09-02  4:02 Sam James
2020-08-04 15:06 Ulrich Müller

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=1720371970.8d5dd152e2fdd431398c191b1cf165f8bb53b78f.ulm@gentoo \
    --to=ulm@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