commit: 9ba9bb2342b5ba82c887a6dd82188489d5342f0e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jan 31 03:23:08 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jan 31 03:37:35 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba9bb23
dev-python/pooch: Bump to 1.9.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pooch/Manifest | 2 ++ dev-python/pooch/pooch-1.9.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest index fbc3e5db92fc..a414ddd1b60c 100644 --- a/dev-python/pooch/Manifest +++ b/dev-python/pooch/Manifest @@ -1 +1,3 @@ DIST pooch-1.8.2.tar.gz 59353 BLAKE2B 88b80665ad2af13bebeee9a6864c054eb1bfd5881a6e185b8025ce69896302093637f2a5e3ad58ad8a9af8c6161a30f04074081bfe562b83034b8fd4d36533c7 SHA512 e81c343c0f40f90ecaf347408818ff4b6924404adcaa9572deb55adf6c7bb40c8d91bef69461cc4407dfdba69b35bcfaeacf0070fdd18124008f11532bf7affc +DIST pooch-1.9.0.tar.gz 61788 BLAKE2B b3c9bb378f2a1bea8f35636087acb4b7ef435908073128720721eb9438e35cdfa06e7f2dbea5c02ef23abf8a18a664f41259cc60083a181e93f7135e6900dc18 SHA512 c23da6578cb5830b01cd36ec3349fb70e68dc647e9fc00a5572ad4c36453524129c88521b075fe714fc93845ea20906b04723d1dfcfbc132d3d4f19a0f50bd1f +DIST pooch-1.9.0.tar.gz.provenance 9373 BLAKE2B b651cb5f999cf72aa3ecdf2fa27d7123819e1e2fec9c9b0036c0974f59ccc08f5ec80ee3e77b4511bb979404229512a8052b5e7e20b956f2c5077036b9fe5569 SHA512 0096642c8b0a383761cca5376bc566dd7ccd85b997617811b84935df180a02e45d1af2d88e97280f8f290a8966b93e486ad52e5c90540737183de08d3f65fcfc diff --git a/dev-python/pooch/pooch-1.9.0.ebuild b/dev-python/pooch/pooch-1.9.0.ebuild new file mode 100644 index 000000000000..9afd32327e7e --- /dev/null +++ b/dev-python/pooch/pooch-1.9.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/fatiando/pooch +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage your Python library's sample data files" +HOMEPAGE=" + https://github.com/fatiando/pooch/ + https://pypi.org/project/pooch/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.5.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.19.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.41.0[${PYTHON_USEDEP}] + ) +" + +xEPYTEST_DESELECT=( + # Needs network + pooch/tests/test_core.py::test_check_availability_invalid_downloader + pooch/tests/test_core.py::test_load_registry_from_doi + pooch/tests/test_core.py::test_load_registry_from_doi_zenodo_with_slash + # dev-python/pytest-localftpserver -> dev-python/pyftpdlib has py3.12 issues + # https://github.com/giampaolo/pyftpdlib/issues/560#issuecomment-971377238 + pooch/tests/test_core.py::test_check_availability_on_ftp + pooch/tests/test_downloaders.py::test_invalid_doi_repository + pooch/tests/test_downloaders.py::test_doi_url_not_found + pooch/tests/test_downloaders.py::test_figshare_url_file_not_found + pooch/tests/test_downloaders.py::test_doi_downloader +) + +### docs no included in pypi tarball +# distutils_enable_sphinx doc \ +# dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( pytest-{http,localftp}server ) +distutils_enable_tests pytest + +python_test() { + epytest -k "not network" +}
