diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-29 01:25:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-29 01:25:46 +0100 |
commit | 04ac238703da84168e02b06fb131d1d17d85be23 (patch) | |
tree | f32aa3a6b6a6c879a798006535ad544bf888df73 /app-emacs/gptel | |
parent | 6405cba4bf18141460bc9fcb8f5580532d4b46f8 (diff) |
gentoo auto-resync : 29:09:2024 - 01:25:46
Diffstat (limited to 'app-emacs/gptel')
-rw-r--r-- | app-emacs/gptel/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/gptel/files/50gptel-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/gptel/gptel-0.9.0.ebuild | 43 | ||||
-rw-r--r-- | app-emacs/gptel/metadata.xml | 19 |
4 files changed, 68 insertions, 0 deletions
diff --git a/app-emacs/gptel/Manifest b/app-emacs/gptel/Manifest new file mode 100644 index 000000000000..ff920358c6bc --- /dev/null +++ b/app-emacs/gptel/Manifest @@ -0,0 +1,4 @@ +AUX 50gptel-gentoo.el 83 BLAKE2B dc1ed117f4808dd92368545dc67655e7064d4e7e4552c4b1690c5564dfca6b1954669cb99e730a539990ec121443085145a458347decdd3f554b095c20db141c SHA512 d1c54b8d536ca9db9322fc09ff596c3914510676330e0903faabfe388c4e0eb67d9d4c7867a5c1c7e9be806ceb6353892199f83cbe127e5851bf8c4acc587e0a +DIST gptel-0.9.0.tar.gz 75974 BLAKE2B 51bf6ebe754a8fecaa2645d9dba77b844dbc65fbfd430ff67dcaa6b4893c66960f83c8e4344d0fa8b294ba8b468c8ce744fa0f284ed4e87b6e694edb07d2dd14 SHA512 6b7030bc87ef5a9edac547efe62c3392cbca08973eec5f7ace4358b0ad8c25049b69309beec100e6604ed35935468f531f0e0325df65d771819f80826b6b419d +EBUILD gptel-0.9.0.ebuild 784 BLAKE2B 5fbaea1f5e492d21d1ae49a175cadcaf9393c518749bc64939e3c1cea7072785f6869faa72f03a12450bcb66344e3ede3212f99ee1f26462ff4ca09d3540af54 SHA512 ec473c1bcf580723d1f23000fa82239b088784ddf262ee0ccdbb43e7cd5a209113c4bbd9211a2783b1f95e8dea725ea96553ccab354c820e59d904c6bd0b56c8 +MISC metadata.xml 689 BLAKE2B 4df5cdad2c09f9c24415dafa53de6edd2ee40737ef61c4a4fb08d66e78c878e251cd020a6e283c25db430418cfc00ae138ca1a73d1ad2c932be1b4cbdbbd797d SHA512 2f9751a07c99782b720bbfa5b92b1dec6deab9adafc53834e81129bf03b9dd3864f705cf8c3beadcc340c6c199f08806692d7961407f0a2d5d25785826df0852 diff --git a/app-emacs/gptel/files/50gptel-gentoo.el b/app-emacs/gptel/files/50gptel-gentoo.el new file mode 100644 index 000000000000..9fd7e1939754 --- /dev/null +++ b/app-emacs/gptel/files/50gptel-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/gptel-autoloads.el" nil t) diff --git a/app-emacs/gptel/gptel-0.9.0.ebuild b/app-emacs/gptel/gptel-0.9.0.ebuild new file mode 100644 index 000000000000..783dad3ec302 --- /dev/null +++ b/app-emacs/gptel/gptel-0.9.0.ebuild @@ -0,0 +1,43 @@ +# 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="Simple Large Language Model chat client for GNU Emacs" +HOMEPAGE="https://github.com/karthink/gptel/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/karthink/${PN}.git" +else + SRC_URI="https://github.com/karthink/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + >=app-emacs/compat-30.0.0.0 + app-emacs/transient +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +elisp-enable-tests ert test -l gptel-org -l gptel-org-test + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} diff --git a/app-emacs/gptel/metadata.xml b/app-emacs/gptel/metadata.xml new file mode 100644 index 000000000000..6181815e9abe --- /dev/null +++ b/app-emacs/gptel/metadata.xml @@ -0,0 +1,19 @@ +<?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> + gptel is a simple Large Language Model chat client for Emacs, with + support for multiple models and backends. It works in the spirit of + Emacs, available at any time and uniformly in any buffer. + </longdescription> + <upstream> + <bugs-to>https://github.com/karthink/gptel/issues/</bugs-to> + <remote-id type="github">karthink/gptel</remote-id> + </upstream> + <stabilize-allarches /> +</pkgmetadata> |