From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/signature-dispatch/Manifest | 1 + dev-python/signature-dispatch/metadata.xml | 9 ++++++ .../signature-dispatch-1.0.1-r1.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-python/signature-dispatch/Manifest create mode 100644 dev-python/signature-dispatch/metadata.xml create mode 100644 dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild (limited to 'dev-python/signature-dispatch') diff --git a/dev-python/signature-dispatch/Manifest b/dev-python/signature-dispatch/Manifest new file mode 100644 index 000000000000..8fff41ba4459 --- /dev/null +++ b/dev-python/signature-dispatch/Manifest @@ -0,0 +1 @@ +DIST signature_dispatch-1.0.1.tar.gz 15348 BLAKE2B 35356caae5f6f7ba28494c02142addb581a36520b8becd2e0e132f1e4a37002870c981475688b758a4733341d67cc4cb30b2a7b69b3d106570766eeed36104fc SHA512 656fb47c50d865d1afec53f389154e783792bcedd7443442a142d19bcbd352fe0eff41ae9ef74378bafc164bb386a8e9a6f57d762f34ad23557a44a5d0d0f5de diff --git a/dev-python/signature-dispatch/metadata.xml b/dev-python/signature-dispatch/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/signature-dispatch/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + baldeagleos-repo + diff --git a/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild new file mode 100644 index 000000000000..6aac25184d00 --- /dev/null +++ b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Execute the first function that matches the given arguments" +HOMEPAGE=" + https://github.com/kalekundert/signature_dispatch/ + https://pypi.org/project/signature-dispatch/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +RDEPEND=" + >=dev-python/typeguard-3.0.0[${PYTHON_USEDEP}] +" + +src_prepare() { + # unpin deps + sed -i -e 's:~=:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + epytest -o addopts= +} -- cgit v1.3