app-emacs/php-mode - 1.28.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-emacs/php-mode-1.28.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-emacs/php-mode-1.28.0

Or alternatively:

emerge --autounmask-write -a =app-emacs/php-mode-1.28.0

Package Information

Description:
GNU Emacs major mode for editing PHP code
Homepage:
https://elpa.nongnu.org/nongnu/php-mode.html https://github.com/emacs-php/php-mode/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.28.0 9 ~amd64 ~ppc ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit elisp

DESCRIPTION="GNU Emacs major mode for editing PHP code"
HOMEPAGE="https://elpa.nongnu.org/nongnu/php-mode.html
	https://github.com/emacs-php/php-mode/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/emacs-php/${PN}"
else
	SRC_URI="https://github.com/emacs-php/${PN}/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.gh.tar.gz"
	KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
fi

S="${WORKDIR}/${P}/lisp"

LICENSE="GPL-3+"
SLOT="0"

DOCS=( ../{AUTHORS,CHANGELOG,CONTRIBUTING,README{,.ja}}.md ../docs )
SITEFILE="50${PN}-gentoo.el"

elisp-enable-tests ert "${S}" -L ../tests \
	-l ./php-ide-phpactor.el -l ../tests/php-mode-test.el

src_test() {
	touch ../tests/project/1/.git || die
	elisp_src_test
}

Inherited Eclasses

Manifest for 1.28.0

Type File Size Source URLs
DIST php-mode-1.28.0.gh.tar.gz 170187 bytes https://github.com/emacs-php/php-mode/archive/refs/tags/v1.28.0.tar.gz