blob: 66ad92fae09bdec581ba5d20eda05153df9df5a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="GNU Emacs major mode for editing PHP code"
HOMEPAGE="https://github.com/emacs-php/php-mode/"
SRC_URI="https://github.com/emacs-php/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${P}/lisp
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
DOCS=( ../AUTHORS.md ../CHANGELOG.md ../CONTRIBUTING.md ../README{,.ja}.md ../docs )
SITEFILE="50${PN}-gentoo.el"
elisp-enable-tests ert "${S}" -L ../tests -l ../tests/php-mode-test.el
src_test() {
touch ../tests/project/1/.git || die
elisp_src_test
}
|