summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-03-30 21:35:30 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-03-31 00:09:27 +0100
commit15ea44a413a915195eca5098f2ae82fe812fcf45 (patch)
tree5e8c990f8ab7e82071641782fe2cacccceac2f1b /app-emacs
parentapp-emacs/package-lint: drop old 0.21-r1 (diff)
downloadgentoo-15ea44a413a915195eca5098f2ae82fe812fcf45.tar.gz
gentoo-15ea44a413a915195eca5098f2ae82fe812fcf45.tar.bz2
gentoo-15ea44a413a915195eca5098f2ae82fe812fcf45.zip
app-emacs/package-lint: bump to 0.23
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/package-lint/Manifest1
-rw-r--r--app-emacs/package-lint/package-lint-0.23.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-emacs/package-lint/Manifest b/app-emacs/package-lint/Manifest
index 810ee70ddc93..4de619d2c113 100644
--- a/app-emacs/package-lint/Manifest
+++ b/app-emacs/package-lint/Manifest
@@ -1 +1,2 @@
DIST package-lint-0.22.tar.gz 322207 BLAKE2B 4605bd733ac46c5d1535c5c27c3921006e9641342f2fc42500b225146384e193c719e73c246ec9fc8a9db811d6c9b70b979647b9581a135e78b4cb7f4f4dfd8a SHA512 3924d8a0daaf2bf08c3128aff9776b3b5629d1bc6beeeef6355b07cb14f04769a24458eb81f38a27a7fa3db235fe5eca7a1cdf1a1ae222dd67e8d53e7955647b
+DIST package-lint-0.23.tar.gz 322339 BLAKE2B c3c0a866d46863248fdcf914049859e9dccf0f921a71cc44f4c386e50f5bafac58ba3d1e04b6dcbd58c650fa1386574b2bb3e014cde972416ca3af7f1158b1a1 SHA512 b6d52dd8edb730c77afdadcde48e3235ce90c0e435faf28f220108d9f5994c4a07e8e9b08f765628a7591c11f8e96cfe1ea25606a1d081bede0923528fbf47e3
diff --git a/app-emacs/package-lint/package-lint-0.23.ebuild b/app-emacs/package-lint/package-lint-0.23.ebuild
new file mode 100644
index 000000000000..4014aa033f64
--- /dev/null
+++ b/app-emacs/package-lint/package-lint-0.23.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 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}-0.22-load-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
+}