update pytest-5.4.3

This commit is contained in:
2020-06-03 07:07:24 +02:00
committed by Andreas Billmeier
parent 82e0a9bfec
commit 2fe11d00d4
4 changed files with 23 additions and 93 deletions

View File

@@ -1,5 +1,6 @@
2020-06-03
* bump pyforked-daapd-0.1.10
* update pytest-5.4.3
2020-06-02
* bump teslajsonpy-0.8.1

View File

@@ -1,13 +1,11 @@
AUX pytest-3.4.2-pypy-syntaxerror-offset.patch 996 BLAKE2B ff6d362d20f6432f73956e1aee4c2bc596e3d8e3347da3624dfd3cbfdd1eabd8872058737e8f9b558f3570878756c7b87a65514956b1e81235c2727e8ff2fc63 SHA512 4a28ddc07389aac79e46528e85229aba126a89c27b7bec73b406766be49f5c8be9bdc2cb3158bfb475b4d6371e2f33960e1ed154e3b9eda15aeb8b151f3d2148
AUX pytest-4.5.0-strip-setuptools_scm.patch 674 BLAKE2B 4eab3e26423d81614223a88a0124dc4f35892b18ecbcce34280a00774012822fced0045ac7113a50f8f88d042b88e404dbf4d8d3760140c66a48daa3da2a44c6 SHA512 d34d7c1db57804f0d1ff71f3f51c9a736592945fdf564f54c0c20c398c86f08616eb21f75d77457a71738df4d254ec3d69e46aa3378dea6f7913933bcdf45c08
DIST pytest-5.2.2.tar.gz 975772 BLAKE2B 0e8079b0b5a2cffcf0f8151a2bedebe4bfc780c92262d610f49ed3d0b3a9619fdc90249c75d8aecaa1013dcdd9b5de98bc13d8a207c25a42b88c4ef76f707b37 SHA512 c7beb885d7b5b089072d9b113add2f3d0cca794668f2f641e05f433e6c7023556e1d04f348e8b4510feb6236a1d44beb3f890884245c6d212e43553e39db0186
DIST pytest-5.2.3.tar.gz 976643 BLAKE2B f3b0863e19bb7213bbd019e60695d9ea0bdcae124d3744e58c1d181a5069577ac1619924f89f9ea84752bc05b302b37e8fef1187e4133bbc2d866b4a6dda8ddd SHA512 3cb2e5a5d34ac1ca741ae46a5a16792fa2dceae9cf047b4989f52736d2ef1f1f3381d7b18cff6dc17ccd1aaa2dcb3437bf3596278ec285f68c52639f8039787f
DIST pytest-5.3.0.tar.gz 992537 BLAKE2B 4386d1623bdc168313a75847dfa33413ab1b6a4de9380c67ae866a579dbeb62d8cd18da899bf0476827d6e4a76ddfc5fee7a2fdc652eff0c8848c0bd96045c47 SHA512 285d0b4f6b87b141d6d5dac368dc46eb80dd025d7ed4ad0db937fcc76efc1f8cf251ca9b0786ab1bdadd89c07ad8ddd74f2b3496f97326e9d7fccfd004b98aff
DIST pytest-5.3.2.tar.gz 995560 BLAKE2B aaea9d89e884a82056eeea3068c70604c73d50c96b8d78c6ee14c67bbe066f0e6d882c1b8f95539a2338d6739e047680d901a9db108b1923fa4d3d03dc3f2115 SHA512 2ab39973848d2d4693edd1dbd7ab2798b574026c9277bddd4a18e57aec65b3d93de201e87f58eb26030183b5c71818e6e56bcc1cda8c50892546cb1c04d6984a
DIST pytest-5.3.5.tar.gz 990935 BLAKE2B 257628ca9bf7b5e17eb54d868f37fc18a6cc43e66e7ec64581aae0faa8c92a9aa102f011e3117f6c669fc3dfa27fb884c2fefea6b0771fa0ed8999364bc4e149 SHA512 14877d67aef83d498c8a2917b9633bda317948fa889100e6d1a00547a71f0bfb32d8a01506e97bab6372bfbae17a03aa21bdad8d81072a163a5c9c042498a3b3
EBUILD pytest-5.2.2.ebuild 2204 BLAKE2B adf2a581ff853fdbccdc22f302a0992adca571827444a78a20533d095592bf73fe49369885a9abfeb68a337df865d5caa712f8d4e49a2ff73a2e3f821404f7c7 SHA512 5120d14e19209202c70dc5e1ff805634cad3734b98b605e9b105bc5229c32e2f5348463f259b778ec404383cb87af86f24a352ab666dfc18482a7f0bcb2ca89f
EBUILD pytest-5.2.3.ebuild 2206 BLAKE2B 8f24f9f16406b9bb60831e7a1a842e44ca439172d123695fabc2af25bf0feaa8ef31c0df907942490af2398b0b38bd8ffdc5e46c744258ed0a927d267c00a84f SHA512 1dcb9c5c778dc12712f926ec9c12988f77059843a687ca568fb9e2f9125b3ed6e84fdf4fabb95b474815ef01cc3313bc5d4cbb1815575981110910614404d229
DIST pytest-5.4.3.tar.gz 1022353 BLAKE2B 70d4f23cbbfc4c4ce63c512ee0a01556973761a6d3ebb71a6d9ed4fb4a4a21531e1b151ed0e4c5e56e5dd3243a1a272441f17c4c2c4e3b0b19c24654b74e8e52 SHA512 0a07d4f4f791969c6f21961a0ba0f8c6670e5870c6cc1cebf93766587bb9cb3e10db8e57f0bd33dd22b275f3aad7aa674949f124ac80e0ccca64e35be4beee4e
EBUILD pytest-5.3.0.ebuild 2206 BLAKE2B 8f24f9f16406b9bb60831e7a1a842e44ca439172d123695fabc2af25bf0feaa8ef31c0df907942490af2398b0b38bd8ffdc5e46c744258ed0a927d267c00a84f SHA512 1dcb9c5c778dc12712f926ec9c12988f77059843a687ca568fb9e2f9125b3ed6e84fdf4fabb95b474815ef01cc3313bc5d4cbb1815575981110910614404d229
EBUILD pytest-5.3.2.ebuild 2206 BLAKE2B 8f24f9f16406b9bb60831e7a1a842e44ca439172d123695fabc2af25bf0feaa8ef31c0df907942490af2398b0b38bd8ffdc5e46c744258ed0a927d267c00a84f SHA512 1dcb9c5c778dc12712f926ec9c12988f77059843a687ca568fb9e2f9125b3ed6e84fdf4fabb95b474815ef01cc3313bc5d4cbb1815575981110910614404d229
EBUILD pytest-5.3.5.ebuild 1810 BLAKE2B d4b76159617a8b8af60000c53995847e7ff0ee8d9f10771a5c3ddc9c7b08ce4be73e160823606b18f36cf20db729e1e53d574fc533a27c97818384ec4554b467 SHA512 2d673efbd747d059d56d038ce0f222005b2295ec5c308412307e4a192aa720520e7c7678ff46aa2f455df000196868ed455bf3bddf2d5ee6fce8693a49417bb7
EBUILD pytest-5.4.3.ebuild 1939 BLAKE2B 16d310ac7b29e3ef73dca7da61d958892affae3abb79c0f72c3a1facffcf1d3b96de83e49ef465cb56a03f1bb56ce373685b39c3bfd2cd562dee0c045ccd7a15 SHA512 54afb144b987ab11ce1c627499de66c7db5b81adb8f40744444b43fa888fcbeb93a3461d3b17364accda7b6aa72de336c3e2c0b0b512f545f7c70ef34c95d852
MISC metadata.xml 309 BLAKE2B f29391c5f96f44f6329d3665346a5d46ecb4a86d103ae8008769af86126756e76bfa89cfe462e9c219e5f70b64013f662d020c7a2f6015d8cadd0eb25a7614eb SHA512 ba53c13ac716488e3e5dadf5dcfcb697dc9bb13f89e9d0fb98b9a5a6e36cafeeb64d1348008f42497117bf46fb6f3bc288c10a68c4d5ab53c9c02a3ae61b594f

View File

@@ -1,70 +0,0 @@
# 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} )
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 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="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/pathlib2-2.2.0[${PYTHON_USEDEP}]' python2_7 python3_5 )
>=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
<dev-python/pluggy-1
>=dev-python/importlib_metadata-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="${RDEPEND}
>=dev-python/setuptools-40[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
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}"
}

View File

@@ -3,7 +3,8 @@
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
inherit distutils-r1
@@ -13,8 +14,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
# When bumping, please check setup.py for the proper py version
PY_VER="1.5.0"
@@ -22,49 +24,48 @@ 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}]
$(python_gen_cond_dep '
dev-python/importlib_metadata[${PYTHON_USEDEP}]
' python3_{6,7} pypy3)
>=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/pathlib2-2.2.0[${PYTHON_USEDEP}]' python2_7 python3_5 )
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
<dev-python/pluggy-1
>=dev-python/importlib_metadata-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}]"
dev-python/wcwidth[${PYTHON_USEDEP}]"
# flake cause a number of tests to fail
DEPEND="${RDEPEND}
>=dev-python/setuptools-40[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/xmlschema[${PYTHON_USEDEP}]
!!dev-python/flaky
)"
PATCHES=(
"${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch"
"${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
# fragile to warnings from other packages (setuptools)
# little value for us to run it
sed -i -e 's:test_no_warnings:_&:' \
testing/test_meta.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 \
distutils_install_for_testing
"${EPYTHON}" -m pytest -vv --lsof -rfsxX \
|| die "tests failed with ${EPYTHON}"
}