From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck/
Date: Fri, 24 Mar 2023 14:30:48 +0000 (UTC) [thread overview]
Message-ID: <1679668246.04ca5c83b6cce6fb4152fd2f54cd03141505aaaf.xgqt@gentoo> (raw)
commit: 04ca5c83b6cce6fb4152fd2f54cd03141505aaaf
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 14:27:23 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 14:30:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ca5c83
app-emacs/flycheck: guard COMMIT; add support for live
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild | 23 +++++++++++++++++-----
app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild | 23 +++++++++++++++++-----
app-emacs/flycheck/flycheck-32_p20230305.ebuild | 23 +++++++++++++++++-----
3 files changed, 54 insertions(+), 15 deletions(-)
diff --git a/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild b/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
index 68d7c5475c23..38acdbd6ab11 100644
--- a/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
+++ b/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
@@ -8,14 +8,27 @@ NEED_EMACS="24.3"
inherit elisp
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
-HOMEPAGE="https://www.flycheck.org/"
-COMMIT="3b5b4248074f016922c2674789d4a242528cf4c7"
-SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+HOMEPAGE="https://www.flycheck.org/
+ https://github.com/flycheck/flycheck/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ if [[ ${PV} == *_p20220328 ]] ; then
+ COMMIT=3b5b4248074f016922c2674789d4a242528cf4c7
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ fi
+ KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~x64-macos"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~x64-macos"
RESTRICT="test" # test requires cask and ert-runner which are not packaged yet
RDEPEND=">=app-emacs/dash-2.12.1
diff --git a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild
index f1f18ee87b30..144233694866 100644
--- a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild
+++ b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild
@@ -7,15 +7,28 @@ NEED_EMACS="24.3"
inherit edo elisp
-COMMIT="5f2ef177cb21ae8b73714575802beef04abd0f5e"
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
-HOMEPAGE="https://www.flycheck.org/"
-SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+HOMEPAGE="https://www.flycheck.org/
+ https://github.com/flycheck/flycheck/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ if [[ ${PV} == *_p20230305 ]] ; then
+ COMMIT=5f2ef177cb21ae8b73714575802beef04abd0f5e
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ fi
+ KEYWORDS="~amd64 ~arm ~ppc64"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64"
IUSE="test"
# Tests fail for now, need more investigation
RESTRICT="!test? ( test ) test"
diff --git a/app-emacs/flycheck/flycheck-32_p20230305.ebuild b/app-emacs/flycheck/flycheck-32_p20230305.ebuild
index 1ad096748312..2fae67dd6044 100644
--- a/app-emacs/flycheck/flycheck-32_p20230305.ebuild
+++ b/app-emacs/flycheck/flycheck-32_p20230305.ebuild
@@ -8,14 +8,27 @@ NEED_EMACS="24.3"
inherit elisp
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
-HOMEPAGE="https://www.flycheck.org/"
-COMMIT="5f2ef177cb21ae8b73714575802beef04abd0f5e"
-SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+HOMEPAGE="https://www.flycheck.org/
+ https://github.com/flycheck/flycheck/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ if [[ ${PV} == *_p20230305 ]] ; then
+ COMMIT=5f2ef177cb21ae8b73714575802beef04abd0f5e
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ fi
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x64-macos"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x64-macos"
RESTRICT="test" # TODO: wire up now that cask and ert-runner are packaged
RDEPEND=">=app-emacs/dash-2.12.1
next reply other threads:[~2023-03-24 14:30 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 14:30 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-03 15:08 [gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck/ Maciej Barć
2024-06-25 15:26 Maciej Barć
2024-06-25 15:26 Maciej Barć
2024-03-21 5:45 Joonas Niilola
2024-03-20 23:47 Sam James
2024-03-13 12:05 Arthur Zamarin
2024-03-13 12:05 Arthur Zamarin
2024-02-19 15:30 Maciej Barć
2024-02-19 15:30 Maciej Barć
2024-02-14 20:28 Maciej Barć
2024-02-07 22:22 Maciej Barć
2023-04-25 14:47 Arthur Zamarin
2023-04-25 14:23 Arthur Zamarin
2023-04-25 14:14 Arthur Zamarin
2023-04-25 14:14 Arthur Zamarin
2023-03-31 17:35 Arthur Zamarin
2023-03-25 2:57 Yixun Lan
2023-03-24 14:30 Maciej Barć
2023-03-24 7:03 Sam James
2023-03-24 7:02 Sam James
2023-03-24 7:02 Sam James
2023-03-24 5:48 Sam James
2023-03-24 5:48 Sam James
2023-03-23 4:57 Sam James
2023-03-23 4:57 Sam James
2023-01-03 20:25 Sam James
2023-01-03 18:36 Arthur Zamarin
2022-12-22 13:10 Sam James
2022-12-22 13:06 Sam James
2022-10-08 7:01 Arthur Zamarin
2022-08-27 12:42 Jakov Smolić
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-07-31 6:44 Sam James
2022-04-12 22:27 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=1679668246.04ca5c83b6cce6fb4152fd2f54cd03141505aaaf.xgqt@gentoo \
--to=xgqt@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