From 2121bd955b56bcfbcfca92bec5669532acb575a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 5 Jul 2025 07:11:12 +0200 Subject: [PATCH] dev-python/hypothesis-gentoo: New package, v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New Hypothesis plugin that provides a "gentoo" profile, that disables health checks. Signed-off-by: Michał Górny Part-of: https://github.com/gentoo/gentoo/pull/42876 Signed-off-by: Michał Górny --- dev-python/hypothesis-gentoo/Manifest | 1 + .../hypothesis-gentoo-3.ebuild | 24 +++++++++++++++++++ dev-python/hypothesis-gentoo/metadata.xml | 12 ++++++++++ 3 files changed, 37 insertions(+) create mode 100644 dev-python/hypothesis-gentoo/Manifest create mode 100644 dev-python/hypothesis-gentoo/hypothesis-gentoo-3.ebuild create mode 100644 dev-python/hypothesis-gentoo/metadata.xml diff --git a/dev-python/hypothesis-gentoo/Manifest b/dev-python/hypothesis-gentoo/Manifest new file mode 100644 index 0000000000000..22215be2f10e6 --- /dev/null +++ b/dev-python/hypothesis-gentoo/Manifest @@ -0,0 +1 @@ +DIST hypothesis_gentoo-3.tar.gz 2201 BLAKE2B 7fc480dbbf559ffca71be6eb5cc5c6186e892ad53776bc5d84ddc649be8d1fe9a181cecacb82806c161078d57a9b286434b921f15cd4b57a6ad6005baa300e05 SHA512 2b3df0b18bf3513de77712e3fdda1c14ac049f957c85fe50da4126146e2a95354079a69ebc3c8af962c30808ba97df21a8084ce0c6c5013c0a45fb8e83e9c02a diff --git a/dev-python/hypothesis-gentoo/hypothesis-gentoo-3.ebuild b/dev-python/hypothesis-gentoo/hypothesis-gentoo-3.ebuild new file mode 100644 index 0000000000000..9719d340ed4a2 --- /dev/null +++ b/dev-python/hypothesis-gentoo/hypothesis-gentoo-3.ebuild @@ -0,0 +1,24 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Plugin to create 'gentoo' hypothesis profile, disabling health checks" +HOMEPAGE=" + https://github.com/projg2/hypothesis-gentoo/ + https://pypi.org/project/hypothesis-gentoo/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# No RDEP on hypothesis -- it is only imported in the hypothesis hook + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest diff --git a/dev-python/hypothesis-gentoo/metadata.xml b/dev-python/hypothesis-gentoo/metadata.xml new file mode 100644 index 0000000000000..b488477c0a2cc --- /dev/null +++ b/dev-python/hypothesis-gentoo/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + projg2/hypothesis-gentoo + hypothesis-gentoo + +