diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/hypothesis | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 24 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.37.5.ebuild | 68 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.41.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.41.4.ebuild | 6 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.41.5.ebuild (renamed from dev-python/hypothesis/hypothesis-5.35.4.ebuild) | 3 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.43.0.ebuild (renamed from dev-python/hypothesis/hypothesis-5.36.2.ebuild) | 3 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.43.1.ebuild (renamed from dev-python/hypothesis/hypothesis-5.41.2.ebuild) | 3 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.43.2.ebuild (renamed from dev-python/hypothesis/hypothesis-5.41.0.ebuild) | 3 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.43.3.ebuild | 64 |
9 files changed, 86 insertions, 90 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index a9694778accd..a1e7b7f0a856 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,19 +1,19 @@ DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1b5e405878b9632bf14233e0515ad9d98ec6ddcc57bf39be6b61f53739d34e393b3af64c0d362880019d29a649a9523a0204e3 SHA512 147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40 -DIST hypothesis-python-5.35.4.tar.gz 9084892 BLAKE2B 5545f2b1f3e97eafb4c83d7918f1558124102b1b58854bf0ca3a75fa3f6f08c0cc862c0ec32f5fdcbbf12e6cfc849e7081fe82ab0bb24e6de8fe41108525816b SHA512 db26d0b8d23b753c4880e0ee54ef89957c68c75496847aaefd538196188e7734513d737e2073bdced5eb7a8677b096b2cf9d6d48e572922d8a3e5a5c930bc795 -DIST hypothesis-python-5.36.2.tar.gz 9088227 BLAKE2B 578c28d045f3b3f288d43765d556f1e7bbde661684b71f6379df3eba516d8ece86f31a38a414e676532f6ecb8a1ee69ac77d207a8637eaef8b9a86584d3292eb SHA512 d6792d5b9f60aea6181018c69eaa12982ef0ab353bff3f46bc987a4633a15b655ed04ee8ae3aca7dbd9e23cf5f85e4a95e455082f4035e246342b72e2dafe258 -DIST hypothesis-python-5.37.5.tar.gz 9092380 BLAKE2B b5bf9f5c5bb1002154ea6041c38b727e926ae65641a05ddd2bfe919fdb7b6457963ddcc5bf1d57a929c57a3912b15a13c52b4568708348f4f308146cf64caa61 SHA512 ddf2db9d8f9318b0b3ae872fdfebbc4ac8376a86816e7c9a0350738a68a4e3adbe41aaf19a8f54471f551542f3252172cc34f5bc140483989ef8c04c5735f044 -DIST hypothesis-python-5.41.0.tar.gz 9094817 BLAKE2B 3025caf9a0ccba19abfd12273edefe1db825a40615a378fb076e8d3ba96bfecc64ec23be6ef72b6fcd89d7d6b5c94bbf12abf3212e4a521a21def892b0d95a56 SHA512 76a0147d36179368d62a3d9e6f9f27effa903476fa0cccdba4574937c470bbfd020daccf9b3df73f457b543b6a94ce0858fe4d9abdfe9c16a8c49858c8bc0e92 DIST hypothesis-python-5.41.1.tar.gz 9095771 BLAKE2B 29c5c091f4b827d1f1e6276d0401c1a673077304b3ee8b0252536c3eeda066a4cfa764856edb222ba6cbaebb424b08aebc8d8ec00c5e0d445774b1c62ed98593 SHA512 b1f02e32e6c5bdb6ca0a338901715508a03d2734898c673c5b3a5b25dee34922d7fbfcc2534b0c658d003d5de3e97abecb5a9b4f00ada0cc85c457b4b870a873 -DIST hypothesis-python-5.41.2.tar.gz 9095799 BLAKE2B c1743f2e9872cefdd82dd79b60f78ae02bb975be2156bf7c05054627ca8386092588721450dfe14954129e46ea3556b78f7784102640d84368bdc98af2980b04 SHA512 712a6b3a007e4b354e9ed2137b7dd53652abbbf0b324467ce540ca886fb956eae5d00f83cbc1c9b1799a4a3abc64f4d26d9aed85d5fb689e904e1125b87b88eb DIST hypothesis-python-5.41.3.tar.gz 9095982 BLAKE2B 3a1b7052b3f71d1f8139101d16f2f74c2d434514a201b7e04e5452ac2c5fbe7288d592c0020769f3a48f73347cdce53f507ab65db7bfb4f3823d0f7997e48058 SHA512 974dee6040222fa55729257cea4e3c4c049625a2a5dfddbc12667dbd58dfe31718474ce8e9de81519e998c7a0c8ff01920e0aa2bca9fb7100754e985177f4b69 DIST hypothesis-python-5.41.4.tar.gz 9098296 BLAKE2B ef471172039251129d03faea722fc190135ed3d2e94a9bc6d4ad4f9676bc819e641dd0c893352168425ce987128e73d8844f622e57a7c161d33f75ea0f4b7312 SHA512 215f2e4479eca10d8ca590ffe0623f8994c7061fddabfe2737d0f3bba2f403042ad8e75730361417a1c9c32d3e261c8daa84032f6963ef6526e6b0067a156658 +DIST hypothesis-python-5.41.5.tar.gz 9098660 BLAKE2B 6caa742d34a3a2aeb6c6fdec3f8772e5221e1d0b2becc1362b657d383387f2a1152756222cfe86ffbb3e23a53e395050a16325d74ec9e03822a5c0020505b38e SHA512 b220a48e5746bacc6fa257f79feed0dc2c0a9f66862aba74806fb1ac3d06f380620410c9c46c377c50e4fa7c3171d5b31ce2759e7a3e0e2abd0920b237242dd6 +DIST hypothesis-python-5.43.0.tar.gz 9103047 BLAKE2B c9c8262fb32dfdb48b52ad11cd18f907d488802f1af04d7677e260abf24598afd5f89bf3f1a42c919460d5ea48b1d6979da5215ef9877260c601b133076bbd05 SHA512 129760a9c58f264e25c403fcacf9e1ab41267faee637856230341a91d6965a6c2fd05b9a8a12b6977377f8abc26ed7151384ad08195b03ddf62e8445b216eacf +DIST hypothesis-python-5.43.1.tar.gz 9103292 BLAKE2B aa718b98c7a0e16322cbde38f0768e5ccf6716e2cd08aa97b5ed4d36c7ed9565e5ccba76443d74d253adff557918400ec384ee39c630523a31356c80dce15622 SHA512 428a7f1cfb379ebb3d3bea01727ad1633d2e591bea00de15d7967856af8b1aaa9371d278e51be9a0a902adaeff63215a2e87205309f058e371f6ad331737a11f +DIST hypothesis-python-5.43.2.tar.gz 9103806 BLAKE2B 7ef4bfdcd12782a3445d5094ab5111b305743c1c11afd33f3f615e6fd863192cff37c9df7b42052a83d55ee16d570adfb08f1e1c610697f2c2a3295cf09528fa SHA512 c348568f00ce66c6cb53398a7f9b471ffa686cb9c4a4180ac00ba0edae76404c0a7e182f5df8a3c0738b9379f79bfb4b89fdb94bfe3529313a9a3c243a2658ae +DIST hypothesis-python-5.43.3.tar.gz 9103991 BLAKE2B e374edf17571c33e48dc8d259db2fb23b9cc358f56189ebd60f3e9141ade7759eede1bdbd91d924f144a20b1ea0b7ec19817559b7f82a90f026ac101a7feeabd SHA512 392fb794fc5ba06acd1e465cf1500f742d8b056148540778f1ec9c5065be66c0f514f0fa6872337869079636c71235d51d4c6722a63b03037b689edd6f09809f EBUILD hypothesis-5.24.4.ebuild 1608 BLAKE2B c52cd842682347491245d4560fba737a85f8dd46e93416047c2bff5ff4dcde85bd337d7e7c65556e61d97bb1c2a1270652bf3dec8126049daa01215ed1424b3f SHA512 7d3450fa374c88dd6206663341a1437d177a7cfe5b0eb99161a85f4e62b97020843e052d28ae0975628d8c299655a35b86ba51cf67bacd296e839d949c06f785 -EBUILD hypothesis-5.35.4.ebuild 1792 BLAKE2B cea3034afb7d809f5c3f8dffd5ef2ad6ded44eeff4e6921318db421e9975ac78c13d9add11a717d678799e4395937a3b3cf8e8f7929d18161c5d452b8f5605ea SHA512 4acec6c9774186c35189baefabfb84d50a4b0a4f94de83b6e6b561cfad3b325c78f4957bc9045460edd985cf0375602938d276e5c73ab1803aea48d0f021b191 -EBUILD hypothesis-5.36.2.ebuild 1801 BLAKE2B 2353fac773dc0ae13f54d9c87645444b4418a7dab698376bbf674ddf01f93f97956af09d314a92f74d716192f1d10657bcdaa885ffaceb22aeead5d1c0c55d22 SHA512 84664f8ab5c91863d349e8e77c39d7b5afac420b9cb35488ea032530bbeb81f1b3d568b74e6c6784555aef71652414e3709a308e76f36d1d3dd05188cc0bea75 -EBUILD hypothesis-5.37.5.ebuild 1920 BLAKE2B 75a8070d9cc3fffa31a5c854b3784b9fc25dcbb11cd5a3e48ed30a0d01f7d0f6c97471e035d0c1be38b2ee81ead13bf6cb4c64cdc0408d9e73cbdb175c17647d SHA512 a66c3b2d8b9c5928bb816ca8f2fca8d0d16447c79222fe8f5c2275d4b8f6307af6b5f8d8ed4b8b52be94950cd5080ff3d70aac5b82970ecd144052add03600fc -EBUILD hypothesis-5.41.0.ebuild 1803 BLAKE2B 04eac62c585b02bf721763309619d61eec9d526f332323daabe73e8a9829bbf6c2939baf751a196cae120134dfe68bde39e1567795ad5668cc718489e2a3e3f4 SHA512 0ff2d839e09d54bf1ec046f1de9cd29a13ba75d57ea6334a4aa812fba61b15e805596e92ca9a825ae482cd6528e94115bb4cc92e1a5439e691f4e23ff961f7ff -EBUILD hypothesis-5.41.1.ebuild 1803 BLAKE2B 04eac62c585b02bf721763309619d61eec9d526f332323daabe73e8a9829bbf6c2939baf751a196cae120134dfe68bde39e1567795ad5668cc718489e2a3e3f4 SHA512 0ff2d839e09d54bf1ec046f1de9cd29a13ba75d57ea6334a4aa812fba61b15e805596e92ca9a825ae482cd6528e94115bb4cc92e1a5439e691f4e23ff961f7ff -EBUILD hypothesis-5.41.2.ebuild 1803 BLAKE2B 04eac62c585b02bf721763309619d61eec9d526f332323daabe73e8a9829bbf6c2939baf751a196cae120134dfe68bde39e1567795ad5668cc718489e2a3e3f4 SHA512 0ff2d839e09d54bf1ec046f1de9cd29a13ba75d57ea6334a4aa812fba61b15e805596e92ca9a825ae482cd6528e94115bb4cc92e1a5439e691f4e23ff961f7ff +EBUILD hypothesis-5.41.1.ebuild 1801 BLAKE2B 074867b2e76174a9f5569017da28098718d5e478623f47968f6c80923f331a91cf86ce9aaa8fa755804a0bff295577e0d4b940b13bc85cd1d5f36b78607efede SHA512 00c3338e0a97ec3b6491dc9168f85e96b8fe0984785af9530e48288341fc4cba4e6deab2c7940c1a3fb9b4552b3184b529e4ea77e44afa3e17732775415865b8 EBUILD hypothesis-5.41.3.ebuild 1944 BLAKE2B 72798f2e7d9f5c52c18d9f5628288deadbb2929cb81ce1ab260a6c310bb0a1f081f6f7bf057bc6c7b764ff4294d6c4b8631a352e10fa556d070f0ca1154c357c SHA512 87d5198bc9245a8d971ec781269090288b3e4a86318675fd2d28905e7f97eec43d3e493fcd1a06a1e38bff3807f776cf5b4681e1e14daf4eca862e953512d8b8 -EBUILD hypothesis-5.41.4.ebuild 1944 BLAKE2B 72798f2e7d9f5c52c18d9f5628288deadbb2929cb81ce1ab260a6c310bb0a1f081f6f7bf057bc6c7b764ff4294d6c4b8631a352e10fa556d070f0ca1154c357c SHA512 87d5198bc9245a8d971ec781269090288b3e4a86318675fd2d28905e7f97eec43d3e493fcd1a06a1e38bff3807f776cf5b4681e1e14daf4eca862e953512d8b8 +EBUILD hypothesis-5.41.4.ebuild 1862 BLAKE2B cdaa3bf24e368400cd344062972fc1713ab451303bed278b184c118e8466c3eb374477a4d0edc308e38897029fddd5e28c3b299b2083d97ecfee47ab4a24dead SHA512 23e82dd82c4c393819cc97e70e21362c7c7e456bec93c640fe0a8dd8d4f915255d213053a990a900f41d9db96d1a0df39e1824eaea7c2bd14648c35ada68bfec +EBUILD hypothesis-5.41.5.ebuild 1862 BLAKE2B cdaa3bf24e368400cd344062972fc1713ab451303bed278b184c118e8466c3eb374477a4d0edc308e38897029fddd5e28c3b299b2083d97ecfee47ab4a24dead SHA512 23e82dd82c4c393819cc97e70e21362c7c7e456bec93c640fe0a8dd8d4f915255d213053a990a900f41d9db96d1a0df39e1824eaea7c2bd14648c35ada68bfec +EBUILD hypothesis-5.43.0.ebuild 1862 BLAKE2B cdaa3bf24e368400cd344062972fc1713ab451303bed278b184c118e8466c3eb374477a4d0edc308e38897029fddd5e28c3b299b2083d97ecfee47ab4a24dead SHA512 23e82dd82c4c393819cc97e70e21362c7c7e456bec93c640fe0a8dd8d4f915255d213053a990a900f41d9db96d1a0df39e1824eaea7c2bd14648c35ada68bfec +EBUILD hypothesis-5.43.1.ebuild 1862 BLAKE2B cdaa3bf24e368400cd344062972fc1713ab451303bed278b184c118e8466c3eb374477a4d0edc308e38897029fddd5e28c3b299b2083d97ecfee47ab4a24dead SHA512 23e82dd82c4c393819cc97e70e21362c7c7e456bec93c640fe0a8dd8d4f915255d213053a990a900f41d9db96d1a0df39e1824eaea7c2bd14648c35ada68bfec +EBUILD hypothesis-5.43.2.ebuild 1862 BLAKE2B cdaa3bf24e368400cd344062972fc1713ab451303bed278b184c118e8466c3eb374477a4d0edc308e38897029fddd5e28c3b299b2083d97ecfee47ab4a24dead SHA512 23e82dd82c4c393819cc97e70e21362c7c7e456bec93c640fe0a8dd8d4f915255d213053a990a900f41d9db96d1a0df39e1824eaea7c2bd14648c35ada68bfec +EBUILD hypothesis-5.43.3.ebuild 1868 BLAKE2B dbc0309e757938bfc38621183fa804775df68a395e05b2ba01e2ed1c24b28cd2cf94a4d145852d7c6c3157e968b9631464daa9736328bb8787b882bc3e021a61 SHA512 d16e2f08ab141ae378165fa1fcc54f4f354f1aaf9ed63537fcffea8f2e1d451429161078d31452257d9deb7f6ed6069342c0cbbf9c540f39fc5257310766ec14 MISC metadata.xml 755 BLAKE2B da1fcfe4509905d2058d448b0178dacbb87026a3542368d8aa3ffca38edf1cd3d76d9542f8badc0220f5b5c916fdbb054f65b054a361977e0258e475768e3cf3 SHA512 3f046788581ef05937ec8376538cc60628f9d8e25486fc6e4421dd8461a9a085f51540e1d5203ccf85007adf1a978a23da9ac39cc486d698967412eeb3f2a793 diff --git a/dev-python/hypothesis/hypothesis-5.37.5.ebuild b/dev-python/hypothesis/hypothesis-5.37.5.ebuild deleted file mode 100644 index 18d37e55ce1b..000000000000 --- a/dev-python/hypothesis/hypothesis-5.37.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - local -x PYTHONPATH="${BUILD_DIR}/install/lib" - esetup.py install \ - --root="${BUILD_DIR}/install" \ - --install-lib=lib - - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-5.41.1.ebuild b/dev-python/hypothesis/hypothesis-5.41.1.ebuild index b817839fd0ac..dcca3c3635dc 100644 --- a/dev-python/hypothesis/hypothesis-5.41.1.ebuild +++ b/dev-python/hypothesis/hypothesis-5.41.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="cli test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-5.41.4.ebuild b/dev-python/hypothesis/hypothesis-5.41.4.ebuild index 30e83a217730..7cd8e4bcc527 100644 --- a/dev-python/hypothesis/hypothesis-5.41.4.ebuild +++ b/dev-python/hypothesis/hypothesis-5.41.4.ebuild @@ -48,11 +48,7 @@ python_prepare() { } python_test() { - local -x PYTHONPATH="${BUILD_DIR}/install/lib" - esetup.py install \ - --root="${BUILD_DIR}/install" \ - --install-lib=lib - + distutils_install_for_testing --via-root pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.35.4.ebuild b/dev-python/hypothesis/hypothesis-5.41.5.ebuild index 50aca5993567..7cd8e4bcc527 100644 --- a/dev-python/hypothesis/hypothesis-5.35.4.ebuild +++ b/dev-python/hypothesis/hypothesis-5.41.5.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" IUSE="cli test" RESTRICT="!test? ( test )" @@ -48,6 +48,7 @@ python_prepare() { } python_test() { + distutils_install_for_testing --via-root pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.36.2.ebuild b/dev-python/hypothesis/hypothesis-5.43.0.ebuild index 50437757f39e..7cd8e4bcc527 100644 --- a/dev-python/hypothesis/hypothesis-5.36.2.ebuild +++ b/dev-python/hypothesis/hypothesis-5.43.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" IUSE="cli test" RESTRICT="!test? ( test )" @@ -48,6 +48,7 @@ python_prepare() { } python_test() { + distutils_install_for_testing --via-root pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.41.2.ebuild b/dev-python/hypothesis/hypothesis-5.43.1.ebuild index b817839fd0ac..7cd8e4bcc527 100644 --- a/dev-python/hypothesis/hypothesis-5.41.2.ebuild +++ b/dev-python/hypothesis/hypothesis-5.43.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" IUSE="cli test" RESTRICT="!test? ( test )" @@ -48,6 +48,7 @@ python_prepare() { } python_test() { + distutils_install_for_testing --via-root pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.41.0.ebuild b/dev-python/hypothesis/hypothesis-5.43.2.ebuild index b817839fd0ac..7cd8e4bcc527 100644 --- a/dev-python/hypothesis/hypothesis-5.41.0.ebuild +++ b/dev-python/hypothesis/hypothesis-5.43.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" IUSE="cli test" RESTRICT="!test? ( test )" @@ -48,6 +48,7 @@ python_prepare() { } python_test() { + distutils_install_for_testing --via-root pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.43.3.ebuild b/dev-python/hypothesis/hypothesis-5.43.3.ebuild new file mode 100644 index 000000000000..a4814b9ee7d7 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.43.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..9}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing --via-root + pytest -vv tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} |