diff --git a/app-emacs/forge/Manifest b/app-emacs/forge/Manifest new file mode 100644 index 0000000000000..d32ab9f232e37 --- /dev/null +++ b/app-emacs/forge/Manifest @@ -0,0 +1 @@ +DIST forge-0.4.4.tar.gz 129892 BLAKE2B 5edc6d7cd9a5203df64e3ce58aa3dc5ee0c4eab975271ef23d408d8219a89a22f84927886532e045ec0601be32eb07a7c1233e24399d30c83e2b10668cb6ed3d SHA512 04390b9f5b0109b0e360a8b1e9f4eca217e71086416217d24116bf42da344aca93a65c300bcb40ddea522f1e3dd806a523c83bbf6bd674ee2d798dc0b61ba5b0 diff --git a/app-emacs/forge/files/50forge-gentoo.el b/app-emacs/forge/files/50forge-gentoo.el new file mode 100644 index 0000000000000..431f7e90ae738 --- /dev/null +++ b/app-emacs/forge/files/50forge-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/forge/forge-0.4.4.ebuild b/app-emacs/forge/forge-0.4.4.ebuild new file mode 100644 index 0000000000000..588d0654e8589 --- /dev/null +++ b/app-emacs/forge/forge-0.4.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=27.1 +inherit elisp + +DESCRIPTION="Work with Git forges from the comfort of Magit" +HOMEPAGE="https://magit.vc/ + https://github.com/magit/forge/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/magit/${PN}.git" +else + SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64" +fi + +S="${WORKDIR}/${P}/lisp" + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( ../README.org ) +ELISP_TEXINFO="../docs/*.texi" +SITEFILE="50${PN}-gentoo.el" + +RDEPEND=" + >=app-emacs/compat-30.0.0.0 + >=app-emacs/closql-2.0.0 + >=app-emacs/dash-2.19.1 + >=app-emacs/emacsql-4.0.3 + >=app-emacs/ghub-4.1.1 + >=app-emacs/markdown-mode-2.6 + >=app-emacs/transient-0.7.6 + >=app-emacs/yaml-0.5.5 +" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo +" diff --git a/app-emacs/forge/forge-9999.ebuild b/app-emacs/forge/forge-9999.ebuild new file mode 100644 index 0000000000000..ebd6cbf9bb3ca --- /dev/null +++ b/app-emacs/forge/forge-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=27.1 +inherit elisp + +DESCRIPTION="Work with Git forges from the comfort of Magit" +HOMEPAGE="https://magit.vc/ + https://github.com/magit/forge/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/magit/${PN}.git" +else + SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64" +fi + +S="${WORKDIR}/${P}/lisp" + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( ../README.org ) +ELISP_TEXINFO="../docs/*.texi" +SITEFILE="50${PN}-gentoo.el" + +RDEPEND=" + >=app-emacs/compat-30.0.0.0 + >=app-emacs/closql-2.0.0 + >=app-emacs/dash-2.19.1 + >=app-emacs/emacsql-4.0.3 + >=app-emacs/ghub-4.1.1 + >=app-emacs/markdown-mode-2.6 + >=app-emacs/transient-9999 + >=app-emacs/yaml-0.5.5 +" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo +" diff --git a/app-emacs/forge/metadata.xml b/app-emacs/forge/metadata.xml new file mode 100644 index 0000000000000..76c51b9942880 --- /dev/null +++ b/app-emacs/forge/metadata.xml @@ -0,0 +1,19 @@ + + + + + arsen@gentoo.org + Arsen Arsenović + + + sam@gentoo.org + Sam James + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + magit/forge + +