dev-lang/lfe: drop; update already in ::gentoo

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2022-06-29 00:33:58 +02:00
parent 83178f240c
commit a4c17e744b
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 0 additions and 115 deletions

View File

@ -1 +0,0 @@
DIST lfe-1.3.0_p20210419.tar.gz 351519 BLAKE2B 45dc51dedab9475c1da97edf94889f57d895f829e75c1aa80d7f698a796aafff209165c8c8d9ebd4abeb35b624f88508ae646db85427289dffc4cea7747b8d92 SHA512 a213c9b7152e771618a710e7fbdca303c86170ea0b838551cc521cb72d927c66cf645bc92d581a93287aee99bc5d71ed7320492a5b84f204eea8789172862433

View File

@ -1,16 +0,0 @@
;;; lfe site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'lfe-mode "lfe-mode"
"Major mode for editing LFE code." t)
(autoload 'lfe-indent-function "lfe-indent"
"Indent LFE." t)
(autoload 'inferior-lfe-mode "inferior-lfe"
"Major mode for interacting with an inferior LFE process." t)
(autoload 'inferior-lfe "inferior-lfe"
"Run an LFE process." t)
(autoload 'run-lfe "inferior-lfe"
"Run an LFE process." t)
(add-to-list 'auto-mode-alist '("\\.lfe\\'" . lfe-mode) t)

View File

@ -1,81 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit elisp-common toolchain-funcs
DESCRIPTION="Lisp-flavoured Erlang"
HOMEPAGE="http://lfe.github.io/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_BRANCH="develop"
EGIT_REPO_URI="https://github.com/rvirding/${PN}.git"
else
COMMIT_SHA="dbfd16af065b12d2dbce26ff1fbad151765243fd"
SRC_URI="https://github.com/rvirding/${PN}/archive/${COMMIT_SHA}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${COMMIT_SHA}"
fi
# tests require rebar3 & rebar3_proper
RESTRICT="mirror test"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc emacs"
BDEPEND="
doc? (
app-text/pandoc
app-text/pandoc-bin
)
"
RDEPEND="
dev-lang/erlang
emacs? ( >=app-editors/emacs-23.1:* )
"
DEPEND="${RDEPEND}"
SITEFILE="70${PN}-gentoo.el"
src_prepare() {
default
sed -i "s|cc |$(tc-getCC) ${CFLAGS} |g" ./Makefile \
|| die "Failed to fix the makefile"
}
src_compile() {
emake compile
use doc && emake docs
use emacs && emake emacs
}
src_install() {
dodir "/usr/$(get_libdir)/erlang/lib/lfe/ebin/"
cp -R ./ebin "${D}/usr/$(get_libdir)/erlang/lib/lfe/" \
|| die "failed to copy the ebin directory"
dobin ./bin/*
if use doc; then
dodoc ./doc/*.txt
doman ./doc/man/*
fi
if use emacs; then
elisp-install lfe emacs/* \
|| die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription lang="en">
LFE, Lisp Flavoured Erlang, is a lisp syntax front-end
to the Erlang compiler. Code produced with it is compatible
with "normal" Erlang code.
An LFE evaluator and shell is also included.
</longdescription>
<upstream>
<remote-id type="github">rvirding/lfe</remote-id>
</upstream>
</pkgmetadata>