diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-20 19:28:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-20 19:28:42 +0000 |
commit | 032a3dbb5d4ea63ec6c2ceb39c067ea6424b5792 (patch) | |
tree | d46be9dbc767750a192f7a4d505757f2eec582f3 /dev-python/hypothesis | |
parent | 6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 (diff) |
gentoo resync : 20.01.2020
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.1.6.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9fbe71c4301d..3895fad4d37d 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,6 +5,7 @@ DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b8 DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952 DIST hypothesis-python-5.1.4.tar.gz 8989696 BLAKE2B 9d85cb1473654e36a235a07d2390fc967d6d7f2944e5294dedbca15ddb3c49901b04e9277ee80ff7591aa2b81ea0e2d537051f96b685900aefab5db70d135ac6 SHA512 25d0112f7b7a13221b8b68d553f4085344f1e8681c8795fac0bcfd714400a828539298d2919d3e638979eadd5daa65ef7ee8b0b946df076145e59c8bb7058a64 DIST hypothesis-python-5.1.5.tar.gz 8989752 BLAKE2B e1dc2720fd8500436ff0ec0fadd8c7986f279be125f8cebf376349d6c6d1d28f9225cceb2fa54ab66e92c6750832dc6d157cf156980e7f58aa7251a1eff625fd SHA512 89edc57116b3c503df2f0c6d4e60637ace6a7fc5c4ece6b426362b01a0be11e79be1e95784e24d849ac120000165ff46efd78c6cb6b163aebcb2b5a8c8d4c8e1 +DIST hypothesis-python-5.1.6.tar.gz 8990038 BLAKE2B c6f1c2974d84d60da7ab7b704c8dee96bc819de3e8a237343398c0fe74191ace9cbd23299b16189eaefa936fda87d9ee8fe171f37ff39014ba59cc421b2af03c SHA512 e9049506a7da1df40dfad5bef5f270116047f3633ff27bbbd83ebf5f93b89010446c8ccd12100b033dcbf2743f0c17aabcbaf1774aeba0efc1e7483d58eaba81 EBUILD hypothesis-4.15.0.ebuild 1476 BLAKE2B a0ee1cc8df99b8aa1e039860901485dcb64f529162d3364a236332483b128f2c6253d4dabcf48696e853f90a18d9ebd930ee5aaceb890c2b3c1e17d08533846a SHA512 5ab62b67f9fecf815f5bdcfa27d9102f0cd1baed8b2a624bb912eeecb69aec047ac834d1956f521f63c78cc1d7cae3cd7623dafa6cfb9dd990a948e0e9e4c981 EBUILD hypothesis-4.47.5.ebuild 1715 BLAKE2B e11813476869c123bce76c05955412b1f6697df88060b5e9bdb205b4bca60c9042194210106b6ecb80e5465cd098821189f1dbe2c1f31d4336e7d0b2bb58abfd SHA512 54049e33fb298392b89c992bf3c73cb928716076060f4fa7b65ab8680e52dbae16ead0affdd5ccdd03550259faf5629d43b30d57a944cabeebd9751e8be41b16 EBUILD hypothesis-4.50.8.ebuild 1717 BLAKE2B 97201f02ff2fa9b0618fe299f0859ff63065a179d145c101240f72c5b2b46ceab075b7cb20d3e5e5acfdaedb62b5c1ddc117a69e9f43ffe29aec65e57a62f0bc SHA512 60ec681c4eff1ed0d84c13353ad790ce45751eda94a55434b10d67d10ab4e7af381a9157f214bb6bd79e40f8def2ef8d098ae1dcae7f85c7fb27563afe728363 @@ -12,4 +13,5 @@ EBUILD hypothesis-4.55.4.ebuild 1719 BLAKE2B e3021ac093126b60814311860311efc7d60 EBUILD hypothesis-4.57.1.ebuild 1711 BLAKE2B 439cc7a17ee31d84e5bd6e006ba0776c178f86d6ff23d640391892cb746690aafd3eb2109dccdb7004cdc9651cae7386b57231bf5fdc8468e683b72feb861294 SHA512 fe47bcd1a9d9cd7d8e3d106ffff5b87005758c678440b82a9508e3233a545c9d9075a474378b9e69ca62ef511a031e58892496ca76e568f4a8f50fef8dd67ab3 EBUILD hypothesis-5.1.4.ebuild 1573 BLAKE2B 48a8d18ca4b3b4a903054280ad67d99028e08312ceb9be6d9c996cfb22408f7810895e1139f42a0cd7f75e74ac555c03a26d78457cede9c78b15c67e4795c551 SHA512 0d38b8a3a4182ae256a9d0ebc909e95bc42a74ec439ed2c783064c1cd773444c1aba3b9efb29e76b8f0b29547fc69642f1ba134e1b7364bc314f906c59a03822 EBUILD hypothesis-5.1.5.ebuild 1565 BLAKE2B be414de6457f2af9a6a0bceab7bdda3a560a561a35eff503fd5e57c2155f6a7833e0c181f0f7c7aa06e0a60e439c8cee60a1ce2110b5d7113e74f4d769f724f2 SHA512 092fdd3e00d77c041470acb909a4f49091a04d238a3b92f266d48cb14995092e8ff4d0339ccbcd52bdf57dcfba0b39866c30af3fca9847da9458d178dd5ec3a0 +EBUILD hypothesis-5.1.6.ebuild 1565 BLAKE2B be414de6457f2af9a6a0bceab7bdda3a560a561a35eff503fd5e57c2155f6a7833e0c181f0f7c7aa06e0a60e439c8cee60a1ce2110b5d7113e74f4d769f724f2 SHA512 092fdd3e00d77c041470acb909a4f49091a04d238a3b92f266d48cb14995092e8ff4d0339ccbcd52bdf57dcfba0b39866c30af3fca9847da9458d178dd5ec3a0 MISC metadata.xml 643 BLAKE2B f8871008e348f0d703ddbee0ce13928f14800f3c10a9f440e9afaa881ee8eb916aed20112469a40d6f7bd899848aa70a36de1d857374fd32fa6b127888be0cb2 SHA512 618ee045f44c096c6402a549ac2ec3abbff25aa76e511c326f8a8ea470bb33a1e5cb1bb1b7b4e149c911ccbd08f69ff72b99edcd92fe9e1237055515b19bd514 diff --git a/dev-python/hypothesis/hypothesis-5.1.6.ebuild b/dev-python/hypothesis/hypothesis-5.1.6.ebuild new file mode 100644 index 000000000000..963f87ee74a0 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.1.6.ebuild @@ -0,0 +1,56 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils + +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="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-4.3[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +src_prepare() { + # avoid pytest-xdist dep for one test + sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ + tests/pytest/test_statistics.py || die + distutils-r1_src_prepare +} + +python_test() { + pytest -vv tests/cover tests/pytest tests/quality || + 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 +} |