From 84c054b856502bc630ff41d7fa43a25ad16014f9 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 27 Jul 2023 18:22:19 +0000 Subject: Adding metadata --- dev-python/signature-dispatch/Manifest | 1 + dev-python/signature-dispatch/metadata.xml | 10 ++++++ .../signature-dispatch-1.0.1-r1.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 47 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..a0d4c5913ba0 --- /dev/null +++ b/dev-python/signature-dispatch/metadata.xml @@ -0,0 +1,10 @@ + + + + + python@gentoo.org + + + gentoo-staging + + \ No newline at end of file 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..8a9980fc0bd6 --- /dev/null +++ b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +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 ~x86" + +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} -- cgit v1.3