mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-07 06:02:58 -04:00
dev-vcs/llm-git: add 4.2.0
Upstream rewrote the project from Rust to Python, so this switches to a hatchling distutils ebuild. Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -144,6 +144,7 @@ DIST libsqlite3-sys-0.30.1.crate 5122296 BLAKE2B 3f3d5ecc434af6ce6e28836dc6bccc8
|
||||
DIST linux-raw-sys-0.12.1.crate 3006116 BLAKE2B e23efa27e6052034d41b2149f90d1ee7d6b905808605296ebed66f5fff210c4c18c51ee9c363bd0b93c8e17bc3b70857b594aaf51d44492051291c0e008f8cef SHA512 5cfe8f7e88a2125dda56a3f7a7213fb41cbdb51ddf4f7e44deec21f5b7aa05530e04f67d1b89b9d99d9fb204f27167d8c0e104e6ee6e62a780bcaa679155bb54
|
||||
DIST litemap-0.8.2.crate 34572 BLAKE2B 1c052278ccfb685ca8d1647f6d35d2f3cddd74814d287b8f9d10a0447781a1a33f607b0745a6c83b7e940c14076c90e4ce1029e8660b57b174683f8af2585fb4 SHA512 3afcc1a89aab55368bdfe6848aa1268d37ea8a03130f1f0e1e77d6709e437070be83e9e457bb51a7096c3d93ee0155740e33cab03f7584ff3cd7d8992524a7f6
|
||||
DIST llm-git-3.2.0.tar.gz 692514 BLAKE2B a26b42ee8187188ad68bcd2f109e14a6cb13d0d4061205d1fb4e4d7e8f71a6dbadc936825871410ae9d54d8ce9b247d799f212b0d007b884ae542d8596a280d3 SHA512 6938bbe385667518a39b58b551df232a323bf942843821b050ec16998012c0c1f2be3fba086f0e86c5850563e424036a90af18686ce66990d04cf5d0f86f733d
|
||||
DIST llm-git-4.2.0.tar.gz 1184006 BLAKE2B 7fb99949ac1f76cb0e01129cd18dcf4968705923bf478b35316cc31a8287d3e9124917287c5bbd98dba8c6d03f0dfde78cef11fee1576d4e101174113c619861 SHA512 e4c634e98f44e92099282ff59b6b06a426f1a6bd4603042e91b18e063575c720507c480bb0dd4d647104918b1c8b19363d160e53309c43d37c97ad73919e0ea6
|
||||
DIST lock_api-0.4.14.crate 29249 BLAKE2B 52d2f3a3eb5c3cbb4e7f01a2932f90200e3361155f53f282228f436211c54d1e429bddfd9e305a78b9c26b022b3234ae8ad3bee209bd4feed5b64a86af5b3d85 SHA512 73164d411c9899323b3bbff4fd6824e2b9ff44971ddd267629ae5a70b456c1ca945716e952412790d35331993ae71600b0e6a2aeefcdda117b26a7222ed97bf0
|
||||
DIST log-0.4.29.crate 51515 BLAKE2B 3f5dc889e895428f27ef107a63004c1b321793b865c29b20293adca81db4e25443e24354af37018c9a60dff1d54897c3b7b2c014a64280523f4a3586a7eeed24 SHA512 31bcf1669c27980f0a8500082c4d0cc500f6cc943518a3dacacc3ad4d8a0c238517f23c2c1969e5a22dbb5d25614adbf4e914c0557e45e1ebc8e7385b2ed14b3
|
||||
DIST lru-slab-0.1.2.crate 9090 BLAKE2B 00b36c830cfbe3dc004106aaca3c66dcc780ca0e07af6e1f1b2b8d125d88fdcd0b0f3a9b01299279f09fba7c81b1a87178ee86385af1ee8f648e6f307d26dc2f SHA512 eb93796ffaccafd2e2530efeaf60dab1eeb17fe61652a9299c220cea4dd9099239eb549ae1259ac272c5aa807eebfaec6db4dc5efc95ee59365d3fd1d413f60f
|
||||
|
||||
28
dev-vcs/llm-git/llm-git-4.2.0.ebuild
Normal file
28
dev-vcs/llm-git/llm-git-4.2.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_14 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AI-powered git commit message generator using LLMs via OpenAI-compat APIs"
|
||||
HOMEPAGE="https://github.com/can1357/llm-git"
|
||||
SRC_URI="https://github.com/can1357/${PN}/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2[${PYTHON_USEDEP}]
|
||||
dev-python/blake3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="test? ( dev-vcs/git )"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
@@ -17,13 +17,13 @@
|
||||
automatically. The tool supports multiple AI providers including
|
||||
Anthropic Claude, OpenAI, and other OpenAI-compatible endpoints.
|
||||
Features include automatic diff analysis, conventional commit format,
|
||||
clipboard support, and customizable prompts via Tera templates.
|
||||
clipboard support, and customizable prompts via Jinja2 templates.
|
||||
</longdescription>
|
||||
<longdescription lang="zh">
|
||||
llm-git 是一款 AI 驱动的命令行工具,通过 Claude 和其他兼容 OpenAI API
|
||||
的大语言模型自动生成 git 提交信息。它分析暂存的更改并自动创建符合规范的
|
||||
提交信息。该工具支持多种 AI 服务提供商,包括 Anthropic Claude、OpenAI
|
||||
以及其他兼容 OpenAI 的端点。功能包括自动差异分析、规范提交格式、剪贴板
|
||||
支持以及通过 Tera 模板自定义提示词。
|
||||
支持以及通过 Jinja2 模板自定义提示词。
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user