diff options
Diffstat (limited to 'app-emacs/php-mode')
-rw-r--r-- | app-emacs/php-mode/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/php-mode/php-mode-1.26.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/php-mode/Manifest b/app-emacs/php-mode/Manifest index abd788cd8e43..8ab32e6558ad 100644 --- a/app-emacs/php-mode/Manifest +++ b/app-emacs/php-mode/Manifest @@ -1,5 +1,7 @@ AUX 50php-mode-gentoo.el 286 BLAKE2B 1c823d8244e714811c5f1be402d1cd41e7b81951aafdedd01f36fe93f3cb6150792b5ed09ef5fd859211692f766fb8e931581c5e9cd60401d6eade364696edec SHA512 5f6205a7f3300d02b612a0aba58566dba1ad2a5f090c827c7d2d740af9c425cccb8384b37ac81e05eb81b4e31e649726433105b9862b92913e56752c554eec93 DIST php-mode-1.25.1.tar.gz 131105 BLAKE2B 9672d3e71ead28cc7db78ca5c148340b1e1e2552804c172ac14003384c72c3eccf56f5c258da8f0b6e218976100a374af8f2f0c68595ee6b4a2a90d965b60644 SHA512 4e1acf92a95b7e836893160ae3a3bd7a510d7fa0af5f7a6eb3cc8141c6a90b803a339b5d49527ace4f6ec06364ca794f4b834b7391617420a3219dc95fbf61cc +DIST php-mode-1.26.1.tar.gz 132347 BLAKE2B aa860304e8772e7b4f0eda98711acb1fced279fda16fe491477deaf47e79ef4a841686906783633a7eedd2d19e1569bd1fb17b693588f1b950ee8a7e540e9c77 SHA512 85e9049f895fbba17cab4ef868336aa992821b3dd4167a2c9e1c8ef748bd9d3ac6a413a125391374552beb02dd2a3a6263bd739da78691361e0500c4e0ed29c8 EBUILD php-mode-1.25.1.ebuild 817 BLAKE2B 214dbd23ad411361b2ea866c772cbe469e5a24fb531a89975bf021be0d7fc31f18147a412d7b83e191c77763128481520f30affec53ffb71c5f58b99b1e30b87 SHA512 8e67607331cf441c7d2571f3129d5038faf964a94be98ba34163764dae518aa9339ff3253b2f61ac1485a17283f806a46b6e04bbf506dc5509df8c621337555b +EBUILD php-mode-1.26.1.ebuild 825 BLAKE2B 75b305b422cc708f25cce389aa4a70afc09e1d1f872d5ad0ad8fe8c310d4cbdf1af658dfdb56b4b6d21394e52dfa20aa6c04983de75905f9685c06f0c731dbd5 SHA512 16f87c0b92b02058aa74a46eab34c4b7e1a4290e005e68c11e71d7625a8dce9d835db80f0ca53a9e29b2ee65e0bfe6e1649ca513e6ef04daa36e39e8c9ca228e EBUILD php-mode-9999.ebuild 821 BLAKE2B b02344be42bfa310b6b3bbb9d041af8657a541dc7d6486968b41f3f7f1ba2e7c68ba3aa35fa6100225d5a45a9b9f6328ea5715851c6dd0b34663b0a2f8048d7b SHA512 4a8c20245371047314f6c09574f6e7c92b17bd8c2bf54d20515798b2721a4dcbb3dca95c1c5a05ecde91c17a7c416495357fd4b614de64d1f86778a916a60ea3 MISC metadata.xml 431 BLAKE2B 9349c1a4abe0f4e86aa6fc3fd5d4ad086c85b7cf3375c7fdafc051b0f8b1d089ab0f48220b1b6d05fde68051223e0f2b5a13698cac27c5b01a244fd42bebd9a7 SHA512 581f83ac18fbb5c1f28eb83fa53c7b8ad19cfb9b2df6123dc18bbd2a9eb53972400b0a84816d6740590926dcdcd1eead1fad5784fe93eea80b78edf420228b79 diff --git a/app-emacs/php-mode/php-mode-1.26.1.ebuild b/app-emacs/php-mode/php-mode-1.26.1.ebuild new file mode 100644 index 000000000000..c61824e10dae --- /dev/null +++ b/app-emacs/php-mode/php-mode-1.26.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 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 ~riscv ~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 +} |