diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /app-emacs | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'app-emacs')
18 files changed, 329 insertions, 3 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz Binary files differindex 001ed3b624bd..fcc9726466fb 100644 --- a/app-emacs/Manifest.gz +++ b/app-emacs/Manifest.gz diff --git a/app-emacs/lean-mode/Manifest b/app-emacs/lean-mode/Manifest new file mode 100644 index 000000000000..0621266ceb19 --- /dev/null +++ b/app-emacs/lean-mode/Manifest @@ -0,0 +1,6 @@ +AUX 50lean-mode-gentoo.el 181 BLAKE2B 9221df43fd3d0693dc02e4730972b6b815c1bc14054b9f0394ba370f03471e7bc68bf271dd13ca8b30289dc88743a15c05ce6c0043ff94a8d099408350264fa0 SHA512 36faf0476fae472bc509efc939036b527fecb67685bc5d8ab4887ab205a9ce3a197c001480967e5cd351901d5a9a7ee57a06de3d74a03dbb9c4237cd4d08ccae +DIST lean-mode-20211220.tar.gz 46406 BLAKE2B ff7663ae41befed9ce30aeeb0462e6877b827367823e97330b18c741db76162f49b0ce0dca58585892d173e91e290d155320f97416ff4306958dd38f1e452e83 SHA512 23f1d24a4ffdcbff0266cf6e3fd6ddefcd6f380ecab6e21a73cfcbb2a281200f3c22482a19b97988af316a3e206ab3069abf4eb3d45a9ccff7e0f18018b1dab5 +DIST lean-mode-20220124.tar.gz 46725 BLAKE2B 3f1f31cd6005570439d609f3cf9565f5adbd124772264ccc301bf8f9dda23d0b023e0afc703cfc572c3faee3498315852873effa3963203d6567ed029a1e14ed SHA512 292193a83847e034625d60825eec669b3d26591fab9e93448fc8e685935db5bfbb3417ae4e8d32facead40d02031b67f15dbaa52f7214b70343e7e677aa3cd6a +EBUILD lean-mode-20211220.ebuild 724 BLAKE2B 5f45cc8c90e44e408da8661721ea5d9ac62d50014b16b731f0f31399489df0017d00beec55a065b13d9f12b27fdd09a728b9d16f5dfc8e17d56e1c0482615840 SHA512 cdda3d8a603a7ac2918360c0fbab37a4ed1082405c265f053841d48eebc55018c70294ff488d460c7b9a42453e55a8f31a2afa52f7bdd8d4e9bd1067d534e76b +EBUILD lean-mode-20220124.ebuild 724 BLAKE2B e668952884288fcd7e0a3e7d2be0599117ad34550f4b373fcbf426d91eacce3bd4c582674bcd5dde39bf6e9d32d75e0cbc4c84050723d873e6fd122fabd2819e SHA512 196810f2d7f4ce03b244c27759d6c757a76884a345dfddde68e9bf9684a1e7cee306fbf17b6717a282958d06502f2d4ae83dddce72a4dd2332f6f233e897bc36 +MISC metadata.xml 752 BLAKE2B 769d8c594e6f7636de7257467cee1e4672f31c59e5d77a9df0ec916a14e8d9f2042ef1946179dc5918e30df1cfe87713001b999a25e51324424f34d7c24a957c SHA512 d2ae1d5ba87dc277551812162768c0afc270f228763949c3e2c0560ae94a1d7da8d2d074c4bd87bddc1b8c1cbf0e943df5df4fd6506dc8aeeddf0b1e3f95422c diff --git a/app-emacs/lean-mode/files/50lean-mode-gentoo.el b/app-emacs/lean-mode/files/50lean-mode-gentoo.el new file mode 100644 index 000000000000..8c6a9a2894ac --- /dev/null +++ b/app-emacs/lean-mode/files/50lean-mode-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'lean-mode "lean-mode" + "Major mode for editing Lean 3 source files." t) +(add-to-list 'auto-mode-alist '("\\.lean\\'" . lean-mode)) diff --git a/app-emacs/lean-mode/lean-mode-20211220.ebuild b/app-emacs/lean-mode/lean-mode-20211220.ebuild new file mode 100644 index 000000000000..c7be99f3162a --- /dev/null +++ b/app-emacs/lean-mode/lean-mode-20211220.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=a4205749d20a09871f0951c34f919d4ee5fbdb55 +NEED_EMACS=24.3 + +inherit elisp + +DESCRIPTION="Emacs mode for the Lean 3 theorem prover" +HOMEPAGE="https://github.com/leanprover/lean-mode/" +SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${H}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=app-emacs/dash-2.18.1 + >=app-emacs/f-0.19.0 + >=app-emacs/flycheck-32 + >=app-emacs/s-1.10.0 +" +RDEPEND=" + ${DEPEND} + sci-mathematics/lean:0/3 +" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + rm {company,helm}-lean.el || die + + elisp_src_prepare +} diff --git a/app-emacs/lean-mode/lean-mode-20220124.ebuild b/app-emacs/lean-mode/lean-mode-20220124.ebuild new file mode 100644 index 000000000000..3420a309e515 --- /dev/null +++ b/app-emacs/lean-mode/lean-mode-20220124.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=c1c68cc946eb31b6ba8faefdceffce1f77ca52df +NEED_EMACS=24.3 + +inherit elisp + +DESCRIPTION="Emacs mode for the Lean 3 theorem prover" +HOMEPAGE="https://github.com/leanprover/lean-mode/" +SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${H}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=app-emacs/dash-2.18.1 + >=app-emacs/f-0.19.0 + >=app-emacs/flycheck-32 + >=app-emacs/s-1.10.0 +" +RDEPEND=" + ${DEPEND} + sci-mathematics/lean:0/3 +" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + rm {company,helm}-lean.el || die + + elisp_src_prepare +} diff --git a/app-emacs/lean-mode/metadata.xml b/app-emacs/lean-mode/metadata.xml new file mode 100644 index 000000000000..679365cf3709 --- /dev/null +++ b/app-emacs/lean-mode/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> + Provides a major mode for the Lean 3 programming language. + Provides highlighting, diagnostics, goal visualization and many other + useful features for Lean users. + </longdescription> + <upstream> + <bugs-to>https://github.com/leanprover/lean-mode/issues</bugs-to> + <remote-id type="github">leanprover/lean-mode</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/nxml-gentoo-schemas/Manifest b/app-emacs/nxml-gentoo-schemas/Manifest index 0d546adc1fdd..1ab2bb1c5002 100644 --- a/app-emacs/nxml-gentoo-schemas/Manifest +++ b/app-emacs/nxml-gentoo-schemas/Manifest @@ -1,4 +1,6 @@ AUX 60nxml-gentoo-schemas-gentoo.el 206 BLAKE2B ae9d1fe1da9c86d14796c09597ca34b10dd0e28abb02fdeac4607b8d950bfdf636f5f3c1de49cd5b9cf1fa808513522ab43272f3c26361b871ad0d630a942ed6 SHA512 5592edb5663066fcccaf5b05c3df671b4069d4d259376a8a91ef3f7ae5990687b15dfdf40e6f7aa6cc7d62b7cdaa5090fd851de0ed2718d20ecfe3e3a78530ea DIST nxml-gentoo-schemas-20210907.tar.xz 8940 BLAKE2B e1965847d0723c453a11d2522436eb8bd017eb6147b50fe900105f05b74a47fbd91fe94c3a0af41de313480dd0a5a98d51b8b45be1bd27d160f32be8bbcd75f4 SHA512 4defdc0061940fc7dd285c958ec812a7110bb2d7370bd74ceef396e2873d488c78843395bb0e2c122b6ad959cffe5a555c9f96446aef90fc37b3db135477e8aa +DIST nxml-gentoo-schemas-20220125.tar.xz 8644 BLAKE2B 6f2bb618bb94f9a61ba22526161d8b0457d6177b2a6dc339199fe633652ce1138125d50bc1b681117e8dfedb227ec54e30a51d4724fb5148ab31e1224b16fc9e SHA512 95719c92d9c6c9c883c022baf0593f927b0f24f7e35832ab0dd951fb31fd601888715671a6b8a887464649632bce3c8cb8281aa5d5a066fc115d38ffed8f8adb EBUILD nxml-gentoo-schemas-20210907.ebuild 599 BLAKE2B 5f485f439a627a3082afa7197b658c5d0a1a99fd26fefeec165d3ace2f0568dfbd3033f797664a5fbd055088ca7e7c9f0c7faa08375f465346b5f35895d4b634 SHA512 53482d6195969c09a0a8506ca0b3afc5504477122ef0fe8d4078574cf3b36ca83a5a1acb23a8ea77ba4047fe0c0d2ed4acae6134aaeb35d52984469639158f84 +EBUILD nxml-gentoo-schemas-20220125.ebuild 606 BLAKE2B 95d4a41cdb3e6b9969848499d84c364d4cc3a16e96480e3b00ae584cb4dd10c472f7fa7118b6158f15989e9f1abdad84b98b4c63add81678e8d88f9d43be5c26 SHA512 7e390bc23bd9928dfb5c398ec2d62491c349964d041b9bdf895c15336641ed7954b8977c440f68fd8b0e167ce6ce8ae1ae04945cbdbc3e8702d265f694098398 MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13 diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20220125.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20220125.ebuild new file mode 100644 index 000000000000..50e5195a6911 --- /dev/null +++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20220125.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas" +HOMEPAGE="https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="HPND MIT GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +SITEFILE="60${PN}-gentoo.el" + +src_compile() { :; } + +src_install() { + insinto "${SITEETC}/${PN}" + doins schemas.xml *.rnc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +} diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest index 7c2c1ac60fa9..612ecac91cfc 100644 --- a/app-emacs/nxml-libvirt-schemas/Manifest +++ b/app-emacs/nxml-libvirt-schemas/Manifest @@ -2,5 +2,7 @@ AUX 60nxml-libvirt-schemas-gentoo.el 206 BLAKE2B ae9d1fe1da9c86d14796c09597ca34b AUX Makefile-trang 108 BLAKE2B 4f80e5f4e0550bd4732668ae5298d890d2293d34379902cf204c43bbea5db01626847af7ab96854efcbcc34e7fe9b1c32873ad22ef13873a1a06790e9580371d SHA512 3544959cc57ce1b273e4b9de95f51e1e21d23cc35fb48e02f179a055a61ee9092efdc43405f72c3aacb3c74eada7fabf5952eb49e3ff0514fd69a3092268dc4f AUX schemas.xml 560 BLAKE2B 32f01d2dd047aa7109112b47155a21825686385845fae2af0f6d052dbd36f3e1ca5027ec39d654735e390ef9aa8a31f7ae5c86b15b0cd9c4ef84128326e87ee9 SHA512 82ef6189610fc4e1a0d5546ae15f2f315e7c0d460fa141201c43a93e59d147613c7186302fdc3e6b2f0ec5c343e5566966892d4e9f55dc4957e4ad58793fc3ff DIST libvirt-5.8.0.tar.xz 13129328 BLAKE2B ff49b0b6dca86f35c68edfb880677c88e0aed8021ed01ebd145922821914edd70c355ca777fe470e2b0e4baf36f2813c1100be9377344f81c9df374068307da1 SHA512 73d18fdf307b8029921a9f1a0c84ca31c50c662a3c0339e3850d6d2f31574168807a6f34943b286ed86a44031decbbc1339f27366da7269e29d38c7094503113 +DIST libvirt-7.10.0.tar.xz 8798000 BLAKE2B 6cb2ab5913d382b11d24b46154dc3250355050cd3038f64ba571b35f33ae5bd0a322d4b96469bd6c78fd848c87f2e6fc7213c33e5bdb9d375a9b81d2a40899bb SHA512 c7eecc9538b68852a8cc67565566d64ec7b087b6f009858b2eb524bc3ef0f6ca3c0da67edf801e6a3ae3fcc0364e65e108fa92bcb01ee810c85fa5f37785aa32 EBUILD nxml-libvirt-schemas-5.8.0.ebuild 903 BLAKE2B e25b2af04d2bebc9a2aaaf9da8e0d738e33421100812ab1b57caa6324e0951e45029b5a69d0eb9027b3ea85052ed21b14ea085466577254fc3c4f33357425664 SHA512 01dde717faa3ec8f74b5d825aabe207cf2a77afecc2735c689871e6f0281e4bc4a1da7db58ac581998f3521e47785ba5bf46a8c06942373eacb38109bd478525 +EBUILD nxml-libvirt-schemas-7.10.0.ebuild 871 BLAKE2B cb4347ade4bbddd34aca580cae55764a0df9f83f88c38c33c369fb3c49e7b32417678f93c1df1c9a8d63f3f34fb851167066707ed7bc835075afdf176495a28c SHA512 6018fa0bd27b9a53655c1026d92b01f8a61fea3214fe0bc85c4de5caa8da5e4292bd97ca46a9c9fa22c55bf69259e05ae75a798191becfcb3b3f5de33f58502b MISC metadata.xml 390 BLAKE2B 05bd110c71244cf02d22bcf823d3285e73bdb03f3bb06b8c9e2c13cd346f2367380345747d5eb0861f37983be970dc6c9fe5e7d93b422205a7b447dc3330852e SHA512 bb803aed730418caf43baf132b989963e84f5e0e0d8db915a48cae407f20fb52e27c147725cac88fc94303db070f300a7ce3bf6c18e7dc66dec37bf9ccea5f5b diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild new file mode 100644 index 000000000000..f60678a36ec4 --- /dev/null +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +MY_P="libvirt-${PV}" +DESCRIPTION="Extension for nxml-mode with libvirt schemas" +HOMEPAGE="http://www.libvirt.org/" +SRC_URI="http://libvirt.org/sources/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P%-rc*}/docs/schemas" + +# This is the license of the package, but the schema files are +# provided without license, maybe it's bad. +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Yes this requires Java, but I'd rather not repackage this, if you +# know something better in C, I'll be glad to use that. +BDEPEND="app-text/trang" + +SITEFILE="60${PN}-gentoo.el" + +src_compile() { + emake -f "${FILESDIR}"/Makefile-trang +} + +src_install() { + insinto "${SITEETC}/${PN}" + doins "${FILESDIR}"/schemas.xml *.rnc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +} diff --git a/app-emacs/puppet-mode/Manifest b/app-emacs/puppet-mode/Manifest index 99f7a72ca589..8629ce25dde0 100644 --- a/app-emacs/puppet-mode/Manifest +++ b/app-emacs/puppet-mode/Manifest @@ -2,5 +2,5 @@ AUX 50puppet-mode-1-gentoo.el 217 BLAKE2B 632d02667437b04642b7d3510d5010a3a7952c DIST puppet-mode-0.3.20180813.tar.gz 36999 BLAKE2B 1ba96a5bbe193c88e96e51973e0d742e611c2ffe0264bae998ce07d5e4f78d37e532dcedf578a801c8e6442ce35385b5c5915837da1073895ceeddeff99b65b3 SHA512 27aeb5a3029208180bd94d7f3f762d9a88863f963824636fdb688ccb79a3c41b9370c13a536e3438c94720e04d5a02c2f64f75d5c594fc7bca32d9738dd3b756 DIST puppet-mode-0.4.tar.gz 37731 BLAKE2B ac32c32941cad23508e0bad51536a6cc4187185cfd2141fda02f82770abb73327758e0ecd3f3789ff48d3d5f986730e51f48784ea6da502cb860c185d06ddd82 SHA512 c1ef464199df1166c09febc4a99572d00eb7e23656d3c09f3f6773450023e364c305ce19fa351f0a1a5f3e9594f5ef5ffa3a595c7ac66227c2a59918bacd161c EBUILD puppet-mode-0.3.20180813.ebuild 691 BLAKE2B 8bbcc695c9bb5652f59d09c1e4ee692fb71d395922e0665a02ad01a81ce6abc8d1f2683381b52daf7386a3e6125a731560841a5e9cdb37cd88065ba48233a75f SHA512 0e4ec04298a0da2e3ba20387429f386a8355fe3a2141f9a7e3aa2df0aa8dca19f3c3fdae926cdbc01bc0d02ac22d7341e99fe08228f2fa6528e7af8bf63c047a -EBUILD puppet-mode-0.4.ebuild 609 BLAKE2B 7b6d00a988f1a4cb36c565984df5c595915667e3f985b90435f97fb38fb6e5f4969b9f99d64a020b4b1f2e4875ac471e30caeac63add88f555e0c0d18dd1bc31 SHA512 9d5961f58c889ef4585b825c6fc0fc60e5076e044604507d9fe9e53a27738aa5b29dd107fb681aad9c5f5ebd98aa8a84d54c11dd2133367295e467080a3f9c69 +EBUILD puppet-mode-0.4.ebuild 616 BLAKE2B 6dfbe827ded8249f59cb662ccaa827a862456da263d6f13623df9ed7f41e2e5b9e539bed33bfef5f0ba3b9b0a99e5e9ed121b60eb874cdd6b7ed32347f284a8a SHA512 bc44b8885a9e81981a5055a871a79bb2246481830054eb371544a7df180d690fdfe1dbd34f6af2af3f55b4274130f18ae815d1c58edc43b8173360a967f3c690 MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13 diff --git a/app-emacs/puppet-mode/puppet-mode-0.4.ebuild b/app-emacs/puppet-mode/puppet-mode-0.4.ebuild index 4f99ae64d690..1d5b1a90215e 100644 --- a/app-emacs/puppet-mode/puppet-mode-0.4.ebuild +++ b/app-emacs/puppet-mode/puppet-mode-0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/voxpupuli/puppet-mode/archive/${PV}.tar.gz -> ${P}.t LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" DOCS="CHANGES.md README.md" SITEFILE="50${PN}-1-gentoo.el" diff --git a/app-emacs/racket-mode/Manifest b/app-emacs/racket-mode/Manifest new file mode 100644 index 000000000000..9e163666a8cd --- /dev/null +++ b/app-emacs/racket-mode/Manifest @@ -0,0 +1,7 @@ +AUX 50racket-mode-gentoo.el 799 BLAKE2B 1f0c19ab171427e5404d40eae1fb95f590059c4265df6041bf5ea00a5aa716489f7fb88eeef1c7309810fb41b909e122986cf3b0881bd43eb512c06f9c873598 SHA512 18db7fb5cd7a69a7a4d979ae604dfa1458fb7fd25329ff46043f206395d09245287512bb2feb9e1f7941d63d0af1d7bd1c060ca8026223c2cbd4021ddce57690 +AUX racket-mode-racket-util.el-defvar.patch 419 BLAKE2B 54e494420fcd05c5af76a7c49467bf6d159746493fb978ee8e89e921eec894330c0bd6c8c8444246063a33558d1c7bf3c2888a40621cbbb4b731e326ca22d2e6 SHA512 459934f3bd7dfce2825a1111da39c0961412180ebdb89987242ceefe574009dc92e07c750ad280a351701858f74e4e5128ea831d16bff312aed6979d1f29e273 +DIST racket-mode-20220120.tar.gz 286218 BLAKE2B 9786bc7a3f8127c342f90acebadef8f8468ba1cc27ad42c620554d5a478932317a2ede7061fe521a67ec0c624cea4743a1e6a50050ab2afe6e17ad220f7f7f9e SHA512 034527d62eae1c5ef09a8f5cd2bc5c5d0790bacd7ca180f0851ac6d93a3c897d4c4394d3e446285d1dbf4553fe94140656359df9b72d800202604948d9832901 +DIST racket-mode-20220129.tar.gz 286278 BLAKE2B af0e2c87affa5498b1d1d21947006749ceb6988e43f4a1d11bf730a4d0877481e6806ab4e41cad13b3389049a79f2b4b484f2ded52dfa71a7434128fceae6e44 SHA512 56559da32d7c6bb8b0ef9d04662837cd202ee901781eed6e34ad22f88942d40695c0bf04be1ebf82d80bf3a405301b1ca73193adf631350ce49140b62308701f +EBUILD racket-mode-20220120-r2.ebuild 1199 BLAKE2B ddefb19fcc34248ff73294337476838edd7d4f696ec9894ee9c2e55c3c42da63a975df30d68c260c9badb2d342ffa14362bfde02c418f48e55579b670bd93fec SHA512 b40e09add5c749fd61ebaf317c33d3a718037f21c6aeb064788b0f92a74d42e8243981d72aaf9845572c697ff082b036bd8e615358261221f6e3da21755c745c +EBUILD racket-mode-20220129.ebuild 1139 BLAKE2B ab5833b546aad693a1ac3abca3be512e30498202a5c0bb9bcc44d25eb180a491bfe05f3d334c0405070aaac2737e6a66dd4f7c495562f0022792cbfa5f8b6363 SHA512 7dd3acca14cd2b00418ab52ee82ad676909464435a91b86f4e548acbf2ae54bd9af3db53d4be44de5b6d5c05fe580b69e81444961e3cd5fbb64aabadbfc0f34d +MISC metadata.xml 928 BLAKE2B b8fe9bae8125fc4fb202019993a9d94bce73e335c309857b82bfade99dd050235ded229985172d923c22865c664eea759696e893518d52ddbcba7313c546f1c3 SHA512 6b82633a2655b8de558403cec3db384012e1865427d79d56f7c988f0a4bd98662b87465d9bea8575caf610460ead63d2572d1e5e3674200e6300b485741c2baf diff --git a/app-emacs/racket-mode/files/50racket-mode-gentoo.el b/app-emacs/racket-mode/files/50racket-mode-gentoo.el new file mode 100644 index 000000000000..abebbf987f6f --- /dev/null +++ b/app-emacs/racket-mode/files/50racket-mode-gentoo.el @@ -0,0 +1,17 @@ +(add-to-list 'load-path "@SITELISP@") + +(autoload 'racket-bug-report "racket-bug-report" + "Fill a buffer with data to make a racket-mode bug report." t) +(autoload 'racket-mode "racket-mode" + "Major mode for editing Racket source files." t) +(autoload 'racket-repl "racket-repl" + "Run the Racket REPL and display its buffer in some window." t) +(autoload 'racket-unicode-input-method-enable "racket-unicode-input-method" + "Set input method to `racket-unicode`." t) + +(add-to-list 'auto-mode-alist '("\\.rkt\\'" . racket-mode)) +(add-to-list 'auto-mode-alist '("\\.rktd\\'" . racket-mode)) +(add-to-list 'auto-mode-alist '("\\.rktl\\'" . racket-mode)) + +(setq racket--rkt-source-dir (expand-file-name "./racket/" "@SITEETC@")) +(setq racket--run.rkt (expand-file-name "main.rkt" racket--rkt-source-dir)) diff --git a/app-emacs/racket-mode/files/racket-mode-racket-util.el-defvar.patch b/app-emacs/racket-mode/files/racket-mode-racket-util.el-defvar.patch new file mode 100644 index 000000000000..d9d65c44bb89 --- /dev/null +++ b/app-emacs/racket-mode/files/racket-mode-racket-util.el-defvar.patch @@ -0,0 +1,12 @@ +index 0992711..a8897b4 100644 +--- a/racket-util.el ++++ b/racket-util.el +@@ -93,7 +93,7 @@ When installed as a package, this can be found from the variable + `load-file-name'. When developing interactively, get it from the + .el buffer file name.") + +-(defconst racket--rkt-source-dir ++(defvar racket--rkt-source-dir + (expand-file-name "./racket/" racket--el-source-dir) + "Path to dir of our Racket source files. ") + diff --git a/app-emacs/racket-mode/metadata.xml b/app-emacs/racket-mode/metadata.xml new file mode 100644 index 000000000000..f6d885ebc654 --- /dev/null +++ b/app-emacs/racket-mode/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> + Emacs major and minor modes for Racket: edit, REPL, check-syntax, debug, + profile, and more. + Racket Mode uses a "back end server" written in Racket, which is + responsible for running files and implementing commands that cannot be + implemented in Emacs Lisp. + Details: https://github.com/greghendershott/racket-mode + </longdescription> + <upstream> + <bugs-to>https://github.com/greghendershott/racket-mode/issues</bugs-to> + <remote-id type="github">greghendershott/racket-mode</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/racket-mode/racket-mode-20220120-r2.ebuild b/app-emacs/racket-mode/racket-mode-20220120-r2.ebuild new file mode 100644 index 000000000000..f93e0c557e85 --- /dev/null +++ b/app-emacs/racket-mode/racket-mode-20220120-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=59b227b1aab315cdaa798648e47c4c4a8f71ddba +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more" +HOMEPAGE="https://github.com/greghendershott/racket-mode/" +SRC_URI="https://github.com/greghendershott/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${H}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-scheme/racket:=[-minimal]" +BDEPEND="${RDEPEND}" + +DOCS=( CONTRIBUTING.md README.md THANKS.md ) +ELISP_TEXINFO="doc/racket-mode.texi" +PATCHES=( "${FILESDIR}/${PN}-racket-util.el-defvar.patch" ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + + # Equivalent to compiling from Emacs with "racket-mode-start-faster", + # as this is installed globally we compile it now. + ebegin "Compiling Racket source files" + find "${S}/racket" -type f -name "*.rkt" -exec raco make -v {} + + eend $? "failed to compile Racket source files" || die +} + +src_test() { + emake test-racket +} + +src_install() { + elisp_src_install + + # Install Racket files + insinto "${SITEETC}/${PN}" + doins -r racket +} diff --git a/app-emacs/racket-mode/racket-mode-20220129.ebuild b/app-emacs/racket-mode/racket-mode-20220129.ebuild new file mode 100644 index 000000000000..1a8a74ac6f9e --- /dev/null +++ b/app-emacs/racket-mode/racket-mode-20220129.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=3027de086eb0b77ac8ae81acceeddab91c66ba0e +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more" +HOMEPAGE="https://github.com/greghendershott/racket-mode/" +SRC_URI="https://github.com/greghendershott/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${H}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-scheme/racket:=[-minimal]" +BDEPEND="${RDEPEND}" + +DOCS=( CONTRIBUTING.md README.md THANKS.md ) +ELISP_TEXINFO="doc/racket-mode.texi" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + + # Equivalent to compiling from Emacs with "racket-mode-start-faster", + # as this is installed globally we compile it now. + ebegin "Compiling Racket source files" + find "${S}/racket" -type f -name "*.rkt" -exec raco make -v {} + + eend $? "failed to compile Racket source files" || die +} + +src_test() { + emake test-racket +} + +src_install() { + elisp_src_install + + # Install Racket files + insinto "${SITEETC}/${PN}" + doins -r racket +} |