summaryrefslogtreecommitdiff
path: root/dev-python/cappa
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-10 03:05:02 -0500
committerCrucible <crucible@localhost>2026-10-10 03:05:02 -0500
commit8d50579e39879dc6ba06d9fa6829f2e9a2c77420 (patch)
tree02fb01f1f55d0cf4b5660cb1cc12f2e2fccae010 /dev-python/cappa
parentfe1add1bc6351c4b156c993343992fe4de29c61e (diff)
downloadsrcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.tar.gz
srcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.tar.xz
srcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.zip
Publish srcux candidate 0000000619-20261010-030308
Diffstat (limited to 'dev-python/cappa')
-rw-r--r--dev-python/cappa/Manifest2
-rw-r--r--dev-python/cappa/cappa-0.33.0.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/cappa/Manifest b/dev-python/cappa/Manifest
index 1bd2c235eb56..ec05923711fe 100644
--- a/dev-python/cappa/Manifest
+++ b/dev-python/cappa/Manifest
@@ -1,2 +1,4 @@
DIST cappa-0.32.2.tar.gz 361403 BLAKE2B 31a5064ab830db3be913103a92bc5be4a49d16e4def61c36efdd9aeca034bbc7ace1e60e6563e2e555b6298785744b921c3fb8436f2a4051cd238bb27825d08e SHA512 e8284463a9a01d0f5c950181fa40674711de0631761389c8db0bf3255e9c30fbac01a45524ea4df0bd811eeb74078db223720742097bd505205d3d94d4f7ad40
DIST cappa-0.32.2.tar.gz.provenance 9968 BLAKE2B f4287bf8c1c1895d29ee58292cceacd53cd2fb17272530c548440781c5f5a1f9986fdd8946059f38f6b220304845b61375b72c61c8e13ecd9fe089619af3a15d SHA512 be7aea8e1a8d0f12cbcfdf8cdf2805890c9d31a8f6115c2aaac953939324e57838828b9fa424ad7d0d5cb89c16de4fde5be7f099a40b177240cafb13eab61ed1
+DIST cappa-0.33.0.tar.gz 362237 BLAKE2B 7cad307d164316106e179e45d92d94a90435e007fc18a993b1b81bf4ceeaa8138ca801f3d1d77ea107bd249c3cd4bbc9a7ab684bbc8e035c2437385d394ad246 SHA512 2973db2bd1e071264d32f234e44be90a519c122f6ac51fbac943577c71909a0ded1479cfe09ece0e191326f26b3e1c86479b85f0bd47807aef1d4b45340680e2
+DIST cappa-0.33.0.tar.gz.provenance 9752 BLAKE2B 3870fe9f05659de2eebe7ecb95545305e1c334caf102e532f24a581dcc6f9f80da3a978f36d0818104cb013b52d1bacef7b4c70818f54e8f0a3f6395716cc121 SHA512 3df9738035c90c8c800d6d51b190ec9b92c330539ec14c33f94ec9946c9695e10ff1049d97591512eed0218d414a92eb79968b77fe562186b4d6ba38a551646d
diff --git a/dev-python/cappa/cappa-0.33.0.ebuild b/dev-python/cappa/cappa-0.33.0.ebuild
new file mode 100644
index 000000000000..16af47f62c6f
--- /dev/null
+++ b/dev-python/cappa/cappa-0.33.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/DanCardin/cappa
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Declarative CLI argument parser"
+HOMEPAGE="
+ https://github.com/DanCardin/cappa/
+ https://pypi.org/project/cappa/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/rich-12.1.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
+ >=dev-python/type-lens-0.2.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+ >=dev-python/docstring-parser-0.17[${PYTHON_USEDEP}]
+ >=dev-python/msgspec-0.19.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-1.8.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # sphinx can't find extension prior to installing the package
+ tests/test_e2e.py::test_docutils
+ # TODO, test env problem
+ tests/help/test_line_wrapping.py::test_line_wraps_correctly_with_terminal_escape_codes
+ )
+
+ local -x COLUMNS=80
+ epytest tests
+}