mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-emacs/ocaml-mode: bump EAPI to 8; refactor
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
29
app-emacs/ocaml-mode/ocaml-mode-4.05.0-r1.ebuild
Normal file
29
app-emacs/ocaml-mode/ocaml-mode-4.05.0-r1.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P="${P/-mode/}"
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs mode for OCaml"
|
||||
HOMEPAGE="https://ocaml.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/ocaml/ocaml"
|
||||
else
|
||||
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}/emacs"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README README.itz )
|
||||
SITEFILE="50${PN}-gentoo-3.12.1.el"
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/-mode/}
|
||||
DESCRIPTION="Emacs mode for OCaml"
|
||||
HOMEPAGE="https://ocaml.org/"
|
||||
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/emacs"
|
||||
SITEFILE="50${PN}-gentoo-3.12.1.el"
|
||||
DOCS="README README.itz"
|
||||
Reference in New Issue
Block a user