diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-22 16:05:56 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-22 16:11:30 +0200 |
commit | 91ce3cf66e7281c19f68d006e5b2c98d95451eaf (patch) | |
tree | 7c462c40f58ebb0e839cae59c1dfc66183b24826 /app-emacs/sharper | |
parent | media-gfx/pablodraw: new package; add 3.3.13_beta (diff) | |
download | gentoo-91ce3cf66e7281c19f68d006e5b2c98d95451eaf.tar.gz gentoo-91ce3cf66e7281c19f68d006e5b2c98d95451eaf.tar.bz2 gentoo-91ce3cf66e7281c19f68d006e5b2c98d95451eaf.zip |
app-emacs/sharper: new package; add 1.0_p20230129
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/sharper')
-rw-r--r-- | app-emacs/sharper/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/sharper/files/50sharper-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/sharper/metadata.xml | 16 | ||||
-rw-r--r-- | app-emacs/sharper/sharper-1.0_p20230129.ebuild | 29 |
4 files changed, 48 insertions, 0 deletions
diff --git a/app-emacs/sharper/Manifest b/app-emacs/sharper/Manifest new file mode 100644 index 000000000000..8dd2fbbe2d82 --- /dev/null +++ b/app-emacs/sharper/Manifest @@ -0,0 +1 @@ +DIST sharper-1.0_p20230129.tar.gz 288565 BLAKE2B aef8d9a0af0b41b92fb85e760cd449ee81fbbb7a161885b1e783e83e4b2ca553ae12d7c5f954c4ddb842d934b6da2f93d87f50d62c6e79a8aaabfeabfdf5bdad SHA512 c2adfeccb77e96bb681061dbb1276373159e97374a6b30f1e1e2cc343340b4ab1083d9c2f67f02ecc0061cd37a36b03831a2f4320b0b0b1e2d4617cfa0a8a68e diff --git a/app-emacs/sharper/files/50sharper-gentoo.el b/app-emacs/sharper/files/50sharper-gentoo.el new file mode 100644 index 000000000000..ee56842736b9 --- /dev/null +++ b/app-emacs/sharper/files/50sharper-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'sharper-main-transient "@SITELISP@/sharper.el" nil t) diff --git a/app-emacs/sharper/metadata.xml b/app-emacs/sharper/metadata.xml new file mode 100644 index 000000000000..7674f06c6c81 --- /dev/null +++ b/app-emacs/sharper/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> +This is a Transient-based menu for the dotnet CLI. It aims to cover the most common scenarios, but I expect eventually all of the dotnet commands will be implemented. + </longdescription> + <upstream> + <bugs-to>https://github.com/sebasmonia/sharper/issues/</bugs-to> + <remote-id type="github">sebasmonia/sharper</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/sharper/sharper-1.0_p20230129.ebuild b/app-emacs/sharper/sharper-1.0_p20230129.ebuild new file mode 100644 index 000000000000..c54a11f58585 --- /dev/null +++ b/app-emacs/sharper/sharper-1.0_p20230129.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION=".NET SDK CLI wrapper for GNU Emacs using Transient" +HOMEPAGE="https://github.com/sebasmonia/sharper/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/sebasmonia/${PN}.git" +else + [[ "${PV}" == *_p20230129 ]] && COMMIT=496e90e337cb09329d85a6d171c0953a85e918fe + + SRC_URI="https://github.com/sebasmonia/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" |