From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- dev-python/pytest/Manifest | 18 ++++---- dev-python/pytest/pytest-3.10.1.ebuild | 8 ++-- dev-python/pytest/pytest-4.5.0.ebuild | 8 ++-- dev-python/pytest/pytest-4.6.6.ebuild | 75 ---------------------------------- dev-python/pytest/pytest-4.6.7.ebuild | 75 ---------------------------------- dev-python/pytest/pytest-4.6.8.ebuild | 75 ++++++++++++++++++++++++++++++++++ dev-python/pytest/pytest-4.6.9.ebuild | 75 ++++++++++++++++++++++++++++++++++ dev-python/pytest/pytest-5.3.0.ebuild | 67 ------------------------------ dev-python/pytest/pytest-5.3.1.ebuild | 67 ------------------------------ dev-python/pytest/pytest-5.3.2.ebuild | 66 ++++++++++++++++++++++++++++++ 10 files changed, 232 insertions(+), 302 deletions(-) delete mode 100644 dev-python/pytest/pytest-4.6.6.ebuild delete mode 100644 dev-python/pytest/pytest-4.6.7.ebuild create mode 100644 dev-python/pytest/pytest-4.6.8.ebuild create mode 100644 dev-python/pytest/pytest-4.6.9.ebuild delete mode 100644 dev-python/pytest/pytest-5.3.0.ebuild delete mode 100644 dev-python/pytest/pytest-5.3.1.ebuild create mode 100644 dev-python/pytest/pytest-5.3.2.ebuild (limited to 'dev-python/pytest') diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index ea7ae9e8f099..e436fd54790f 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,14 +1,12 @@ AUX pytest-4.5.0-strip-setuptools_scm.patch 674 BLAKE2B 4eab3e26423d81614223a88a0124dc4f35892b18ecbcce34280a00774012822fced0045ac7113a50f8f88d042b88e404dbf4d8d3760140c66a48daa3da2a44c6 SHA512 d34d7c1db57804f0d1ff71f3f51c9a736592945fdf564f54c0c20c398c86f08616eb21f75d77457a71738df4d254ec3d69e46aa3378dea6f7913933bcdf45c08 DIST pytest-3.10.1.tar.gz 892420 BLAKE2B 38849ae69bf4380bc1a99aa105cac04be078da4460373dfc16fa555238b2830fa2f5ae6c19de8aa2af9ac18d87c5d2705d62f7b2e67e4a62d843f6a28bbd76fd SHA512 30ff79c0fdcbeef68e1191ff400a20428e391717f06957f554b694b94baaaa565dca01346fe989c3e443c4402f3b2bdbd5564f6303a4447f933fb54cba45628f DIST pytest-4.5.0.tar.gz 943607 BLAKE2B 49a0e91fda7f4231fdd39f90eb2daa344d3034c10faff221330ea0ae7482a2a7d0fb9443a0a264db00f1d92568d5a6005cb73e07d8643b46906f7ecff831adcb SHA512 cbffc6216f83491b1de241058315c116697bfaa5206b5f558192a7f861d43dd036d30d0d689bedae7bdee4f0258dd19ef5827c356e11863dd596a5fabe8249fc -DIST pytest-4.6.6.tar.gz 954899 BLAKE2B d3d76ec1fff18d343cc799f1acd0889489f303cdba72747881dfab8656599bc1865f01b5ad2754f0d05bda04aca4d7edf8c2071f2257fdf41506308d1bc0f623 SHA512 c5b6c21c352787eadce06be7529ecb6f6fd5f5eb193ec29e5a4cfff3d7e305f50c6f07aeac15bddce007d88077a35a8f59633111815321792ed3d9fa1011b684 -DIST pytest-4.6.7.tar.gz 955616 BLAKE2B eb2276e715bab176fe4e497a51779d82b7146704749b33ebdc9dc07a0fcad144252553280a7bbbbcf23c6862fb74f1faf75de42ed0f5295ecd287fc10ac287a0 SHA512 d284cef48c0e39c901d23cd63949cc1d8b8cf01c3039fd2bfd99275bf6a45532c955e1176d556a7e2198e6206830e6dc4f4fb22c143ff7e08de6ffbfb6079fd1 -DIST pytest-5.3.0.tar.gz 992537 BLAKE2B 4386d1623bdc168313a75847dfa33413ab1b6a4de9380c67ae866a579dbeb62d8cd18da899bf0476827d6e4a76ddfc5fee7a2fdc652eff0c8848c0bd96045c47 SHA512 285d0b4f6b87b141d6d5dac368dc46eb80dd025d7ed4ad0db937fcc76efc1f8cf251ca9b0786ab1bdadd89c07ad8ddd74f2b3496f97326e9d7fccfd004b98aff -DIST pytest-5.3.1.tar.gz 994584 BLAKE2B 3831902684d935389b4684af1279a5834edbbe846f8fdb1ce1e64990ab65d6fe8ed3cf5daa446cd20daafe9eedc6f57e01b16d74a55631ab746750a73056640d SHA512 e949a516c064a7050a0ad15356cc0bf25e4840e830f03e1925530c8a2dd9903d7632e55535894474422ba86fd9ed7a397c483d98dad297990b7b49456147189e -EBUILD pytest-3.10.1.ebuild 2457 BLAKE2B 7da16cfafd27b53e17aba28a0d5126b1dd9881f2d645edd4142934bd5b6c41b1e478d5fd0fea875321c9663e066973f41838abff744dc1765146c327b68cf821 SHA512 5614e616273ba510196fb6e1c2bd64ff4bb2e4d201469aea34502edb643aec98fc0e8e355a9cfd3c8a1922c8763ae775758c77bf15ad1fa9634dec25aa65f298 -EBUILD pytest-4.5.0.ebuild 2104 BLAKE2B a29a19fc2d165cb9d267512ea66e045c251a6efa124c1885245818491139554464bc90b7265b8dd727375a5ceeff7cf7ccb06da698c9833701979e6708873954 SHA512 45ffd24a3f84046df4159b1b148725b44a9bec95affd26a2dc4386ffe69420f3ac5818d7cc435f1781f1147777a5403686380fed126b8e8fcd54db894a8094fe -EBUILD pytest-4.6.6.ebuild 2287 BLAKE2B 2f83b06ed1a50390c5c98374d3059aeb071986c43cdc5b6f485fb2f3a12635a9c94d02ef706fbec944b5e645f6cf8e95795b7c3aa9dbea95c81fbecca8408ee2 SHA512 a7313c7476ebc5931f76001f9eaf7b532fd726c370e85e1209041543a79ef39d4af29fb637809a903730f99b50386db28ee45e8a8c735f312d3909453897074e -EBUILD pytest-4.6.7.ebuild 2287 BLAKE2B 2f83b06ed1a50390c5c98374d3059aeb071986c43cdc5b6f485fb2f3a12635a9c94d02ef706fbec944b5e645f6cf8e95795b7c3aa9dbea95c81fbecca8408ee2 SHA512 a7313c7476ebc5931f76001f9eaf7b532fd726c370e85e1209041543a79ef39d4af29fb637809a903730f99b50386db28ee45e8a8c735f312d3909453897074e -EBUILD pytest-5.3.0.ebuild 1888 BLAKE2B 03cb4634216a6d58295741b3fa6ac76a27386d18209ed89d8cacf0e7dafb840bbc918bf566ac080f4d736a8f277ed9ea026ccb737cae4194f72d6c4714223e64 SHA512 d5ccf8e993730b77d3f343c03b702214a10dbff7b7bcce32d0c7343eb1bc85a403f7007dccf9250888f58c245c277b154c7a5b77e0174a9541c4b38724e47299 -EBUILD pytest-5.3.1.ebuild 1888 BLAKE2B 03cb4634216a6d58295741b3fa6ac76a27386d18209ed89d8cacf0e7dafb840bbc918bf566ac080f4d736a8f277ed9ea026ccb737cae4194f72d6c4714223e64 SHA512 d5ccf8e993730b77d3f343c03b702214a10dbff7b7bcce32d0c7343eb1bc85a403f7007dccf9250888f58c245c277b154c7a5b77e0174a9541c4b38724e47299 +DIST pytest-4.6.8.tar.gz 956062 BLAKE2B f28e3226c7dfe4188168cfdf9623c96d0b274a2476f0d3132c24367e4566abd2e0b496114f229b6f26ae53a67d1ea1f9cb64795f4f9710fc9fe0852991467aef SHA512 b396b200a8a13ec9df8dbc4dd64bb05638b26af9ad6b24cbea3c3de4d806665b63a1488c7359b12c5634d014d45b43c8c208f0e329c62266882a87c492e80b58 +DIST pytest-4.6.9.tar.gz 956816 BLAKE2B 7eaeaa0d47c17836a35d9cdc97663f8ef65253099b21d60a7ffc3655d8bd93c6b4e33045caa6c8ab9bb8b920b93e596ba86d8eac4ab07b3b7a5989b38312f4fc SHA512 ab45a8662aa798a6ae224ad2cd68e043c605e4830c76cb6c6aca3cfccef232c024cbbb6c48c9bae19148099c339abfef3270a2208cc7e5c37a10b34b0aa6ba79 +DIST pytest-5.3.2.tar.gz 995560 BLAKE2B aaea9d89e884a82056eeea3068c70604c73d50c96b8d78c6ee14c67bbe066f0e6d882c1b8f95539a2338d6739e047680d901a9db108b1923fa4d3d03dc3f2115 SHA512 2ab39973848d2d4693edd1dbd7ab2798b574026c9277bddd4a18e57aec65b3d93de201e87f58eb26030183b5c71818e6e56bcc1cda8c50892546cb1c04d6984a +EBUILD pytest-3.10.1.ebuild 2439 BLAKE2B 87a014393086daafd595ea8e94f1401ed79628b8c5e0a0715944e087592454f15a56eaebc953f1166178acff243701add12e376953999c55327f4681423ad067 SHA512 7e83d437cec4d3f7e0d834595dd1de605ed152e1f90384163eebd1d09a7648d43d872c623b02433bfc743bef8370973444480a97fb19af786806d5cb3c200ed6 +EBUILD pytest-4.5.0.ebuild 2087 BLAKE2B 5885f2b8e0b1d7954c0bf7682cd8ee8dd94d09a3d1b6f151ebb543a0ac17b84b9822d3497f7c89699011f250221ab440b5de73049c80974ef4332550f091dc9d SHA512 b4cea619b2f9ceaeb5b3411aff6d8d802ab831ac7c56fe5f244938043b514af84820fb0589800d971caa8674efb5460a98d0963259e45b4007cc715e813d3bc8 +EBUILD pytest-4.6.8.ebuild 2272 BLAKE2B 82dad69a74cdbcfc4ba788c69c7718608aab9e81eee8b0f35bede097597274ca5ab3280f450d6c71aadf8837fc4d0978e8cca2df83ff372e121acdb78000f8ea SHA512 a4664b2de0c77a2ac0046684cf77646ed6638d6faa07742e3662fb0273b9bee40a25dc50b82089ff97745efb8064c927eae4a7b609ec0107f6293efa7275d365 +EBUILD pytest-4.6.9.ebuild 2272 BLAKE2B 82dad69a74cdbcfc4ba788c69c7718608aab9e81eee8b0f35bede097597274ca5ab3280f450d6c71aadf8837fc4d0978e8cca2df83ff372e121acdb78000f8ea SHA512 a4664b2de0c77a2ac0046684cf77646ed6638d6faa07742e3662fb0273b9bee40a25dc50b82089ff97745efb8064c927eae4a7b609ec0107f6293efa7275d365 +EBUILD pytest-5.3.2.ebuild 1793 BLAKE2B 393b1a8d230062d04091436d55d5819f7f038bbc6eed96935109e7f6a42ce3e964e2b7069694ef48c7340c195af7d7258c554e8ce39b247bd8cdb0eb82266400 SHA512 78c659615a398d6e7a98408f2785f161b9f841f277050e952e96aba0817e82fddf456e1ca4da9d74f4c37d193733d05c0ff11d2f16fcaecbb383a62818239c5e MISC metadata.xml 309 BLAKE2B f29391c5f96f44f6329d3665346a5d46ecb4a86d103ae8008769af86126756e76bfa89cfe462e9c219e5f70b64013f662d020c7a2f6015d8cadd0eb25a7614eb SHA512 ba53c13ac716488e3e5dadf5dcfcb697dc9bb13f89e9d0fb98b9a5a6e36cafeeb64d1348008f42497117bf46fb6f3bc288c10a68c4d5ab53c9c02a3ae61b594f diff --git a/dev-python/pytest/pytest-3.10.1.ebuild b/dev-python/pytest/pytest-3.10.1.ebuild index 551cebba719d..622bcb9bb453 100644 --- a/dev-python/pytest/pytest-3.10.1.ebuild +++ b/dev-python/pytest/pytest-3.10.1.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 ) inherit distutils-r1 @@ -27,8 +27,8 @@ RDEPEND=" >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] $(python_gen_cond_dep '>=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]' python2_7 ) $(python_gen_cond_dep '=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]' python3_{5,6,7} pypy{,3} ) - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7 python3_5 ) + $(python_gen_cond_dep '>=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]' python3_{6,7} pypy{,3} ) + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7) >=dev-python/pluggy-0.7[${PYTHON_USEDEP}] >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] >=dev-python/setuptools-40[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/pytest-4.5.0.ebuild b/dev-python/pytest/pytest-4.5.0.ebuild index b0e9367f6a39..f9bfdba1a65a 100644 --- a/dev-python/pytest/pytest-4.5.0.ebuild +++ b/dev-python/pytest/pytest-4.5.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 ) inherit distutils-r1 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" @@ -26,7 +26,7 @@ RDEPEND=" >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7 python3_5 ) + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7) >=dev-python/pluggy-0.11[${PYTHON_USEDEP}] =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/pytest-4.6.6.ebuild b/dev-python/pytest/pytest-4.6.6.ebuild deleted file mode 100644 index 4f85c1855b6c..000000000000 --- a/dev-python/pytest/pytest-4.6.6.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 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} ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.5.0" - -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ -# support, which only came in py3.6. -RDEPEND=" - >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \ - -2 python3_{5,6,7} pypy3) - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2 python3_5) - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" - -# flake cause a number of tests to fail -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - !!dev-python/flaky - )" - -PATCHES=( - "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch" -) - -python_prepare_all() { - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Something in the ebuild environment causes this to hang/error. - # https://bugs.gentoo.org/598442 - rm testing/test_pdb.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # In v4.1.1, pytest started being picky about its own verbosity options. - # running pytest on itself with -vv made 3 tests fail. This is why we don't - # have it below. - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ - || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest/pytest-4.6.7.ebuild b/dev-python/pytest/pytest-4.6.7.ebuild deleted file mode 100644 index 4f85c1855b6c..000000000000 --- a/dev-python/pytest/pytest-4.6.7.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 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} ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.5.0" - -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ -# support, which only came in py3.6. -RDEPEND=" - >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \ - -2 python3_{5,6,7} pypy3) - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2 python3_5) - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" - -# flake cause a number of tests to fail -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - !!dev-python/flaky - )" - -PATCHES=( - "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch" -) - -python_prepare_all() { - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Something in the ebuild environment causes this to hang/error. - # https://bugs.gentoo.org/598442 - rm testing/test_pdb.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # In v4.1.1, pytest started being picky about its own verbosity options. - # running pytest on itself with -vv made 3 tests fail. This is why we don't - # have it below. - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ - || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest/pytest-4.6.8.ebuild b/dev-python/pytest/pytest-4.6.8.ebuild new file mode 100644 index 000000000000..5267018ca93a --- /dev/null +++ b/dev-python/pytest/pytest-4.6.8.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE="http://pytest.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# When bumping, please check setup.py for the proper py version +PY_VER="1.5.0" + +# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ +# support, which only came in py3.6. +RDEPEND=" + >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \ + -2 python3_{5,6,7} pypy3) + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}]" + +# flake cause a number of tests to fail +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + !!dev-python/flaky + )" + +PATCHES=( + "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch" +) + +python_prepare_all() { + grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" + + # Something in the ebuild environment causes this to hang/error. + # https://bugs.gentoo.org/598442 + rm testing/test_pdb.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # In v4.1.1, pytest started being picky about its own verbosity options. + # running pytest on itself with -vv made 3 tests fail. This is why we don't + # have it below. + "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/pytest/pytest-4.6.9.ebuild b/dev-python/pytest/pytest-4.6.9.ebuild new file mode 100644 index 000000000000..5267018ca93a --- /dev/null +++ b/dev-python/pytest/pytest-4.6.9.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE="http://pytest.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# When bumping, please check setup.py for the proper py version +PY_VER="1.5.0" + +# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ +# support, which only came in py3.6. +RDEPEND=" + >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \ + -2 python3_{5,6,7} pypy3) + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}]" + +# flake cause a number of tests to fail +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + !!dev-python/flaky + )" + +PATCHES=( + "${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch" +) + +python_prepare_all() { + grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" + + # Something in the ebuild environment causes this to hang/error. + # https://bugs.gentoo.org/598442 + rm testing/test_pdb.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # In v4.1.1, pytest started being picky about its own verbosity options. + # running pytest on itself with -vv made 3 tests fail. This is why we don't + # have it below. + "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/pytest/pytest-5.3.0.ebuild b/dev-python/pytest/pytest-5.3.0.ebuild deleted file mode 100644 index 9795396ca686..000000000000 --- a/dev-python/pytest/pytest-5.3.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.5.0" - -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ -# support, which only came in py3.6. -RDEPEND=" - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python3_5 ) - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" - -# flake cause a number of tests to fail -DEPEND="${RDEPEND} - test? ( - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/setuptools-40[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - !!dev-python/flaky - )" - -PATCHES=( - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch -) - -python_prepare_all() { - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Something in the ebuild environment causes this to hang/error. - # https://bugs.gentoo.org/598442 - rm testing/test_pdb.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv --lsof -rfsxX \ - || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest/pytest-5.3.1.ebuild b/dev-python/pytest/pytest-5.3.1.ebuild deleted file mode 100644 index 9795396ca686..000000000000 --- a/dev-python/pytest/pytest-5.3.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.5.0" - -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ -# support, which only came in py3.6. -RDEPEND=" - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python3_5 ) - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" - -# flake cause a number of tests to fail -DEPEND="${RDEPEND} - test? ( - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/setuptools-40[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - !!dev-python/flaky - )" - -PATCHES=( - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch -) - -python_prepare_all() { - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Something in the ebuild environment causes this to hang/error. - # https://bugs.gentoo.org/598442 - rm testing/test_pdb.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv --lsof -rfsxX \ - || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest/pytest-5.3.2.ebuild b/dev-python/pytest/pytest-5.3.2.ebuild new file mode 100644 index 000000000000..3d6a7a5ab186 --- /dev/null +++ b/dev-python/pytest/pytest-5.3.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE="https://pytest.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# When bumping, please check setup.py for the proper py version +PY_VER="1.5.0" + +# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ +# support, which only came in py3.6. +RDEPEND=" + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] + >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}]" + +# flake cause a number of tests to fail +DEPEND="${RDEPEND} + test? ( + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/setuptools-40[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + !!dev-python/flaky + )" + +PATCHES=( + "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch +) + +python_prepare_all() { + grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" + + # Something in the ebuild environment causes this to hang/error. + # https://bugs.gentoo.org/598442 + rm testing/test_pdb.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" -m pytest -vv --lsof -rfsxX \ + || die "tests failed with ${EPYTHON}" +} -- cgit v1.2.3