public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/package-lint/
Date: Wed, 20 Dec 2023 19:45:52 +0000 (UTC)	[thread overview]
Message-ID: <1703101547.2fbc7f9e1f252cbaafaca434098a591484aeeb96.xgqt@gentoo> (raw)

commit:     2fbc7f9e1f252cbaafaca434098a591484aeeb96
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 13:41:05 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 19:45:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbc7f9e

app-emacs/package-lint: add new dependency for 0.21 - compat

Closes: https://bugs.gentoo.org/920378
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/package-lint/package-lint-0.21-r1.ebuild | 51 ++++++++++++++++++++++
 app-emacs/package-lint/package-lint-0.21.ebuild    | 35 ---------------
 2 files changed, 51 insertions(+), 35 deletions(-)

diff --git a/app-emacs/package-lint/package-lint-0.21-r1.ebuild b/app-emacs/package-lint/package-lint-0.21-r1.ebuild
new file mode 100644
index 000000000000..995c84ec579c
--- /dev/null
+++ b/app-emacs/package-lint/package-lint-0.21-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.1
+
+inherit elisp
+
+DESCRIPTION="Linting library for Emacs Lisp package metadata"
+HOMEPAGE="https://github.com/purcell/package-lint/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/purcell/${PN}.git"
+else
+	SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	app-emacs/compat
+"
+BDEPEND="
+	${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-symbol-info-data-directory.patch" )
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	elisp_src_prepare
+
+	sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i "${PN}.el" || die
+}
+
+src_install() {
+	elisp-install "${PN}" ${PN}{,-flymake}.el{,c}
+	elisp-make-site-file "${SITEFILE}"
+
+	insinto "${SITEETC}/${PN}"
+	doins -r data
+
+	einstalldocs
+}

diff --git a/app-emacs/package-lint/package-lint-0.21.ebuild b/app-emacs/package-lint/package-lint-0.21.ebuild
deleted file mode 100644
index 4f573a3330fa..000000000000
--- a/app-emacs/package-lint/package-lint-0.21.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NEED_EMACS=26.1
-
-inherit elisp
-
-DESCRIPTION="Linting library for Emacs Lisp package metadata"
-HOMEPAGE="https://github.com/purcell/package-lint/"
-SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-
-PATCHES=( "${FILESDIR}"/${PN}-symbol-info-data-directory.patch )
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-	elisp_src_prepare
-
-	sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die
-}
-
-src_install() {
-	elisp-install ${PN} ${PN}{,-flymake}.el{,c}
-	elisp-make-site-file "${SITEFILE}"
-
-	insinto ${SITEETC}/${PN}
-	doins -r data
-
-	einstalldocs
-}


             reply	other threads:[~2023-12-20 19:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 19:45 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30  2:55 [gentoo-commits] repo/gentoo:master commit in: app-emacs/package-lint/ Sam James
2024-09-25 21:16 Maciej Barć
2024-09-25 21:16 Maciej Barć
2024-04-04 15:05 Arthur Zamarin
2024-03-30 23:09 Maciej Barć
2024-03-30 23:09 Maciej Barć
2023-12-20 19:45 Maciej Barć
2023-12-20 19:45 Maciej Barć
2023-11-27 18:59 Maciej Barć
2023-11-27 18:59 Maciej Barć
2023-11-27 18:59 Maciej Barć
2023-11-07 18:50 Maciej Barć
2023-08-07 11:31 Maciej Barć
2023-08-07 11:31 Maciej Barć
2023-08-05 16:53 Maciej Barć
2023-03-19 14:18 Maciej Barć
2022-04-26 23:25 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=1703101547.2fbc7f9e1f252cbaafaca434098a591484aeeb96.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