summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-11-27 19:49:26 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-11-27 19:59:46 +0100
commit0fb2ab3383502833d77e60cf847bd1d21b1a2c80 (patch)
tree5b20cbeedfd1c48571595df08a28d23a2c9feb2e /app-emacs/package-lint
parentapp-emacs/package-lint: drop old 0.18 (diff)
downloadgentoo-0fb2ab3383502833d77e60cf847bd1d21b1a2c80.tar.gz
gentoo-0fb2ab3383502833d77e60cf847bd1d21b1a2c80.tar.bz2
gentoo-0fb2ab3383502833d77e60cf847bd1d21b1a2c80.zip
app-emacs/package-lint: bump to 0.21
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/package-lint')
-rw-r--r--app-emacs/package-lint/Manifest1
-rw-r--r--app-emacs/package-lint/package-lint-0.21.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/package-lint/Manifest b/app-emacs/package-lint/Manifest
index 8c2ae934b044..5cf5d39b40ef 100644
--- a/app-emacs/package-lint/Manifest
+++ b/app-emacs/package-lint/Manifest
@@ -1,2 +1,3 @@
DIST package-lint-0.19.tar.gz 319593 BLAKE2B f17822bb2fd08c6e468457abfd283bfa8e3eab94bf7daf76701bcc603d4f73cd205348a19f403d78321402dce3b09f2f13a7ce27f34a96db19feff42fcb0389d SHA512 5024d45b5c3c6b6f958884b7bcf5ae9fb27afd61d66353c421de89b05abc87457fd6b301f0aa0254a9fdbea57e88a0ecbdc03eeb5a710c1a29a88af29626c850
DIST package-lint-0.20.tar.gz 320154 BLAKE2B d1034df225179b4c5c9858212531991e8e4097504770e0067e48a42323f758a40359748cb4d86b633282b42d7c7f9e42104ec1baef4be2b98661bb99be45f405 SHA512 18935929a2d031194eba3045bcd56bb6911859bb9f221ee43c3735fa8a873d3e363950c7d3b2f056e24f62cace48202955ec98487460a64e28a5e31a6587b7b8
+DIST package-lint-0.21.tar.gz 320199 BLAKE2B 58e27e2c775e5b78a900b6ce887996e472579b154fba4efebb292c17878b80327aa9aed12e0ed7795f2a876a88c94788e55686ff6705f4ccc730cc690d5d4e0c SHA512 809214078cf6bf1c8648f438a6e8f33a4c2f453f316d818f856af785e94ab85b041ca3fa6dea4485aa116bfe436d56f326ea911c1e04dec3e4fc82b5de0055ae
diff --git a/app-emacs/package-lint/package-lint-0.21.ebuild b/app-emacs/package-lint/package-lint-0.21.ebuild
new file mode 100644
index 000000000000..4f573a3330fa
--- /dev/null
+++ b/app-emacs/package-lint/package-lint-0.21.ebuild
@@ -0,0 +1,35 @@
+# 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
+}