summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-12 01:46:50 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-12 01:47:01 +0100
commit9a0b4b34e0ca833c78b43dce13200468c9cb7b59 (patch)
tree590036203e12c74845d67f593c4c1be0c3215617 /app-emacs/compat
parentdev-util/shards: update metadata; take up maintainership (diff)
downloadgentoo-9a0b4b34e0ca833c78b43dce13200468c9cb7b59.tar.gz
gentoo-9a0b4b34e0ca833c78b43dce13200468c9cb7b59.tar.bz2
gentoo-9a0b4b34e0ca833c78b43dce13200468c9cb7b59.zip
app-emacs/compat: bump to 29.1.3.4
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/compat')
-rw-r--r--app-emacs/compat/Manifest1
-rw-r--r--app-emacs/compat/compat-29.1.3.4.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest
index 8a535dede1aa..f206a8ad7988 100644
--- a/app-emacs/compat/Manifest
+++ b/app-emacs/compat/Manifest
@@ -3,3 +3,4 @@ DIST compat-28.1.2.2.tar.gz 82479 BLAKE2B 154104a3d1cf953f712de357d21736d648289d
DIST compat-29.1.1.0.tar.gz 94072 BLAKE2B 675f0bbf4411fb0d2c2e8f77bcd62dbe56da1f052bd6e390dade0c8075eaa480bb387280a29ae09396a2f4bf27746ae1065d38dd1b7882b9c8c0ec3a4eb776e5 SHA512 5c7b093314cd8f8d8cbab4f470a64d3f104d0e79d2881f2f2309700c6fe5f58a72a8a65379868edba33c0b6af1d43f1474e2fefc65c033f39981d29fca35259a
DIST compat-29.1.3.2.tar.gz 117624 BLAKE2B 340f9e5c31770370e1a7320c31d81bcd5e723c80fd1e178f852dfc4213c48387364b7ef05babd3a46fd71943d4c1c88ab76911d509be69b0993cf6e81f36abc2 SHA512 f5b16ebad7b9701548d605d2e015c8ced65c374ae8ab87e9c34a64be9f018ef909c6b775e7df0ce3b92827c7556a1f754a300ed25db1f3c6299a63f17694d08d
DIST compat-29.1.3.3.tar.gz 124534 BLAKE2B 680a404a4819ebbd95f94e2112f8fe3e08cd7c47204319f231c844bdc064153e7df0f653ac9614e6b6185f30b4e82b52aeb8317d74f5aa1c89252c4e6b6afa52 SHA512 fb69e2cff11daea1e3ba6a4755dccb81850c0e64b335978c5a30cb8236108ae369149d8f2e04746884281c01535aba6e6c5ac3c319497d511ecdd090bed83510
+DIST compat-29.1.3.4.tar.gz 125753 BLAKE2B d757ea33ebf5b75c37bf3de5d70da2e4c1cf17bfea34d55fe6a06ffe6505632f5984a91e40b0e951fc4e5460fd98d3ac028c930a9f5f4c8adf381213d7d2a486 SHA512 c33aafcc22cfd158ee546a08b42d1cbd02b0687a6c28ecded991f8baafd2e20216adc3703c3c257c6e32e04da97dcccbb5db528c10d51a53be13ddd778f175bb
diff --git a/app-emacs/compat/compat-29.1.3.4.ebuild b/app-emacs/compat/compat-29.1.3.4.ebuild
new file mode 100644
index 000000000000..459edf66eea1
--- /dev/null
+++ b/app-emacs/compat/compat-29.1.3.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=24.4
+
+inherit elisp
+
+DESCRIPTION="Compatibility libraries for Emacs"
+HOMEPAGE="https://github.com/emacs-compat/compat/
+ https://git.sr.ht/~pkal/compat/"
+SRC_URI="https://github.com/emacs-compat/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+BDEPEND="sys-apps/texinfo"
+
+ELISP_TEXINFO="${PN}.texi"
+
+src_compile() {
+ emake compile ${PN}.info
+}
+
+src_test() {
+ local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 'json-parse-string))")"
+ if [[ "${has_json}" != t ]] ; then
+ local line
+ while read line ; do
+ ewarn "${line}"
+ done <<-EOF
+ Your current Emacs version does not support native JSON parsing,
+ which is required for running tests of ${CATEGORY}/${PN}.
+ Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs"
+ to select that version.
+ EOF
+ else
+ emake test
+ fi
+}