summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-05 07:11:12 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-12 07:05:16 +0200
commit2121bd955b56bcfbcfca92bec5669532acb575a0 (patch)
tree8155fabbfa830c04153ee32308ab8867b067a830 /dev-python
parentbbcbc221c66978da578b6d796439434b8d13da72 (diff)
downloadgentoo-2121bd955b56bcfbcfca92bec5669532acb575a0.tar.gz
gentoo-2121bd955b56bcfbcfca92bec5669532acb575a0.tar.bz2
gentoo-2121bd955b56bcfbcfca92bec5669532acb575a0.zip
dev-python/hypothesis-gentoo: New package, v3
New Hypothesis plugin that provides a "gentoo" profile, that disables health checks. Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42876 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/hypothesis-gentoo/Manifest1
-rw-r--r--dev-python/hypothesis-gentoo/hypothesis-gentoo-3.ebuild24
-rw-r--r--dev-python/hypothesis-gentoo/metadata.xml12
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/hypothesis-gentoo/Manifest b/dev-python/hypothesis-gentoo/Manifest
new file mode 100644
index 000000000000..22215be2f10e
--- /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 000000000000..9719d340ed4a
--- /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 000000000000..b488477c0a2c
--- /dev/null
+++ b/dev-python/hypothesis-gentoo/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">projg2/hypothesis-gentoo</remote-id>
+ <remote-id type="pypi">hypothesis-gentoo</remote-id>
+ </upstream>
+</pkgmetadata>