From 957235cf19a691360c720f7913672adda4258ed0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Oct 2018 11:03:14 +0100 Subject: gentoo resync : 07.10.2018 --- dev-python/pytest/Manifest | 8 +-- dev-python/pytest/pytest-3.0.3.ebuild | 73 -------------------------- dev-python/pytest/pytest-3.4.1-r1.ebuild | 79 ---------------------------- dev-python/pytest/pytest-3.8.0.ebuild | 89 -------------------------------- dev-python/pytest/pytest-3.8.2.ebuild | 81 +++++++++++++++++++++++++++++ 5 files changed, 83 insertions(+), 247 deletions(-) delete mode 100644 dev-python/pytest/pytest-3.0.3.ebuild delete mode 100644 dev-python/pytest/pytest-3.4.1-r1.ebuild delete mode 100644 dev-python/pytest/pytest-3.8.0.ebuild create mode 100644 dev-python/pytest/pytest-3.8.2.ebuild (limited to 'dev-python/pytest') diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index d0b9a4387a2f..1e8c2f292ba1 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,15 +1,11 @@ AUX pytest-3.4.2-pypy-syntaxerror-offset.patch 996 BLAKE2B ff6d362d20f6432f73956e1aee4c2bc596e3d8e3347da3624dfd3cbfdd1eabd8872058737e8f9b558f3570878756c7b87a65514956b1e81235c2727e8ff2fc63 SHA512 4a28ddc07389aac79e46528e85229aba126a89c27b7bec73b406766be49f5c8be9bdc2cb3158bfb475b4d6371e2f33960e1ed154e3b9eda15aeb8b151f3d2148 AUX pytest-3.6.3-pypy-syntaxerror-offset.patch 1055 BLAKE2B 8a92e1300052ed7f178252489d4b687d9d58d5fa9067a1f17a20ddbd698843a5614e7dd729670920a447e189b0e40ed2ae26fd13ad7d9cfebc59889c8cc50d87 SHA512 fa2600e320a74eca59004953aea0ac7607e6b7fcbcb702a5ac709dfcf73d036f47c5a79b01e56061ed6776ccaddd7a261162848218969fd1b462c5e1dd615ad3 -DIST pytest-3.0.3.tar.gz 731934 BLAKE2B 7fb57d75bd54eb8a31d9701fdf739119715c475eaaacae3cd038057c1d2bf43fa86ccdc45b3c84962708ef606976ab39ad41e0c3690c8b5f4c04d870579a384e SHA512 ec0b4a5f0d6673a339c5a70b402c004c23db7001005454329eeaea15d890f53b8f2740f6c6254499d0f915b9058bfdfa535d9f22847bb382a060d65204fce4af DIST pytest-3.2.2.tar.gz 786396 BLAKE2B e669da930890e902b0323ec3a6685080ddd889e74655f7b4cb08ec421651f987597021a31471aab5a32d637b99620ce7792cbdf8f85561db3bb10ff06a446ba1 SHA512 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db -DIST pytest-3.4.1.tar.gz 812928 BLAKE2B 27b25fcc5a268b1c92188c01bf16bf1eb4b8ced7d1a3c8095350ec55b1f1845a5d54bd6bd169142ca0d327f2f8d193774643174a356dd95fa07b3195bc1e8713 SHA512 75f728840cde6512619a03ce75fd0b04cb9d57a99f381366a0f9c10ffa3210448e7e85505357bfa9bfb0cca11cdedda2c0e091e5473ed82707a2597f234e659a DIST pytest-3.4.2.tar.gz 812719 BLAKE2B 96623d6cdea4bd79778175c18c949938505f1862010f700f9a8cb85f445910381af391a5b69e664fbbfc254bf46502c798c72026772070236a0a3bca7aeeb3d6 SHA512 787065ab76d4482799bb2da9f024c9c383e68cc1cc01f3b80f6ed9444ca6383d20953615696ed4dd01668777b094cf5002b23c4ce51828879dcf8ebf2170c71b DIST pytest-3.6.3.tar.gz 830949 BLAKE2B 4c0df5d157b8bb0ac6261a793aac2a8074c869b1a7cbda3eda600c79648b3722eaf2a57514c1fece60e0aac324b8ed09e8e889dda268619204e9e1f1637e1c9b SHA512 e18d8e972cb1b05b037b9441eea5981ce036d8e2c2bab80f6e50f283df9bd08740296133990424cf78449f6d3d2fbd1d59709770aa972af99fe061583f2d79a7 -DIST pytest-3.8.0.tar.gz 865922 BLAKE2B 821051de2c502c892841f59124f6cdbfb6f31ebd8661bf242484c7c3f687ce75f9c4eb0984f7dabed0aff44277dcbbeb9f14c4cde2f6b152aad69f3769e27bc8 SHA512 26efe2bcd6c86c55cb17a17ad3cfe0762ba5d61adf9830fe5780c0c90df65bbeb2346abb8310c6123c308ed0e641d4cf325ca9ac16dcd8994b6a636bcfd386a4 -EBUILD pytest-3.0.3.ebuild 1966 BLAKE2B 50b123408a85c5b283fe1653444472fd467272d99dc944bdf876556fe5e9aa1208e32efbc119cc95ca834bb66a50f195199efd4d04054cf3cc98530eccda710c SHA512 2d6713c361334f2af886827a0918f574512e885fe77cc5a4595ca47d31b37d32f5768989a6bb5447666c8850ca15bca73e7641414d724bb9512d70abb5ea0eba +DIST pytest-3.8.2.tar.gz 869668 BLAKE2B 91d75481e4ef36ab06654b340751a33a96b9f6187cdfc65694973e2d4d7ddc5806fe673c87f0aa442c6c657a953b36c22d288eee8f61cc002be4be803bc98111 SHA512 5420de07ff741f64bcb7fce7bf3b5097cf63be2539c2e694c168bd824ba468ca87cb17be801b72b972ab417da98d1b5473f319afd642bf5c6c0270e3a697d016 EBUILD pytest-3.2.2.ebuild 2113 BLAKE2B 1789686fa508f9629adc37e7fcd26e8a4426214b6335922927bcd8bb37c336792b564ce505c122a729edfaa53af604e4fd1be31f45c5251f0008e14c8cefb06c SHA512 1384082815df0f30e50881c89d81822575509f1333c2d3713b69ff7e3a9113c1a70fa5220d0e10bae0b5f17d844a14501e59af8c944ca4006dfeb9cd0e8616b1 -EBUILD pytest-3.4.1-r1.ebuild 2297 BLAKE2B 52af333554c85fff95f0bffe2246cd7e88a6446ddbe8dc4829600d1a018da613c4aed06e039fbd54d621ca45a3dcf454d24ae9bbe302d97c6084ea37d6641945 SHA512 5c06bedcf6b6f8df4f6bba8f5aace83a72ff530f1f0368a0a5b76f0380d02c55cf64e8645362c63f7f6efef5d49eefcdfff2423734a62acb23799a9e3c567200 EBUILD pytest-3.4.2.ebuild 2509 BLAKE2B 23b2f34e9f2923a0eb143a341f4dff40e88d4ff1bf52cd7637d9354192ebadb58c39050feb00911993f0067d60571598864e5a85644b0adb33cab722594f9ebc SHA512 1958df6b0567c547bf70789836e12929caf3e1f17ac16ebad88aac081dce949888a08efceaba04649feb8098d4373548a5d4de511a8b94d6f50eebbd1d5d7b64 EBUILD pytest-3.6.3.ebuild 2413 BLAKE2B 56d11541e919a95919ad66efa0b4603ccd61116133381fac8c5ff605fc5f3b53792b611b7c40a6428d81890134c0482fba18e13575d2ffc5f3c96e5c982dd3ae SHA512 ac4a4fe08e095f1a9012346fdfae6fb926e5db595defbf1f3f5a15ef96e7325846536e277513cf3f79242dd26dd726622686bc534e9fbe53a98fd2d9c4285cba -EBUILD pytest-3.8.0.ebuild 2605 BLAKE2B 3bb1965f31ba5627d0a6ad32bb3e84d4d96d3fd652ec2b31f8b2f5a358fb9309797944093ba2b8222c7dcf2de5725c9f8535ac45f6e5a18605a078909a4faad7 SHA512 ab74df5d15d1be647eb74cb91719d5408a4abf4795b87b5f7367c7f441f9f3b7c7e528a1d598d8999048126bff0075dc030184c49a7ec84782b03dc072b5cc06 +EBUILD pytest-3.8.2.ebuild 2445 BLAKE2B a3b8d228f33317817ddaf3e86091e17647f59279d7ec6ae34bc180c5f12aa43a1a86cc9f832112472237da897b4506daf0b97fe5e74da87028ffdb543b4f0520 SHA512 0c895d526c881e1a20d372833078efdc8ffba3bbe2b8c7d883a670ef4de431296430cf8f47bc6d2d77642b154cc44f346ead8880b891108d7bbe369e5ff1ac35 MISC metadata.xml 309 BLAKE2B f29391c5f96f44f6329d3665346a5d46ecb4a86d103ae8008769af86126756e76bfa89cfe462e9c219e5f70b64013f662d020c7a2f6015d8cadd0eb25a7614eb SHA512 ba53c13ac716488e3e5dadf5dcfcb697dc9bb13f89e9d0fb98b9a5a6e36cafeeb64d1348008f42497117bf46fb6f3bc288c10a68c4d5ab53c9c02a3ae61b594f diff --git a/dev-python/pytest/pytest-3.0.3.ebuild b/dev-python/pytest/pytest-3.0.3.ebuild deleted file mode 100644 index f6d776d3e09f..000000000000 --- a/dev-python/pytest/pytest-3.0.3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/ https://pypi.org/project/pytest/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86" -IUSE="doc test" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.4.29" -COMMON_DEPEND=" - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) -" -DEPEND="${COMMON_DEPEND} - test? ( - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}] - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" -RDEPEND="${COMMON_DEPEND} - !=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # https://bugs.gentoo.org/598442 - rm testing/test_pdb.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # test_nose.py not written to suit py3.2 in pypy3 - if [[ "${EPYTHON}" == pypy3 ]]; then - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv \ - --ignore=testing/BUILD_nose.py \ - || die "tests failed with ${EPYTHON}" - else - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}" - fi -} - -python_compile_all(){ - use doc && emake -C doc/en html -} - -python_install_all() { - use doc && HTML_DOCS=( doc/en/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pytest/pytest-3.4.1-r1.ebuild b/dev-python/pytest/pytest-3.4.1-r1.ebuild deleted file mode 100644 index d9b4a24f1a25..000000000000 --- a/dev-python/pytest/pytest-3.4.1-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" -IUSE="doc test" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.5.0" -COMMON_DEPEND=" - >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] - >=dev-python/pluggy-0.5[${PYTHON_USEDEP}] - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}] - doc? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - )" - -DEPEND="${COMMON_DEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}] - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - )" - -RDEPEND=" - ${COMMON_DEPEND} - !=${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() { - # test_nose.py not written to suit py3.2 in pypy3 - if [[ "${EPYTHON}" == pypy3 ]]; then - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ - --ignore=testing/BUILD_nose.py \ - || die "tests failed with ${EPYTHON}" - else - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}" - fi -} - -python_compile_all(){ - use doc && emake -C doc/en html -} - -python_install_all() { - use doc && HTML_DOCS=( doc/en/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pytest/pytest-3.8.0.ebuild b/dev-python/pytest/pytest-3.8.0.ebuild deleted file mode 100644 index 93cc15d8ad4b..000000000000 --- a/dev-python/pytest/pytest-3.8.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} 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 ~arm ~mips ~ppc64 ~sparc ~x86" -# doc apparently requires sphinxcontrib_trio, not yet packaged -IUSE="test" # doc - -# 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. -COMMON_DEPEND=" - >=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_{4,5} ) - >=dev-python/pluggy-0.7[${PYTHON_USEDEP}] - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" - -# doc? ( -# dev-python/pyyaml[${PYTHON_USEDEP}] -# dev-python/sphinx[${PYTHON_USEDEP}] -# )" - -# flake & pytest-capturelog cause a number of tests to fail -DEPEND="${COMMON_DEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.22.2[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - !!dev-python/flaky - !!dev-python/pytest-capturelog - )" - -RDEPEND=" - ${COMMON_DEPEND} - !=${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 - - # those tests appear to hang with python3.5+; TODO: investigate why - sed -i -e 's:test_runtest_location_shown_before_test_starts:_&:' \ - testing/test_terminal.py || die - sed -i -e 's:test_trial_pdb:_&:' testing/test_unittest.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ - -vv testing || die "tests failed with ${EPYTHON}" -} - -#python_compile_all() { -# use doc && emake -C doc/en html -#} -# -#python_install_all() { -# use doc && HTML_DOCS=( doc/en/_build/html/. ) -# distutils-r1_python_install_all -#} diff --git a/dev-python/pytest/pytest-3.8.2.ebuild b/dev-python/pytest/pytest-3.8.2.ebuild new file mode 100644 index 000000000000..17be8889de91 --- /dev/null +++ b/dev-python/pytest/pytest-3.8.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} 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 ~arm ~mips ~ppc64 ~sparc ~x86" +# doc apparently requires sphinxcontrib_trio, not yet packaged +IUSE="test" # doc + +# 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/pathlib2[${PYTHON_USEDEP}]' python2_7 python3_{4,5} ) + >=dev-python/pluggy-0.7[${PYTHON_USEDEP}] + >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}]" + +# doc? ( +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/sphinx[${PYTHON_USEDEP}] +# )" + +# flake & pytest-capturelog cause a number of tests to fail +DEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.22.2[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + !!dev-python/flaky + !!dev-python/pytest-capturelog + )" + +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 + + # those tests appear to hang with python3.5+; TODO: investigate why + sed -i -e 's:test_runtest_location_shown_before_test_starts:_&:' \ + testing/test_terminal.py || die + sed -i -e 's:test_trial_pdb:_&:' testing/test_unittest.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ + -vv testing || die "tests failed with ${EPYTHON}" +} + +#python_compile_all() { +# use doc && emake -C doc/en html +#} +# +#python_install_all() { +# use doc && HTML_DOCS=( doc/en/_build/html/. ) +# distutils-r1_python_install_all +#} -- cgit v1.2.3