commit: deec5ad5d3dae7329230b320bbed699558afb290 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Aug 21 02:55:27 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Aug 21 03:13:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deec5ad5
dev-python/unearth: Bump to 0.17.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/unearth/Manifest | 1 + dev-python/unearth/unearth-0.17.1.ebuild | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index d1c82cdc56b6..7c882ad82985 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1 +1,2 @@ DIST unearth-0.17.0.tar.gz 284068 BLAKE2B b37c1e9e626f3d6409fb0a22baebedc210df2c76afcb41f12730a5c9ff714bcf94cf7e78b97851676d45a73feec40d630ab5993cad44fabedcec5a771cb78c9f SHA512 2b9ba4d4262baac448b4507547a5887d5a50254e02f050576e68efeb952a57e2e38f93b440a753263abeca4ae062c07d9b702f10d29ff9252af13cfc16978c3d +DIST unearth-0.17.1.tar.gz 284159 BLAKE2B 55b8f18f06613f0398316bbcadee6b928e6f20fdc978bdde6c0c1ce3b75a46e1cd2734d036302b8b5a98e9ec5a92aa7d00b00ff01ae815149d507cdab2f6dd5f SHA512 3e451d6f40b16520d4a6e1f4ca6f3997bc346f189330c7373089701d9203543f159b5af843aa8144c2b0ca871a84909292b34b5a666e3a0b541fdbc643340050 diff --git a/dev-python/unearth/unearth-0.17.1.ebuild b/dev-python/unearth/unearth-0.17.1.ebuild new file mode 100644 index 000000000000..a135cb39bbf1 --- /dev/null +++ b/dev-python/unearth/unearth-0.17.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023-2024 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..13} ) + +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 ~arm64" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/httpx-1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${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 -p pytest_mock +}