summaryrefslogtreecommitdiff
path: root/app-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/Manifest.gzbin71789 -> 71794 bytes
-rw-r--r--app-emacs/gnuplot-mode/Manifest5
-rw-r--r--app-emacs/gnuplot-mode/files/gnuplot-mode-0.8.0-tests.patch11
-rw-r--r--app-emacs/gnuplot-mode/gnuplot-mode-0.8.0.ebuild11
-rw-r--r--app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild9
-rw-r--r--app-emacs/go-mode/Manifest2
-rw-r--r--app-emacs/go-mode/go-mode-1.6.0.ebuild19
-rw-r--r--app-emacs/rust-mode/Manifest7
-rw-r--r--app-emacs/rust-mode/files/rust-mode-1.0.5-tests.patch36
-rw-r--r--app-emacs/rust-mode/rust-mode-0.4.0.ebuild28
-rw-r--r--app-emacs/rust-mode/rust-mode-1.0.4.ebuild23
-rw-r--r--app-emacs/rust-mode/rust-mode-1.0.5.ebuild19
12 files changed, 90 insertions, 80 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz
index 395072367995..0ffdd50c9437 100644
--- a/app-emacs/Manifest.gz
+++ b/app-emacs/Manifest.gz
Binary files differ
diff --git a/app-emacs/gnuplot-mode/Manifest b/app-emacs/gnuplot-mode/Manifest
index ec56c54e4bcd..85e8527da3a5 100644
--- a/app-emacs/gnuplot-mode/Manifest
+++ b/app-emacs/gnuplot-mode/Manifest
@@ -1,6 +1,7 @@
AUX 50gnuplot-mode-gentoo.el 347 BLAKE2B 6a72d3ac75c8ef7629b8c018f9652b924137f56feb7c1578d7d5b572846bb22b248ae569412e7d9f6969ce6daca4aa21debccac7b7d5b63c4c66b04959d72836 SHA512 eb342c60bee1a9e45a50373093207545b8b37888432b082afb7c4f0911eed08481379094ee5a73888a03a12898c3c41016c2d9161f92a1a7cf7be7f2010c1c83
+AUX gnuplot-mode-0.8.0-tests.patch 476 BLAKE2B b7f92614072217f8a255619a2eb2a633512a642726a126ee0dd6f826010a15e613cbcd3f3edf36dfa76e26ef297bc0a18826c3f338ff968e8a3c56530b7318c4 SHA512 8be5b78bb6b69feeaf98a05de13cd97b8ea3a0c013e68154a7d739079f04b95854a35e2ea097078fcf93323d90888c17f9e93fdf3c1510781c084653f578408b
DIST gnuplot-mode-0.8.0.tar.gz 352106 BLAKE2B 5408cc682b205ee712d2e0ff94b57a585d4040a62d1c61b3248cac63c16c76899b4ebe9b8e6ff091216beac3c9c79ea1425e018b275145d8ed5aff3b64e524bf SHA512 d1f93f0a28036ed66869ce228ff7c7007cdd463006d29930f01a6c5fa31c0487f603f0394f423fb8831b054e8d465f669f11ec2c3f8115ef1c84d828f77056cf
DIST gnuplot-mode-0.8.1.tar.gz 88458 BLAKE2B 99355ec86b6a74294b72976efdaf88402ee9240c9a89432af52eca22b93af18a930e4f7cd07a0c4e25b235aeef0dc3a32498f57b8e74992f5cfb95cef471de55 SHA512 77bb70bde28007d7d42570c9649f18aec13426746acd97f0f94df1bc34ef0698ed5c4a69f5eac7dca4d9d000a527e1da70656692a7ecb2e1dccf61d0e0fc35b5
-EBUILD gnuplot-mode-0.8.0.ebuild 930 BLAKE2B c5bf242170780970d9a894590e42737bd7afc54967d5940fa0292e850580a8009c5bdedc71f05beadaed7cc1feea8d92f46eaaabd5cd01e15435335bb3326765 SHA512 b548de934051d60346f2b7452a72d6c3168b1d1bebfaf204d53a4380ad7ffb375375ffeae07567dde24def86767dee035fb0039bb4e6de58dbe8acb69631ee62
-EBUILD gnuplot-mode-0.8.1.ebuild 887 BLAKE2B d1d881362df6db865bed6022635b26361ab76f55999320d6651bba393e5526a9ed78dfe521fd13fe6fc1c974995a823c899e1560fd842f7e0612a857145ece53 SHA512 803270d7011b660097f1d52672641386b9570b34f11415e068e9621326312391135007dcf0934d8f71056cafcd3f50292ef7d47bf3823417fb895546f20d2cb1
+EBUILD gnuplot-mode-0.8.0.ebuild 1115 BLAKE2B e2374274a04e3263b6b121d6f9cd6efdd528ddca466b4e8c65a710bdde87d0962804f60f08a10c626c1aa2e55427bae2d7469ba7e55a2c2ad3471c63e71e2a4f SHA512 3e096f7650177b649bd1430367abf2986d7501b8571eb97a78f8f65b2cb6415051add0d39caa8b8fd813380b0bcbba766f1dae26d91eb7a6d5e30f93f06d9581
+EBUILD gnuplot-mode-0.8.1.ebuild 1072 BLAKE2B 3ee7b32673df5b6b90f42bf45606e92d1ba6eb8ad1936dc4cb001805ccca01901744b1da30ec65932c7a43f1e598e0b58f728d039d50fdaf7459535e27feafba SHA512 f0737222620b4204f5a73e214875401197794addf939cc613952f5cc04acf69eaaa106b03219ebefc6fc35cf25d9d616bcffa8dd3556a787b863ed72222df702
MISC metadata.xml 367 BLAKE2B 70dae333a75d3b0eb30acb1bd9c4d33280680aee4bec26ed4d541a4f2a59d3eaf3c090a03b040e668de52b87b0cec1af9604e320905acb2fbab19525e767623d SHA512 98c0a54823df8457317cb61f3f27c32bba59619838fa9e1132ac53d2ab243cd431b6f62b9732bcccd72ee3a576fafbadbd6e076c0f7a9c167f0157f4ee78994c
diff --git a/app-emacs/gnuplot-mode/files/gnuplot-mode-0.8.0-tests.patch b/app-emacs/gnuplot-mode/files/gnuplot-mode-0.8.0-tests.patch
new file mode 100644
index 000000000000..9fbfc5d1f019
--- /dev/null
+++ b/app-emacs/gnuplot-mode/files/gnuplot-mode-0.8.0-tests.patch
@@ -0,0 +1,11 @@
+--- a/gnuplot-tests.el
++++ b/gnuplot-tests.el
+@@ -241,7 +241,7 @@ mutliple # lines #")
+ (gnuplot-test-comment gnuplot-comment-with-single-quotes
+ "# a comment 'containing a single-quoted string'")
+
+-(gnuplot-test-comment gnuplot-comment-with-single-quotes
++(gnuplot-test-comment gnuplot-comment-with-double-quotes
+ "# a comment \"containing a double-quoted string\"")
+
+ (gnuplot-test-comment gnuplot-comment-multiline-with-quotes
diff --git a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.0.ebuild b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.0.ebuild
index 184d2694c411..7f29b6b43591 100644
--- a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.0.ebuild
+++ b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,11 +19,20 @@ IUSE="doc"
BDEPEND="doc? ( virtual/latex-base )"
RDEPEND="sci-visualization/gnuplot[-emacs(-)]"
+PATCHES=( "${FILESDIR}"/${PN}-0.8.0-tests.patch )
+
SITEFILE="50${PN}-gentoo.el"
DOCS=(CHANGELOG.org README.org)
DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the complete
documentation."
+src_prepare() {
+ elisp_src_prepare
+
+ # Erase broken tests
+ echo "(provide 'gnuplot-test-context)" > gnuplot-test-context.el || die
+}
+
src_compile() {
elisp_src_compile
use doc && { pdflatex gpelcard || die; }
diff --git a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild
index b010d25d2c01..f676e898131f 100644
--- a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild
+++ b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild
@@ -18,11 +18,20 @@ IUSE="doc"
BDEPEND="doc? ( virtual/latex-base )"
RDEPEND="sci-visualization/gnuplot"
+PATCHES=( "${FILESDIR}"/${PN}-0.8.0-tests.patch )
+
SITEFILE="50${PN}-gentoo.el"
DOCS=(CHANGELOG.org README.org)
DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the complete
documentation."
+src_prepare() {
+ elisp_src_prepare
+
+ # Erase broken tests
+ echo "(provide 'gnuplot-test-context)" > gnuplot-test-context.el || die
+}
+
src_compile() {
elisp_src_compile
use doc && { pdflatex gpelcard || die; }
diff --git a/app-emacs/go-mode/Manifest b/app-emacs/go-mode/Manifest
index c5b8056335cf..4022b25384e4 100644
--- a/app-emacs/go-mode/Manifest
+++ b/app-emacs/go-mode/Manifest
@@ -1,4 +1,4 @@
AUX 50go-mode-1.6.0-gentoo.el 82 BLAKE2B 5aed10474259ab8eabc8430dd2cf49cc6d0e84db194347c7bbbb4ea868a780a9e3a3254623e5ac48eb37727ea292af4ba2b7deb524df500727b21abd9e9a9fc1 SHA512 92b67227814a7dbcc9117f0de9cc0c3a97a7959602dbe8223545bdb5887cb6fddfb5fb4cfaf423b160f1412fabdd91ee0a1f64f02c04053209297a88ca1310c2
DIST go-mode-1.6.0.tar.xz 40764 BLAKE2B e88be130809da4d00978698c6f2cdd0d844a6c6646c23152fcb5f4c3a9a1596ca8d79199d811f8e7d64f6c245cd7bb80b9a403fc0e1362e6b2c556466b45e80d SHA512 24594b1de8ae45922a6a7c7cee8097f4a8ebdac477ae086595a73c5a7757b8c2f8c0249ad4ccf313ca13332790d76495b7c212d2e0e721f98753f23b2d6511c1
-EBUILD go-mode-1.6.0.ebuild 997 BLAKE2B 57243ff5ae58cc4fd70c07dfae7feea8ec2f115396a83dad04979193425bedb91d97e76deac39f69a58c5d3838e1e295a07f17ee21820cf2a5f34c13ffad939d SHA512 828032a2395b5a644d5bf1cbf2f2544b128bc1ffaad27ef598de1d52b29ab08c794ac4ddc3b308427853b1031684d0d58ae72bb2069f2644bd48f27ae197a792
+EBUILD go-mode-1.6.0.ebuild 869 BLAKE2B 6226b9e34b817d3d3688dccf5c9c7abf5c1e0f2cbba21f93fc089a8e6df6d1a5597b2b0eee8ef355787aa76f4bd05436e55431a4e32894d1617a89403573ed75 SHA512 2b18562d5dfe787f7b86ad288e68e37c4df4c1681e6bf68890758bc512684fb06a49b77a101720ce3f715cc325bb608fa1cf872cdfbdab6012a073af97c13c5c
MISC metadata.xml 365 BLAKE2B 99c6188854bb7bce88918d2ebd0886bc6c366cf904c44610e9cd7a5d1b3c01cb523b351f51deee9035187e77ed4df82b480bb489122645bf40d9d543c51f29e0 SHA512 12ae9fc131178d3b6359ab9134a4cb8df0f141869578da4597f08703c2e4d8a3917a2ff8b7b93116ae41345f0b4fc37d6ea71341ee8f9a5792e7c34fd733db3a
diff --git a/app-emacs/go-mode/go-mode-1.6.0.ebuild b/app-emacs/go-mode/go-mode-1.6.0.ebuild
index 76def2ac8579..b87cebc4ea7c 100644
--- a/app-emacs/go-mode/go-mode-1.6.0.ebuild
+++ b/app-emacs/go-mode/go-mode-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,11 +19,15 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
+ELISP_REMOVE="test/go-fill-paragraph-test.el"
+
SITEFILE="50${PN}-1.6.0-gentoo.el"
DOCS=( README.md )
+elisp-enable-tests ert test
+
src_prepare() {
- default
+ elisp_src_prepare
# fix path to testdata directory when running tests
sed -i 's|testdata|test/&|g' \
@@ -34,14 +38,3 @@ src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
-
-src_test() {
- for suite in test/*-test.el; do
- ${EMACS} ${EMACSFLAGS} \
- -L . \
- -l ert \
- -l go-mode \
- -l "${suite}" \
- -f ert-run-tests-batch-and-exit || die "test ${suite} failed"
- done
-}
diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest
index c463211dcf80..1373cb23c253 100644
--- a/app-emacs/rust-mode/Manifest
+++ b/app-emacs/rust-mode/Manifest
@@ -1,8 +1,5 @@
AUX 50rust-mode-gentoo.el 135 BLAKE2B 083a273140a659c1a76c05178990ffe4b0f3ae2ede81878ce8cfaab451df4a5169cea46fa4600e57ea77a9a7d55571cb7c862098e5ee76677dd73213e6a30036 SHA512 bd6f7579408d26900d40e674ff75bac2d1989c9bd068dae4bd4c54271e7b04cfcdf4d7d3622955f949cb60496a0d055f5f436084975bb624415b46ddb330f0fe
-DIST rust-mode-0.4.0.tar.gz 41774 BLAKE2B c0263f9fa839dcf5ee74706d8d13c10161d024114fda161dbd5235036eb322d273e8624a23f5e848e9246500d1da0c272420cb89f250f8d1852c7552eb7d0939 SHA512 fe0e1d667ba9595f9cbed22e0f88096508e49ffe8e3c86349cb3319eefea38a1dd86c2b55aef1415ae0cfc3b65ac6807f1863eb0e6eaa9ff49aea989a46e5edc
-DIST rust-mode-1.0.4.tar.gz 52123 BLAKE2B 3b7535d8906da6a477b029991c21520114c516a194f5f627ad544953f5f04c380e9481858e8045db4d96ef42f620c23d4b6002c76464216908c4ecf94c9de650 SHA512 8318c96280760a66841a4549407cb749cf0da15979d92e41d0c4f9ddd9d6a4d4fd22a4292b22fc69107ea6afa729f4c7516a10ceee044211829435078bd2814c
+AUX rust-mode-1.0.5-tests.patch 1148 BLAKE2B b6f1761b50a85adcce46f86c963c7eeb1df4d3432b4a9bdde74da6ee0aaa2f6b279a49256a62911fad03622f88e41e904bc2f9bd8931cf0ca2d8a52309d20268 SHA512 0073b2613a4a8008b242d9e4be4c5ee12f94775079aae963005998ab6fa24602f651f127a196a1d104e2a1918b78286da9e12ac08bf3f4849afa1d4be90d8bb9
DIST rust-mode-1.0.5.tar.gz 52665 BLAKE2B 3b61372223637b7950ec7a15a80abd3b74972ecda0677f730f3ebc8e574b50985a7427b4531766b1dfd20225f7b718497aa4437dadfa041c5a9cde9413d3cb5c SHA512 7b76384adf7281866fbef0ab507098084a96fe562d1dbd5dd99e03fda2a91c23392c8667c21aa5800b188cd09f5349a7394b0a7215826b9bc668cc36ac902999
-EBUILD rust-mode-0.4.0.ebuild 700 BLAKE2B 7ada88a57d8e33cf17a7163e70662631a7f01aeeb816e0c02e5a98402816e9d835698973bcd530c5e2d054055953c3b49773b03c963c25af6c36916ab3c5bbb2 SHA512 221ab80f64051ff1a14ed4fe4cf9dda68252213083638bc6c35f5cb2e53e9a176dfe00bae69c3d6491bcf7e539de1b736139879c9d55534587d16895bd161c91
-EBUILD rust-mode-1.0.4.ebuild 592 BLAKE2B a308ea8e3011902558250c39b0a56eb11e5f679ab622bfb43113f44f51a62ed3ee55b93a6164a26e0a4070287e9b4b0ff57069723cc7fc4214f877b03b06c39b SHA512 98859e988c8f90f25f445df860d9e22c78462b60891074841ca651b9b7738bf7278ff13a194c324ef59e1604c50608af234ffb6968dd9333f1f421ef22e5c5df
-EBUILD rust-mode-1.0.5.ebuild 592 BLAKE2B a308ea8e3011902558250c39b0a56eb11e5f679ab622bfb43113f44f51a62ed3ee55b93a6164a26e0a4070287e9b4b0ff57069723cc7fc4214f877b03b06c39b SHA512 98859e988c8f90f25f445df860d9e22c78462b60891074841ca651b9b7738bf7278ff13a194c324ef59e1604c50608af234ffb6968dd9333f1f421ef22e5c5df
+EBUILD rust-mode-1.0.5.ebuild 645 BLAKE2B 3089475b1bebdc9c0451927a6a0cf9b29d7d29cb43e66cd6f5d4cd75f57322010d7f1d208aa599166a48362b889bd7026ea5ec4640b5f4ded7f07bf005335b41 SHA512 9a7d6bc9ad5d6bebd24d52ce68fbc1989d7d1c093b5bf1f9e46e0361b121a18f9b242797b1c931613aa639e5dbaf95e9dd4ddeae41560cc6f901fea494c757b4
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
diff --git a/app-emacs/rust-mode/files/rust-mode-1.0.5-tests.patch b/app-emacs/rust-mode/files/rust-mode-1.0.5-tests.patch
new file mode 100644
index 000000000000..a7cbe494438e
--- /dev/null
+++ b/app-emacs/rust-mode/files/rust-mode-1.0.5-tests.patch
@@ -0,0 +1,36 @@
+From 8e85850cdba5cbe265d974e63b84b54a9bc9133e Mon Sep 17 00:00:00 2001
+From: Philipp Stephani <phst@google.com>
+Date: Wed, 26 Apr 2023 10:27:30 +0200
+Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20duplicate=20test=20name.?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Emacs 29 will signal an error in this case in batch mode, and in any case the
+first test in the duplicate series will never run.
+---
+ rust-mode-tests.el | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/rust-mode-tests.el b/rust-mode-tests.el
+index c1d0501..3b23046 100644
+--- a/rust-mode-tests.el
++++ b/rust-mode-tests.el
+@@ -2797,7 +2797,7 @@ fn foo<T:Fn() -> X<Y>>() -> Z {
+ )
+ ))
+
+-(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params ()
++(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params-1 ()
+ (rust-test-matching-parens
+ "
+ fn foo(x:i32) {
+@@ -2809,7 +2809,7 @@ fn foo(x:i32) {
+ )
+ ))
+
+-(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params ()
++(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params-2 ()
+ (rust-test-matching-parens
+ "
+ fn foo(x:i32) -> bool {
diff --git a/app-emacs/rust-mode/rust-mode-0.4.0.ebuild b/app-emacs/rust-mode/rust-mode-0.4.0.ebuild
deleted file mode 100644
index 882034501e6a..000000000000
--- a/app-emacs/rust-mode/rust-mode-0.4.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit elisp
-
-DESCRIPTION="A major emacs mode for editing Rust source code"
-HOMEPAGE="https://github.com/rust-lang/rust-mode"
-SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( MIT Apache-2.0 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-SITEFILE="50${PN}-gentoo.el"
-DOCS="README.md"
-
-src_test() {
- ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
- -l rust-mode.el -l rust-mode-tests.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-}
-
-src_install() {
- elisp-install ${PN} rust-mode.{el,elc}
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
-}
diff --git a/app-emacs/rust-mode/rust-mode-1.0.4.ebuild b/app-emacs/rust-mode/rust-mode-1.0.4.ebuild
deleted file mode 100644
index d0c6b3b2bf95..000000000000
--- a/app-emacs/rust-mode/rust-mode-1.0.4.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit elisp
-
-DESCRIPTION="A major emacs mode for editing Rust source code"
-HOMEPAGE="https://github.com/rust-lang/rust-mode"
-SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( MIT Apache-2.0 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DOCS=( README.md )
-SITEFILE="50${PN}-gentoo.el"
-
-src_test() {
- ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
- -l rust-mode.el -l rust-mode-tests.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-}
diff --git a/app-emacs/rust-mode/rust-mode-1.0.5.ebuild b/app-emacs/rust-mode/rust-mode-1.0.5.ebuild
index d0c6b3b2bf95..32ca2edbbb59 100644
--- a/app-emacs/rust-mode/rust-mode-1.0.5.ebuild
+++ b/app-emacs/rust-mode/rust-mode-1.0.5.ebuild
@@ -7,17 +7,22 @@ inherit elisp
DESCRIPTION="A major emacs mode for editing Rust source code"
HOMEPAGE="https://github.com/rust-lang/rust-mode"
-SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git"
+else
+ SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
- -l rust-mode.el -l rust-mode-tests.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-}
+elisp-enable-tests ert "${S}" -l ${PN}-tests.el