commit: c71e38a2bd23a7602361d0c0862cddc9354ed075 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Jan 1 06:15:02 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jan 1 06:35:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71e38a2
dev-python/jaraco-test: Bump to 5.3.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/jaraco-test/Manifest | 1 + dev-python/jaraco-test/jaraco-test-5.3.0.ebuild | 39 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/jaraco-test/Manifest b/dev-python/jaraco-test/Manifest index 0f460dbc2328..c7955cb3bd47 100644 --- a/dev-python/jaraco-test/Manifest +++ b/dev-python/jaraco-test/Manifest @@ -1,2 +1,3 @@ DIST jaraco.test-5.1.0.tar.gz 6700 BLAKE2B 69ac08ab7e1c8aeff45d25483f2bb2648ad57a5977dbff8aab844f114a15f054b782ad5b424d9baa805ab80fc7483362dc97320965ef0abe86573b1e7f40b97b SHA512 d1d93eab85068fcba94530df50da9221b7f574e58b2c4ed519c8c4dec7231aa982d588e29137418226f23e0f94bd98f47c0859cf14d7a58c1683ac8ccc24d900 DIST jaraco.test-5.2.0.tar.gz 8000 BLAKE2B 21e0714537a9966cc285eb1458f313c354226903ee3da816d7a6620676716cf9c220f82963c8b8ea7ac7a1d641f174d5c72dcca43c68c62e4f929c411aa00d62 SHA512 25cd7d5defda6941569958ce61cf41b54555d54c7dc1e115de409d6da352f8e8c09b8671adbdfdc00cf6f1c60a0d43201680c40dbeda44bdcf11a0e64cb23751 +DIST jaraco.test-5.3.0.tar.gz 8199 BLAKE2B bb44899e9d459350b7edff1a0212afada0765b250e7450c28e15da958632b33a17777d6db2b7ae9984772928003fbd368b6482889816198c971c77fd1f967bcd SHA512 31d2ea0557023c6996b786ee1b2a385ac8f22c2af66baab98c3a6b894bf1eaa7378a595d00bc46a537cc89fe87c9193733968fc8a586a58654b468b712d63728 diff --git a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild new file mode 100644 index 000000000000..1604632bd7d4 --- /dev/null +++ b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Testing support by jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.test/ + https://pypi.org/project/jaraco.test/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86" + +RDEPEND=" + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + # while technically these tests are skipped when Internet is + # not available (they test whether auto-skipping works), we don't + # want any Internet access whenever possible + local EPYTEST_DESELECT=( + tests/test_http.py::test_needs_internet + ) + epytest -m "not network" +}