app-emacs/scss-mode: bump EAPI to 8; refactor

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-12-27 21:01:35 +01:00
parent 5f2f2567e4
commit bd2ca2b29d
2 changed files with 33 additions and 21 deletions

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit elisp
COMMIT="cf58dbec5394280503eb5502938f3b5445d1b53d"
DESCRIPTION="Major mode for editing SCSS files in Emacs"
HOMEPAGE="https://github.com/antonj/scss-mode"
SRC_URI="https://github.com/antonj/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-ruby/sass"
S="${WORKDIR}/${PN}-${COMMIT}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.org"

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="cf58dbec5394280503eb5502938f3b5445d1b53d"
inherit elisp
DESCRIPTION="Major mode for editing SCSS files in Emacs"
HOMEPAGE="https://github.com/antonj/scss-mode/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/antonj/${PN}"
else
SRC_URI="https://github.com/antonj/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2+"
SLOT="0"
RDEPEND="
dev-ruby/sass
"
DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"