From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34A1015808B for ; Thu, 10 Mar 2022 01:04:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20147E0959; Thu, 10 Mar 2022 01:04:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2516E0959 for ; Thu, 10 Mar 2022 01:04:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEE19342E6E for ; Thu, 10 Mar 2022 01:04:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02026315 for ; Thu, 10 Mar 2022 01:04:46 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1646874276.cb18383f72e361b80c3a7e9baf529c570037bbad.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/julia-repl/files/, app-emacs/julia-repl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/julia-repl/Manifest app-emacs/julia-repl/files/50julia-repl-gentoo.el app-emacs/julia-repl/files/julia-repl-force-compile.patch app-emacs/julia-repl/julia-repl-1.3.0_p20220225.ebuild app-emacs/julia-repl/metadata.xml X-VCS-Directories: app-emacs/julia-repl/ app-emacs/julia-repl/files/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: cb18383f72e361b80c3a7e9baf529c570037bbad X-VCS-Branch: master Date: Thu, 10 Mar 2022 01:04:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 91501a31-d273-40f1-9a14-1d133d29e1b7 X-Archives-Hash: 0e4c6ba97e2f868bc642a07662030c6f commit: cb18383f72e361b80c3a7e9baf529c570037bbad Author: Maciej Barć gentoo org> AuthorDate: Thu Mar 10 00:59:37 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Mar 10 01:04:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb18383f app-emacs/julia-repl: new package; add 1.3.0_p20220225 2022.02.25 snapshot Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> app-emacs/julia-repl/Manifest | 1 + app-emacs/julia-repl/files/50julia-repl-gentoo.el | 4 ++ .../files/julia-repl-force-compile.patch | 9 +++++ .../julia-repl/julia-repl-1.3.0_p20220225.ebuild | 46 ++++++++++++++++++++++ app-emacs/julia-repl/metadata.xml | 23 +++++++++++ 5 files changed, 83 insertions(+) diff --git a/app-emacs/julia-repl/Manifest b/app-emacs/julia-repl/Manifest new file mode 100644 index 000000000000..f784fb34c328 --- /dev/null +++ b/app-emacs/julia-repl/Manifest @@ -0,0 +1 @@ +DIST julia-repl-1.3.0_p20220225.tar.gz 183305 BLAKE2B 65b07101008e0548041084f50bec3022789363d8e33c6870382166c2989f56c908a7f7df378d49f55b64479d562594ff14e518a66bd36a907714214521add31f SHA512 12d9445432158c12e857c71683ea39b0bd8a76fa415ebe1d85b682d65b53c456518d88b08f98d900211c04f5d1bf12f50e4ce70ff28d4c4a657b072731968a14 diff --git a/app-emacs/julia-repl/files/50julia-repl-gentoo.el b/app-emacs/julia-repl/files/50julia-repl-gentoo.el new file mode 100644 index 000000000000..8c76042f08d4 --- /dev/null +++ b/app-emacs/julia-repl/files/50julia-repl-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'julia-repl-mode "julia-repl" + "Minor mode for interacting with a Julia REPL running inside a term." t) +(add-hook 'julia-mode-hook 'julia-repl-mode) diff --git a/app-emacs/julia-repl/files/julia-repl-force-compile.patch b/app-emacs/julia-repl/files/julia-repl-force-compile.patch new file mode 100644 index 000000000000..6d7de553ce39 --- /dev/null +++ b/app-emacs/julia-repl/files/julia-repl-force-compile.patch @@ -0,0 +1,9 @@ +index 41df3f1..7d983f8 100644 +--- a/julia-repl.el ++++ b/julia-repl.el +@@ -1,4 +1,4 @@ +-;;; julia-repl.el --- A minor mode for a Julia REPL -*- lexical-binding:t; no-byte-compile:t -*- ++;;; julia-repl.el --- A minor mode for a Julia REPL -*- lexical-binding:t; -*- + + ;; Copyright (C) 2016 Tamas K. Papp + ;; Author: Tamas Papp diff --git a/app-emacs/julia-repl/julia-repl-1.3.0_p20220225.ebuild b/app-emacs/julia-repl/julia-repl-1.3.0_p20220225.ebuild new file mode 100644 index 000000000000..b52af57974bd --- /dev/null +++ b/app-emacs/julia-repl/julia-repl-1.3.0_p20220225.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=6c1d63511fb2b3b3f2e342eff6a375d78be6c12c +NEED_EMACS=25.1 + +inherit optfeature elisp + +DESCRIPTION="Run an inferior Julia REPL in a terminal inside Emacs" +HOMEPAGE="https://github.com/tpapp/julia-repl/" +SRC_URI="https://github.com/tpapp/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-emacs/s" +RDEPEND=" + ${BDEPEND} + app-emacs/julia-mode +" + +DOCS=( CHANGELOG.md README.md ) +PATCHES=( "${FILESDIR}"/${PN}-force-compile.patch ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \ + -l ert -l ./${PN}-tests.el \ + -f ert-run-tests-batch-and-exit || die "tests failed" +} + +src_install() { + rm ./${PN}-tests.el || die + + elisp_src_install +} + +pkg_postinst() { + elisp_pkg_postinst + + optfeature "running Julia inside VTerm" app-emacs/vterm +} diff --git a/app-emacs/julia-repl/metadata.xml b/app-emacs/julia-repl/metadata.xml new file mode 100644 index 000000000000..0e443214e73b --- /dev/null +++ b/app-emacs/julia-repl/metadata.xml @@ -0,0 +1,23 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + This is a minor mode for interacting with a Julia REPL running inside + Emacs. The julia process is started in an ANSI terminal (term), which + allows text formatting and colors, and interaction with the help system and + the debugger. + It is recommended that you use this minor mode with julia-mode. + + + + https://raw.githubusercontent.com/tpapp/julia-repl/master/CHANGELOG.md + + https://github.com/tpapp/julia-repl/issues/ + tpapp/julia-repl + +