summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-19 13:42:09 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-19 14:53:09 +0100
commitda6d36017583c5420e995b4d2b5524cf946721f4 (patch)
tree938bc6337f4dd0183342cf45ef47995db572f0a1 /app-emacs/package-lint
parentapp-emacs/php-mode: bump to 1.24.3 (diff)
downloadgentoo-da6d36017583c5420e995b4d2b5524cf946721f4.tar.gz
gentoo-da6d36017583c5420e995b4d2b5524cf946721f4.tar.bz2
gentoo-da6d36017583c5420e995b4d2b5524cf946721f4.zip
app-emacs/package-lint: bump to 0.17
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.17.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/package-lint/Manifest b/app-emacs/package-lint/Manifest
index a55a783a16b8..888bd2f18d82 100644
--- a/app-emacs/package-lint/Manifest
+++ b/app-emacs/package-lint/Manifest
@@ -1 +1,2 @@
DIST package-lint-0.16.tar.gz 224744 BLAKE2B a1d26ae28727e305416498b66da188cbadababc9f415c199eff380dbce4888ee3137b6f13a26147d427142a9d244c784e192d21df3173d0a0c2dde4acb1e8630 SHA512 f5d79b69d37671233614a622cd5fd6c28c230adb0d5b7934ccd6bedc12228adb7bdef6739fdd32be383cefceb65b9538a00f763b49be6499e4b6e3f8b1a34616
+DIST package-lint-0.17.tar.gz 284965 BLAKE2B 752adde42a820f54adef63cbe9f0cebef5af1d4d51dfefe9bf1c18929e739137081b722632f1fae8e171f4e25c0b9b15b47d9b3fb2c0f0542b214054c46ea190 SHA512 3f2240e03f67d6575b93643d26abd768bfe71fa1223c38b5b889c0f11784d22d3ad1849fa8f1424dccafc3befafdb49b1d796f175867490db96534c0e4b5f25e
diff --git a/app-emacs/package-lint/package-lint-0.17.ebuild b/app-emacs/package-lint/package-lint-0.17.ebuild
new file mode 100644
index 000000000000..580fcf939a43
--- /dev/null
+++ b/app-emacs/package-lint/package-lint-0.17.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-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ insinto ${SITEETC}/${PN}
+ doins -r data
+
+ einstalldocs
+}