bump pytest-5.1.2

This commit is contained in:
Andreas Billmeier 2019-10-01 17:18:36 +02:00
parent 651657f74e
commit 4cf4d2ada6
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 72 additions and 0 deletions

View File

@ -4,8 +4,10 @@ DIST pytest-4.6.3.tar.gz 949947 BLAKE2B abdf7eb69e3a2b32275174682cf80211f4875003
DIST pytest-5.0.0.tar.gz 947536 BLAKE2B d52f9f87f57f777891be892784d2c259418fb8df9a33e4742b2bf0c6067ab5766dc67c1acfd957337babe01e3bde52e8163a32724ade23a829fa7e12c0d6f467 SHA512 e9538035076c55ffaded4eebd0aba0032e75dd18974c67a09899d0d22a5ab3d784f46de760633a6b06e749ff3a7a68db9fe35780327ab62d23b5902e2e488694
DIST pytest-5.0.1.tar.gz 949744 BLAKE2B c949f0fb6bc0d1430ec7c780537f8aee8ca1ebea5f89035d882434236c6af7d431a610774dbafa93552406e38852627a9f949a6f9198a792de9371efadb4f6ff SHA512 92f5feb263a8708ef6cb8f4565688620b6bfeaef23536cfd24b9bc09515e37fdecd7fa8bcaeeb0775c0be1d8e9dcbd9a56e52f97fb13dc98116efc0056f870db
DIST pytest-5.1.1.tar.gz 964525 BLAKE2B 93b3852856a14bb2ab019e8d210dd1e8368a0d0b8a09f1477b5703519a5cff98d8fc6454f2a6a68e888daa17f2e59205bf6aed7ebce6e1b891ba18f5a05e65cf SHA512 86d72d14b2af087aa111e3f0fb2e8b1373fa4568ad5b46945a88af35483f5467b0ab20c8d00cbc3aacabb73f04b3ced75e84f703c9b2f4eaac429062508688b3
DIST pytest-5.1.2.tar.gz 966963 BLAKE2B f96e2cb731bb96fd95f4e3a003248c1acca9bd13f6f0a4138d3fd55a6fec5dbf2d6176a7ea1f09d18cfaf4c337a902d741da95b8fa4ae0be5d3bf27764d6e4a8 SHA512 2af4f661782e3cc1d56f7a38a0ac5a838dcd4df573f38b9735d5fb41300d38d67ec0c2c224add4bc861f4ebde8bd63bf5d7e515508e97c992b1e2ca636304a96
EBUILD pytest-4.6.3.ebuild 2054 BLAKE2B 4421866033a8df11789934608511a116c06faa5aa1a2e50f450e4f13882657f65b5ad00ab4e3903da2bdbdc03a5852f668df16d68993aa85cbe68a83f3edfe97 SHA512 334e9e67905b4a5c934f4f43fd38b555547583a3321f95e51c4046e03f22b00052fa958d8e6360af437937ceccbd672fb7b8a337ed3bcfc4668065a2f132ff84
EBUILD pytest-5.0.0.ebuild 2054 BLAKE2B 4421866033a8df11789934608511a116c06faa5aa1a2e50f450e4f13882657f65b5ad00ab4e3903da2bdbdc03a5852f668df16d68993aa85cbe68a83f3edfe97 SHA512 334e9e67905b4a5c934f4f43fd38b555547583a3321f95e51c4046e03f22b00052fa958d8e6360af437937ceccbd672fb7b8a337ed3bcfc4668065a2f132ff84
EBUILD pytest-5.0.1.ebuild 2203 BLAKE2B 525897147d20731b1bce81035ee67594534f92079d42087929d71b2264c70e2490ef9dd515b8ea1926c7908488b3ca2488dcb3710f85182dc8968cf11c4e6e18 SHA512 48c7f09974cbb7dd1252f22bd865029a4bf2b70d4fb4965a7877a75954f701385046e4f2e566d63c636aa1329d10c47a6116297588a94d7c70f953b9316236db
EBUILD pytest-5.1.1.ebuild 2203 BLAKE2B 525897147d20731b1bce81035ee67594534f92079d42087929d71b2264c70e2490ef9dd515b8ea1926c7908488b3ca2488dcb3710f85182dc8968cf11c4e6e18 SHA512 48c7f09974cbb7dd1252f22bd865029a4bf2b70d4fb4965a7877a75954f701385046e4f2e566d63c636aa1329d10c47a6116297588a94d7c70f953b9316236db
EBUILD pytest-5.1.2.ebuild 2203 BLAKE2B 525897147d20731b1bce81035ee67594534f92079d42087929d71b2264c70e2490ef9dd515b8ea1926c7908488b3ca2488dcb3710f85182dc8968cf11c4e6e18 SHA512 48c7f09974cbb7dd1252f22bd865029a4bf2b70d4fb4965a7877a75954f701385046e4f2e566d63c636aa1329d10c47a6116297588a94d7c70f953b9316236db
MISC metadata.xml 309 BLAKE2B f29391c5f96f44f6329d3665346a5d46ecb4a86d103ae8008769af86126756e76bfa89cfe462e9c219e5f70b64013f662d020c7a2f6015d8cadd0eb25a7614eb SHA512 ba53c13ac716488e3e5dadf5dcfcb697dc9bb13f89e9d0fb98b9a5a6e36cafeeb64d1348008f42497117bf46fb6f3bc288c10a68c4d5ab53c9c02a3ae61b594f

View File

@ -0,0 +1,70 @@
# 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} 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 ~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}"
}