Skip to content

Commit

Permalink
app-emacs/fsharp-mode: new package; add 1.10_p20211229
Browse files Browse the repository at this point in the history
2021.12.29 snapshot

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Mar 8, 2022
1 parent 983e33b commit 363a0eb
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/fsharp-mode/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST fsharp-mode-1.10_p20211229.tar.gz 78916 BLAKE2B 4cd9182c62ea0d5c7a23f2120586d4c74d16fad14762ecdb3f11a11d6c78c757b363d5c14473c10c47086c1c0e648911846fe039dfedc04fd1d84301b4aa10c5 SHA512 b02be4c8e56a2c22b7f6e6a302756278d9056e7d8b8c206c183aea5470b98610b73a3403c83e93da295d3b4d0092a4f2f1c0bdf78f701009478a3c8b1e054ab7
4 changes: 4 additions & 0 deletions app-emacs/fsharp-mode/files/50fsharp-mode-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'fsharp-mode "fsharp-mode"
"Major mode for editing fsharp code." t)
(add-to-list 'auto-mode-alist '("\\.fs[iylx]?\\'" . fsharp-mode))
26 changes: 26 additions & 0 deletions app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

H=b3aa4c53fc9e98648b25ad036e657632ae2fe192
NEED_EMACS=25

inherit elisp

DESCRIPTION="Support for the F# programming language"
HOMEPAGE="https://github.com/fsharp/emacs-fsharp-mode/"
SRC_URI="https://github.com/fsharp/emacs-${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/emacs-${PN}-${H}

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # requires Cask

RDEPEND="app-emacs/s"
BDEPEND="${RDEPEND}"

DOCS=( CHANGELOG.md README.org )
ELISP_REMOVE="eglot-fsharp.el"
SITEFILE="50${PN}-gentoo.el"
14 changes: 14 additions & 0 deletions app-emacs/fsharp-mode/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">

<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<upstream>
<changelog>https://github.com/fsharp/emacs-fsharp-mode/blob/master/CHANGELOG.md</changelog>
<bugs-to>https://github.com/fsharp/emacs-fsharp-mode/issues/</bugs-to>
<remote-id type="github">fsharp/emacs-fsharp-mode</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 363a0eb

Please sign in to comment.