aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-hypothesis_4.50.2.bb
blob: b01e48898e7d1d8959705ce35abe1d305f923b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY  = "A library for property based testing"
DESCRIPTION = "Hypothesis is an advanced testing library for Python. It lets \
you write tests which are parametrized by a source of examples, and then \
generates simple and comprehensible examples that make your tests fail. This \
lets you find more bugs in your code with less work."
HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python"
BUGTRACKER = "https://github.com/HypothesisWorks/hypothesis/issues"
SECTION = "devel/python"

LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"

SRC_URI[md5sum] = "2cf187bc0b3a61d08b13743985a71646"
SRC_URI[sha256sum] = "c50157747f80930c0e9367a2ef10599204cc098007e18ba8daeac0620ee674cb"

DEPENDS = "${PYTHON_PN}-attrs"

inherit pypi setuptools

RDEPENDS_${PN} += "\
    ${PYTHON_PN}-enum34 \
    "

PNBLACKLIST[python-hypothesis] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"