diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-11-26 00:02:59 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-11-26 01:04:08 +0100 |
commit | 0f4422f96a0326f497e9840d4180bac6f715df62 (patch) | |
tree | c122ad0ed8f98c0f43c87ed17932c61405be6b15 /app-emacs/php-mode | |
parent | app-emacs/php-mode: drop old 1.24.3 (diff) | |
download | gentoo-0f4422f96a0326f497e9840d4180bac6f715df62.tar.gz gentoo-0f4422f96a0326f497e9840d4180bac6f715df62.tar.bz2 gentoo-0f4422f96a0326f497e9840d4180bac6f715df62.zip |
app-emacs/php-mode: bump to 1.25.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/php-mode')
-rw-r--r-- | app-emacs/php-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/php-mode/php-mode-1.25.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-emacs/php-mode/Manifest b/app-emacs/php-mode/Manifest index b434925c791b..f93c6be1ec71 100644 --- a/app-emacs/php-mode/Manifest +++ b/app-emacs/php-mode/Manifest @@ -1 +1,2 @@ DIST php-mode-1.25.0.tar.gz 139596 BLAKE2B 59eb3e7ab533e464a713f7c983acaf613678cbc6137b673c1d142abeb23db00748de579521fe6c729b890d0b59571b0538c4511df33c6e5aac6b039bd7ca45b3 SHA512 d49f3e8fccef271369f0b86cd7245adafa9a3a862349a19a407aa9ee41f10ec3bf519cb3db4792166adffe8125866dd6cff1c9f2e71bee9ddebedcd197c856a4 +DIST php-mode-1.25.1.tar.gz 131105 BLAKE2B 9672d3e71ead28cc7db78ca5c148340b1e1e2552804c172ac14003384c72c3eccf56f5c258da8f0b6e218976100a374af8f2f0c68595ee6b4a2a90d965b60644 SHA512 4e1acf92a95b7e836893160ae3a3bd7a510d7fa0af5f7a6eb3cc8141c6a90b803a339b5d49527ace4f6ec06364ca794f4b834b7391617420a3219dc95fbf61cc diff --git a/app-emacs/php-mode/php-mode-1.25.1.ebuild b/app-emacs/php-mode/php-mode-1.25.1.ebuild new file mode 100644 index 000000000000..a4c5626eb7ec --- /dev/null +++ b/app-emacs/php-mode/php-mode-1.25.1.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 +} |