diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-26 16:31:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-26 16:31:51 +0100 |
commit | d1bfba210fcc5b5a1ebebbe8234ef70f018a73bb (patch) | |
tree | 69e067e5b543b803d8def4a397450ae6d0a25060 /app-emacs/php-mode/php-mode-1.25.0.ebuild | |
parent | 96cc0713998c294a9440f03dfa8c4adc9cb71f92 (diff) |
gentoo auto-resync : 26:07:2023 - 16:31:51
Diffstat (limited to 'app-emacs/php-mode/php-mode-1.25.0.ebuild')
-rw-r--r-- | app-emacs/php-mode/php-mode-1.25.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emacs/php-mode/php-mode-1.25.0.ebuild b/app-emacs/php-mode/php-mode-1.25.0.ebuild new file mode 100644 index 000000000000..a4c5626eb7ec --- /dev/null +++ b/app-emacs/php-mode/php-mode-1.25.0.ebuild @@ -0,0 +1,34 @@ +# 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/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/emacs-php/${PN}.git" +else + SRC_URI="https://github.com/emacs-php/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +fi + +S="${WORKDIR}"/${P}/lisp + +LICENSE="GPL-3+" +SLOT="0" + +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 +} |