forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/package-lint: bump to 0.20
Signed-off-by: Maciej Barć <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST package-lint-0.17.tar.gz 284965 BLAKE2B 752adde42a820f54adef63cbe9f0cebef5af1d4d51dfefe9bf1c18929e739137081b722632f1fae8e171f4e25c0b9b15b47d9b3fb2c0f0542b214054c46ea190 SHA512 3f2240e03f67d6575b93643d26abd768bfe71fa1223c38b5b889c0f11784d22d3ad1849fa8f1424dccafc3befafdb49b1d796f175867490db96534c0e4b5f25e | ||
DIST package-lint-0.18.tar.gz 319579 BLAKE2B ba9ebc1bb3155b24ae6bfb7ce78f2360502ebac2aaa9f06bbe30c59b750cf3d4cafc318c2e0da9cd6414837d5bf2ad187cb6d4b3cf4edef4d10dffb453b1e06a SHA512 5f39e9de275b7d57e8a9cefa1edfd244e004ee5b436ac500739b5b615795cc894443f1596801a493cd60f9205c02203c12e9577893212b1f03e47eed66100471 | ||
DIST package-lint-0.19.tar.gz 319593 BLAKE2B f17822bb2fd08c6e468457abfd283bfa8e3eab94bf7daf76701bcc603d4f73cd205348a19f403d78321402dce3b09f2f13a7ce27f34a96db19feff42fcb0389d SHA512 5024d45b5c3c6b6f958884b7bcf5ae9fb27afd61d66353c421de89b05abc87457fd6b301f0aa0254a9fdbea57e88a0ecbdc03eeb5a710c1a29a88af29626c850 | ||
DIST package-lint-0.20.tar.gz 320154 BLAKE2B d1034df225179b4c5c9858212531991e8e4097504770e0067e48a42323f758a40359748cb4d86b633282b42d7c7f9e42104ec1baef4be2b98661bb99be45f405 SHA512 18935929a2d031194eba3045bcd56bb6911859bb9f221ee43c3735fa8a873d3e363950c7d3b2f056e24f62cace48202955ec98487460a64e28a5e31a6587b7b8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |