diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-25 07:01:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-25 07:01:01 +0000 |
commit | 50c71de793c37c19d34a68b3af53ba5e7ca51d22 (patch) | |
tree | 93bc7fabec8ef4fa120a75fa4dfefb65b839b92c /app-emacs/package-lint | |
parent | 2808be9288546424bc5e88a39631a6835e6bd388 (diff) |
gentoo auto-resync : 25:03:2024 - 07:01:01
Diffstat (limited to 'app-emacs/package-lint')
-rw-r--r-- | app-emacs/package-lint/Manifest | 3 | ||||
-rw-r--r-- | app-emacs/package-lint/files/package-lint-0.22-load-data-directory.patch | 17 | ||||
-rw-r--r-- | app-emacs/package-lint/package-lint-0.22.ebuild | 54 |
3 files changed, 74 insertions, 0 deletions
diff --git a/app-emacs/package-lint/Manifest b/app-emacs/package-lint/Manifest index 34606d293eba..1f79ee60e0e2 100644 --- a/app-emacs/package-lint/Manifest +++ b/app-emacs/package-lint/Manifest @@ -1,4 +1,7 @@ +AUX package-lint-0.22-load-data-directory.patch 611 BLAKE2B 5b4b891a9fad83fe1e7e7bafec245454d8103132d0c8ffde327ce4d126078a847daf565e5bd7bbed799f1c7dfcf3834f7456d392f000ef94df8c3f569c8b1260 SHA512 7bfe862eb18779dd99fa6fdb7be4178efecd527638b2fea2b0ef60611161a814be8721146a24626c5737971849a9e5a5420dd742eaf29066c8a2387281850a74 AUX package-lint-symbol-info-data-directory.patch 1249 BLAKE2B 119c77c1a720bb08be8dc82b74eba56b0ada00bdc769d6efa644613e582613929e4e1a64ef932160053e07275d533dad86db83d0441c69487a7505bf9cb9dbf4 SHA512 ca0bf2708d7d06361b604f1ac0466f0273492629f827939424a5c1bc764bf1756f71b69eab29eab9db76b168db7e45ab370ff0c8e5ac601bff08a4bd4424a745 DIST package-lint-0.21.tar.gz 320199 BLAKE2B 58e27e2c775e5b78a900b6ce887996e472579b154fba4efebb292c17878b80327aa9aed12e0ed7795f2a876a88c94788e55686ff6705f4ccc730cc690d5d4e0c SHA512 809214078cf6bf1c8648f438a6e8f33a4c2f453f316d818f856af785e94ab85b041ca3fa6dea4485aa116bfe436d56f326ea911c1e04dec3e4fc82b5de0055ae +DIST package-lint-0.22.tar.gz 322207 BLAKE2B 4605bd733ac46c5d1535c5c27c3921006e9641342f2fc42500b225146384e193c719e73c246ec9fc8a9db811d6c9b70b979647b9581a135e78b4cb7f4f4dfd8a SHA512 3924d8a0daaf2bf08c3128aff9776b3b5629d1bc6beeeef6355b07cb14f04769a24458eb81f38a27a7fa3db235fe5eca7a1cdf1a1ae222dd67e8d53e7955647b EBUILD package-lint-0.21-r1.ebuild 925 BLAKE2B e7732fdf1f66f64d3f0fd181424a0785689f108d0e3664a6809746faab2ad345d6e70e89abd2f1d03570fa47aa685f5dd358b09afdefd3b1c45ca21fd9b296f6 SHA512 ecbea652f408e67b65bd8828075da36a6bf38e3b3f2f64a974d6d1849fe00af816ebe89217ee86ffe0574b6ff3836dd84beca0868edd0977107c49347167eb18 +EBUILD package-lint-0.22.ebuild 925 BLAKE2B 9f1047eaaed5ae922468997420bc0ea31a017d2193c81e4f475aa9200c3dd3238a54badc1b09806b2d0c35206494d8c5848eafb5f7bebcdae6647d7dd132131f SHA512 1800b0d891438b213ca0dc43b4b8c96ffb3ef224c00b34b847b18fd3b6ea404467f7f60a09dc38a692e7271c67ac8ba01333f5bfe937fada29ee2b80d3bc01ba MISC metadata.xml 1239 BLAKE2B 108fe66a5ec45cea84e75f042a5952af1ef92e4993b55f46e3392758beb9667562101cd7c1024d0089bd8ad66c9247fdb267e737030ae6b02fba7726cd27f1fc SHA512 227780ef543751dbda0bd612eca5e474ded35b199e380cb18c984d8e9e23ace2e5b08289687b169d420cf7f84baead74e2897af392f21a76e3e158b79e6c5f32 diff --git a/app-emacs/package-lint/files/package-lint-0.22-load-data-directory.patch b/app-emacs/package-lint/files/package-lint-0.22-load-data-directory.patch new file mode 100644 index 000000000000..c4846cf9b6f8 --- /dev/null +++ b/app-emacs/package-lint/files/package-lint-0.22-load-data-directory.patch @@ -0,0 +1,17 @@ +--- a/package-lint.el ++++ b/package-lint.el +@@ -113,11 +113,9 @@ optional minimum version containing the feature.") + (defun package-lint--load-data (file) + "Load sexp data from FILE." + (with-temp-buffer +- (insert-file-contents +- (expand-file-name file +- (if load-file-name +- (file-name-directory load-file-name) +- default-directory))) ++ (let ((ef (expand-file-name file "@SITEETC@"))) ++ (insert-file-contents ++ (if (file-exists-p ef) ef file))) + (read (current-buffer)))) + + (defconst package-lint-symbol-info diff --git a/app-emacs/package-lint/package-lint-0.22.ebuild b/app-emacs/package-lint/package-lint-0.22.ebuild new file mode 100644 index 000000000000..4014aa033f64 --- /dev/null +++ b/app-emacs/package-lint/package-lint-0.22.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 +} |