dev-util/gersemi: new package, add 0.23.1

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-11-23 13:15:07 +03:00
parent ad1dcccf6d
commit a770a6d6f1
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gersemi-0.23.1.tar.gz 162340 BLAKE2B 6a981e643ea1df0199c92118563eff819fa29953c086052ed9ebf5ca914ae9d2e373398bc289a748b26da5518388d2477c5277c339fd4f8747ba9f8bc36b2056 SHA512 2c9e4393d8379ffd9d7766ed6091f57834ee37b25a3a447e657db4e93d637a9b5ca87249f35c10d2f54284f1ff5d0ec2201e4a3dea38bc8a75e8706806163421

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="A formatter to make your CMake code the real treasure"
HOMEPAGE="https://github.com/BlankSpruce/gersemi"
SRC_URI="https://github.com/BlankSpruce/gersemi/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+color"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/lark[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
color? ( dev-python/colorama[${PYTHON_USEDEP}] )
"
BDEPEND="
test? (
dev-python/pydantic[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Pavel Sobolev</name>
<email>contact@paveloom.dev</email>
</maintainer>
<use>
<flag name="color">Enable support for colorized diffs</flag>
</use>
<upstream>
<bugs-to>https://github.com/BlankSpruce/gersemi/issues</bugs-to>
<remote-id type="github">BlankSpruce/gersemi</remote-id>
</upstream>
</pkgmetadata>