diff options
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 27 | ||||
-rw-r--r-- | dev-python/hypothesis/files/hypothesis-3.74.3-no-werror.patch | 12 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-3.59.1.ebuild | 37 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.15.0.ebuild | 6 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.47.5.ebuild | 6 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.50.8.ebuild | 6 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.55.4.ebuild (renamed from dev-python/hypothesis/hypothesis-4.53.1.ebuild) | 7 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.57.1.ebuild (renamed from dev-python/hypothesis/hypothesis-4.53.2.ebuild) | 9 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.1.4.ebuild (renamed from dev-python/hypothesis/hypothesis-4.44.2.ebuild) | 15 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.1.5.ebuild (renamed from dev-python/hypothesis/hypothesis-3.74.3.ebuild) | 38 | ||||
-rw-r--r-- | dev-python/hypothesis/metadata.xml | 9 |
11 files changed, 67 insertions, 105 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index f0854b077672..9fbe71c4301d 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,18 +1,15 @@ -AUX hypothesis-3.74.3-no-werror.patch 646 BLAKE2B d398319202a662d87018d99919ba0745d628c08afae85fda67113555f61babd83cae5dee7a79b224d7aa5ead73f29a91441f0de27086b9a4f74a3b53dda05be1 SHA512 d25646d35b94dc19b8c9c7a97601a7666ca6140b6a22a4f6b0bf232a7bd3a75c533f53feb9758cc8d5c9189163a0d90149f57c08dd945b763c0920aa361f2bbc -DIST hypothesis-python-3.59.1.tar.gz 500529 BLAKE2B 5c171045e363f2337d7ca30797b9fc7f96430c805dd4b3ec78fe927247d2c2ba4a216789a82f1e956b89d66c5ecdb2050a5f93467f2d557a05d1d48507fc06db SHA512 c3aad4cc54152963806e09af5f351e60e30cd64ad48ba3d922451b10dbb1747ea3e5d432ebc611dcb0646687d7e8755051b967304e74798d091be0b2901c832f -DIST hypothesis-python-3.74.3.tar.gz 552616 BLAKE2B e19a0991e7ae2fa6208c81d336cc66e3392bb78663f567fe28b570a1463a5359ccf713776f1f9cbd19a27a53b9a71a5be6eedfa05599fa12c047c373aa339592 SHA512 f4927d6e908a9222fa06f82ad6e4cf90c62a0a3d0c7632c17ee57a3705239901fcb5dbbcfca402c153bf2bea9dde0e51c852d2024ed5a236888327963fe13a3e DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7 -DIST hypothesis-python-4.44.2.tar.gz 3240386 BLAKE2B 3fe3295ba1f7401e1fb74af894d91eda525f8ef51eb893f1f8e5224cead8572f3c06f6a4bb345c123e56ed06d0676c85dc4477a80e54480baa6bd9f5f2bc069e SHA512 bebc5da337fa74a75d08cb57531c2f6b8ba1ab16d1a3d9be8348cd56ada1ab25a34e3b812a4aa71bf172bc97ebc8df0accdad37466f9162c3f8f2a8edbea9da9 DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545 -DIST hypothesis-python-4.53.1.tar.gz 6815720 BLAKE2B 6a569bdb003efd4fe12f074ec15b5a7d5d92af3ffadd9a7cecc8cb4eaa9ecc4ef206151408c7c78617235658c9725f3e5fe6b33668757e74dbf0c8640ac141a4 SHA512 56839be12656d5a970e0d9b97ec3e7b8aa600b88bfb53d09c09270ccf5abcf5f25ec7c33b01c5c30a1a5450903b919dbff2b1e709937000ebcf434235310a8c9 -DIST hypothesis-python-4.53.2.tar.gz 6815827 BLAKE2B 219ef79b8575f835e5df835a25354041007d44fd517c0f38b1686f5a74660b8f489eb6ceb9ae9a48f67792ec62058647ce76e62c156400fa0de808b03ad41630 SHA512 d2ff624c10e13ff040bdf05b9082f37b2e7529bb9cc98f3972f8240d3802a034580720983e98b7ba6165a98e64ac5692b1e14f5c490f8aabdb9ea7c19364b66f -EBUILD hypothesis-3.59.1.ebuild 1145 BLAKE2B f42287ae99cacb4ef4b117a48587b18965b6d84bd2c15901897876e1cf8db6755d0c032863d7aae0e8d56a5e8205bd941dde5e4058bd543bbeb6efce7e64c3bd SHA512 08331c50fc7e3169b94cb3ed32c95dba578915bb293afba510207a03733c2170a69f6d61b900d6a85d9b88a1a5566896bba4ed3950139d341cdd746e6fa503f4 -EBUILD hypothesis-3.74.3.ebuild 1599 BLAKE2B 595579389557f85fa0902229be998b9ca0a366b54b33ad6162d120552eafa3420eb614fb73d232bf9c56d26b0f6eb91043ceb4a636da600e8903dc4539011604 SHA512 7b39b0dcbe2e3a263fddf52641b5e9e497830170d4f6e0f190fb8c1e895127dea2a1aa022b05606e89f5b07289dd981dd82c5b6b8ca912296530c83d67bf264f -EBUILD hypothesis-4.15.0.ebuild 1483 BLAKE2B 8eea3ac62a7096a761a7cc1ede4999d23bac38c1a53190ed39946d6c8507a86dbc8c418b4acc304e2ca1a7d62aefc236c5b5985e0a8a97df40fa204c9afc50d1 SHA512 50e771884ad665bc4fe3038fd4cf35291672e6c46e91c758507cc2805527d2c9f0497606fc4497c52f03c3a8aec3c7aff8458710a7b6c73c447bb8579c6448a6 -EBUILD hypothesis-4.44.2.ebuild 1698 BLAKE2B a8371d3017c0f419e1481ee3a4ab8389cece64bcb93151b986303426e9976d6a684ba32d27f64fcf3a3e5953a85edbee1ca7df1e227daf24c4d700064e70e989 SHA512 413f1ef75237aa1581e433aea1adb38a9de65a1922b88b77ec634cf312924452b50998e3fc31c124e1ac1ce9dc98581edf75b4458a98b1999b89e4df0f01d4a2 -EBUILD hypothesis-4.47.5.ebuild 1729 BLAKE2B 7abbcc34b1fadb73a8c0aa2507bca2090ab4e6a30ba47ac90095f259be56cf38637d340c896f70706e176edc09bcc6f8230e44504a04a8e8ece13bcf3010ba9f SHA512 767d819d7ccb0c8cb27a373415a662169d08510582e20255ebf1cbdd4bda55780ffc476ac18948c9ed0d80193c689223a9ff6d4e2b1eccd2fe2a75f4bb245870 -EBUILD hypothesis-4.50.8.ebuild 1729 BLAKE2B 7abbcc34b1fadb73a8c0aa2507bca2090ab4e6a30ba47ac90095f259be56cf38637d340c896f70706e176edc09bcc6f8230e44504a04a8e8ece13bcf3010ba9f SHA512 767d819d7ccb0c8cb27a373415a662169d08510582e20255ebf1cbdd4bda55780ffc476ac18948c9ed0d80193c689223a9ff6d4e2b1eccd2fe2a75f4bb245870 -EBUILD hypothesis-4.53.1.ebuild 1729 BLAKE2B 7abbcc34b1fadb73a8c0aa2507bca2090ab4e6a30ba47ac90095f259be56cf38637d340c896f70706e176edc09bcc6f8230e44504a04a8e8ece13bcf3010ba9f SHA512 767d819d7ccb0c8cb27a373415a662169d08510582e20255ebf1cbdd4bda55780ffc476ac18948c9ed0d80193c689223a9ff6d4e2b1eccd2fe2a75f4bb245870 -EBUILD hypothesis-4.53.2.ebuild 1729 BLAKE2B 7abbcc34b1fadb73a8c0aa2507bca2090ab4e6a30ba47ac90095f259be56cf38637d340c896f70706e176edc09bcc6f8230e44504a04a8e8ece13bcf3010ba9f SHA512 767d819d7ccb0c8cb27a373415a662169d08510582e20255ebf1cbdd4bda55780ffc476ac18948c9ed0d80193c689223a9ff6d4e2b1eccd2fe2a75f4bb245870 -MISC metadata.xml 379 BLAKE2B 3623a13a813bf71f9474fa018b2f83392ec168193b9853cabcf112267d38e7278e97a415bb8b7e52f9ebb28864b8709a64996dcb0d97e1f03b3ecb31a944d74d SHA512 40bb5c1916d9027ff81cd32073de34753a30d8430f36d0fd16667a111af8fd222379dcd817edd723d362f5ff5578ad7b212f98388c00de6dff1a64bd2c3978b0 +DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b82ce2f9b42e7391beae8f67debdf50494e662f07bf109274d4e29fcf3a1c1c944597cde2a4ff9e7ca65a48f1244c3205f365af SHA512 91d7d2cda32fd40d5368fdd1e60b990b8307573782d822113b6817a5c0b670610693a2f2b013f828913549946fa3dc15f45303bf7d3226bdc1e4527bc18981fb +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 +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 +EBUILD hypothesis-4.55.4.ebuild 1719 BLAKE2B e3021ac093126b60814311860311efc7d60a992b7b08031586e5e7c39d1ec20617fd756088d5d66a1f18ce16f96348c46589992d60d25776be6b7266014b1a5b SHA512 c83975840094233883fcdf731fccdf3d5201cb23b3c7268dde4395e8e8ac8089c0085ef3e01b47dd1e51946277892da358a847d71bb7ad243190778fabecb366 +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 +MISC metadata.xml 643 BLAKE2B f8871008e348f0d703ddbee0ce13928f14800f3c10a9f440e9afaa881ee8eb916aed20112469a40d6f7bd899848aa70a36de1d857374fd32fa6b127888be0cb2 SHA512 618ee045f44c096c6402a549ac2ec3abbff25aa76e511c326f8a8ea470bb33a1e5cb1bb1b7b4e149c911ccbd08f69ff72b99edcd92fe9e1237055515b19bd514 diff --git a/dev-python/hypothesis/files/hypothesis-3.74.3-no-werror.patch b/dev-python/hypothesis/files/hypothesis-3.74.3-no-werror.patch deleted file mode 100644 index 1e09133c6fb3..000000000000 --- a/dev-python/hypothesis/files/hypothesis-3.74.3-no-werror.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- hypothesis-python/tests/common/setup.py 2018-10-09 15:41:19.106029968 +0200 -+++ hypothesis-python/tests/common/setup.py 2018-10-09 15:42:09.464413825 +0200 -@@ -33,6 +33,9 @@ - filterwarnings('ignore', category=ImportWarning) - filterwarnings('ignore', category=FutureWarning, module='pandas._version') - -+ # Fixed in recent versions but allowed by pytest=3.0.0; see #1630 -+ filterwarnings('ignore', category=DeprecationWarning, module='pluggy') -+ - # See https://github.com/numpy/numpy/pull/432 - filterwarnings('ignore', message='numpy.dtype size changed') - filterwarnings('ignore', message='numpy.ufunc size changed') diff --git a/dev-python/hypothesis/hypothesis-3.59.1.ebuild b/dev-python/hypothesis/hypothesis-3.59.1.ebuild deleted file mode 100644 index 68b87fdf87e9..000000000000 --- a/dev-python/hypothesis/hypothesis-3.59.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) -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" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" -IUSE="" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)" - -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -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 "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-4.15.0.ebuild b/dev-python/hypothesis/hypothesis-4.15.0.ebuild index 28eac10d0e99..80f9e91406fc 100644 --- a/dev-python/hypothesis/hypothesis-4.15.0.ebuild +++ b/dev-python/hypothesis/hypothesis-4.15.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -14,7 +14,7 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-4.47.5.ebuild b/dev-python/hypothesis/hypothesis-4.47.5.ebuild index 3def9e851218..7d204a43369c 100644 --- a/dev-python/hypothesis/hypothesis-4.47.5.ebuild +++ b/dev-python/hypothesis/hypothesis-4.47.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -14,7 +14,7 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-4.50.8.ebuild b/dev-python/hypothesis/hypothesis-4.50.8.ebuild index 3def9e851218..ed9f59113c75 100644 --- a/dev-python/hypothesis/hypothesis-4.50.8.ebuild +++ b/dev-python/hypothesis/hypothesis-4.50.8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -14,7 +14,7 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-4.53.1.ebuild b/dev-python/hypothesis/hypothesis-4.55.4.ebuild index 3def9e851218..996a19c65c46 100644 --- a/dev-python/hypothesis/hypothesis-4.53.1.ebuild +++ b/dev-python/hypothesis/hypothesis-4.55.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -14,13 +14,14 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/hypothesis-4.53.2.ebuild b/dev-python/hypothesis/hypothesis-4.57.1.ebuild index 3def9e851218..f88fa930f933 100644 --- a/dev-python/hypothesis/hypothesis-4.53.2.ebuild +++ b/dev-python/hypothesis/hypothesis-4.57.1.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -14,16 +15,16 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/hypothesis-4.44.2.ebuild b/dev-python/hypothesis/hypothesis-5.1.4.ebuild index f4686aaabd7a..24078c547ce7 100644 --- a/dev-python/hypothesis/hypothesis-4.44.2.ebuild +++ b/dev-python/hypothesis/hypothesis-5.1.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -11,16 +11,17 @@ 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] @@ -29,11 +30,10 @@ BDEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] >=dev-python/pytest-4.3[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 ) " -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - src_prepare() { # avoid pytest-xdist dep for one test sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ @@ -42,8 +42,7 @@ src_prepare() { } python_test() { - local pyver=$(python_is_python3 && echo 3 || echo 2) - pytest -vv tests/cover tests/pytest tests/py${pyver} || + pytest -vv tests/cover tests/pytest tests/quality || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/hypothesis/hypothesis-3.74.3.ebuild b/dev-python/hypothesis/hypothesis-5.1.5.ebuild index 26a6aa58bddf..963f87ee74a0 100644 --- a/dev-python/hypothesis/hypothesis-3.74.3.ebuild +++ b/dev-python/hypothesis/hypothesis-5.1.5.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 eutils @@ -11,35 +12,38 @@ 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="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -CDEPEND=" - >=dev-python/attrs-16.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] " -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" test? ( - dev-python/flaky[${PYTHON_USEDEP}] + ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-4.3[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 ) " -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -# See https://github.com/HypothesisWorks/hypothesis/issues/1630 -PATCHES=( ${FILESDIR}/${P}-no-werror.patch ) +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 tests/cover/test_testdecorators.py || die "Tests fail with ${EPYTHON}" + pytest -vv tests/cover tests/pytest tests/quality || + die "Tests fail with ${EPYTHON}" } pkg_postinst() { diff --git a/dev-python/hypothesis/metadata.xml b/dev-python/hypothesis/metadata.xml index 3b9d8f1161a1..51edf873f002 100644 --- a/dev-python/hypothesis/metadata.xml +++ b/dev-python/hypothesis/metadata.xml @@ -1,6 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <!-- + This package has a very frequent release cycle which makes + it hard to track stable candidates. Please do not bump it + without my approval. + --> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> |