diff options
Diffstat (limited to 'app-emacs/emacs-ebuild-snippets')
4 files changed, 92 insertions, 5 deletions
diff --git a/app-emacs/emacs-ebuild-snippets/Manifest b/app-emacs/emacs-ebuild-snippets/Manifest index 8e9f110c4b2a..f133ed9cbaec 100644 --- a/app-emacs/emacs-ebuild-snippets/Manifest +++ b/app-emacs/emacs-ebuild-snippets/Manifest @@ -1,3 +1,6 @@ DIST emacs-ebuild-snippets-2.0.2.tar.bz2 11606 BLAKE2B 5316355ec5fb7bae942ec27e8c7400f5f4570f9bdfc0588c2a92f908146da1475b87351f0654f58f99b41d752b357e255997d4fd3d89b3676790faea5acee3be SHA512 2cff09b32beec77fc6dc2033bdc2bafa31f89450b98865b5000ac95455436d3b840299652c7258b133038d41e4ac6f477f2b6637a5803484f3ec4dce86600944 -EBUILD emacs-ebuild-snippets-2.0.2.ebuild 711 BLAKE2B 0b1c0983a2cfab62e73619f368ef5401dac774a2d7f99c9b9fd2662253e6056b6af95af47870949d1003368992cd5527480d7d948e51db6f0c624f53fc076617 SHA512 73bb90666221237772c4fd9eb0de37d50cacac5b75b1e0ee4661e97920701aae36994fdf86b51f5cc89cbfc394b0cb0d4e07f906758ffc2d3b3609ddeff0de35 +DIST emacs-ebuild-snippets-2.0.4.tar.bz2 12041 BLAKE2B 98c4134080686f12bfae92b7bfe912ead0c7f407755682c18a33b191a9329be848a5e77eb0bb50f54e935a8460e1c0fac1574187b605a8a647c199ba8946e50a SHA512 ce78bc2bcad3f7d8684258d344aa3f95b1c57331e169ea04af19f2756eca019e30b6ba7037f5f59b57a20c1fa2a2203be30bbbca4005e425129a3744843b55eb +EBUILD emacs-ebuild-snippets-2.0.2.ebuild 813 BLAKE2B 503a475ebcbde3ce923ec898f046bb82312299b4bf248197edfff77b655324cd326628e59f61ff0b9f0d915e514087f2c4e16f8ad18a28914fa86f3f2813a141 SHA512 980fca963c84ba28d32b0a230c10d34d995897d61c19305c9229e584b1c7eb6a0a450c81cdfc6c9d7c4f8e5714ea0c3d9456c2645f23cfdd5bd05ae10cec4707 +EBUILD emacs-ebuild-snippets-2.0.4.ebuild 813 BLAKE2B 503a475ebcbde3ce923ec898f046bb82312299b4bf248197edfff77b655324cd326628e59f61ff0b9f0d915e514087f2c4e16f8ad18a28914fa86f3f2813a141 SHA512 980fca963c84ba28d32b0a230c10d34d995897d61c19305c9229e584b1c7eb6a0a450c81cdfc6c9d7c4f8e5714ea0c3d9456c2645f23cfdd5bd05ae10cec4707 +EBUILD emacs-ebuild-snippets-9999.ebuild 817 BLAKE2B aae3217ab89526cbd5a3bc0790a484251a327f990a4a21ac0ce50d927ac6c6e93fbf99678e1e596869f319f19d6c7eef5df8e3d9140abaa106f85063de34aa9f SHA512 688e1165cce7c4a82ab81087bc7b1145048c8667a645ffa05ac81a520de77a2af2e5b8e9b6a5342fd5a66d0b8bb3b33812aaa42014513474c09f213d9cf45e5a MISC metadata.xml 390 BLAKE2B 803c6f9ddd01b6f0b24761b7f8d4cd73df64bf4a630712bc4db41ea5e7681dbf329306623e804d3ae70ba426d19437d18cc0e37841c3d45ed53346cd5c5cc9ad SHA512 76346de5dd4da5532996d488e569c2ff506756bcaf1f3fd602d6ae759033f4205a5b8aa40ad735545deb7a906322d81021acbb55860c543d0e39b91ccb349a90 diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild index 55588ea7d0fc..2c04e6b056a3 100644 --- a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild +++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild @@ -3,17 +3,21 @@ EAPI=8 -NEED_EMACS=24 - inherit elisp DESCRIPTION="Yasnippets for editing ebuilds and eclasses" HOMEPAGE="https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git" -SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" RDEPEND=" app-emacs/ebuild-mode diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.4.ebuild b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.4.ebuild new file mode 100644 index 000000000000..2c04e6b056a3 --- /dev/null +++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Yasnippets for editing ebuilds and eclasses" +HOMEPAGE="https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + app-emacs/ebuild-mode + app-emacs/yasnippet +" +BDEPEND="${RDEPEND}" + +src_prepare() { + sh ./scripts/changeme.sh "${EPREFIX}${SITEETC}/${PN}" || die + + default +} + +src_install() { + elisp-install ${PN} *.el{,c} + elisp-site-file-install "${S}"/gentoo/50${PN}-gentoo.el + + insinto "${SITEETC}/${PN}" + doins -r snippets +} diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild new file mode 100644 index 000000000000..b597df48c6a9 --- /dev/null +++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Yasnippets for editing ebuilds and eclasses" +HOMEPAGE="https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + app-emacs/ebuild-mode + app-emacs/yasnippet +" +BDEPEND="${RDEPEND}" + +src_prepare() { + sh ./scripts/changeme.sh "${EPREFIX}${SITEETC}/${PN}" || die + + default +} + +src_install() { + elisp-install ${PN} *.el{,c} + elisp-site-file-install "${S}"/gentoo/50${PN}-gentoo.el + + insinto "${SITEETC}/${PN}" + doins -r snippets +} |