commit: b790434dbdec1dce74f6f8ca2003ee7c98f22508 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 21 05:49:46 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 21 09:54:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b790434d
dev-python/unearth: Bump to 0.11.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/unearth/Manifest | 1 + dev-python/unearth/unearth-0.11.0.ebuild | 39 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index bf545b1dc31d..15f4d85f544e 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1 +1,2 @@ DIST unearth-0.10.0.tar.gz 270997 BLAKE2B 8b18df4616fc72025492aa187101bc1f338967b1738ef9ec33d16cbd906c1cf91c1b84e391538521b4a9d6ea40301eb0b7ed0926aa4e6c4d6ffc57401f9d78d9 SHA512 98799202939e1206b6fdd46eb61947c9f9f8068a6857f76aace8dd2c67a3fad9dd3b7a5232d7812b0dcd214c39a9e2a6fafbd18cbfeb9aa4c216571b88b3f131 +DIST unearth-0.11.0.tar.gz 271154 BLAKE2B 405c97ef152afb241cb70d9b309fd1ac454be932c96f95b606bb6038ffb2369fbc55c6afabd86f6a15949182de276dcda035fdb17d4810933286a0fa0b567e42 SHA512 70a06a32f6f2ca74c16a55f9613b543d807e437bd99c0ebb02c0d721144cf45208df78940ee41911a8168c9181ec733b9aec2176038b2556d0e2ad5e8c2cc0d4 diff --git a/dev-python/unearth/unearth-0.11.0.ebuild b/dev-python/unearth/unearth-0.11.0.ebuild new file mode 100644 index 000000000000..9c0635d2317b --- /dev/null +++ b/dev-python/unearth/unearth-0.11.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A utility to fetch and download python packages" +HOMEPAGE=" + https://pypi.org/project/unearth/ + https://github.com/frostming/unearth/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver +}