summaryrefslogtreecommitdiff
path: root/dev-python/pooch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pooch
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/pooch')
-rw-r--r--dev-python/pooch/Manifest3
-rw-r--r--dev-python/pooch/metadata.xml17
-rw-r--r--dev-python/pooch/pooch-1.8.2.ebuild57
-rw-r--r--dev-python/pooch/pooch-1.9.0.ebuild58
4 files changed, 135 insertions, 0 deletions
diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest
new file mode 100644
index 000000000000..a414ddd1b60c
--- /dev/null
+++ b/dev-python/pooch/Manifest
@@ -0,0 +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/metadata.xml b/dev-python/pooch/metadata.xml
new file mode 100644
index 000000000000..4318d486af15
--- /dev/null
+++ b/dev-python/pooch/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription>
+ Pooch manages your Python library's sample data files: it automatically downloads and stores them in a local directory,
+ with support for versioning and corruption checks.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/fatiando/pooch/issues</bugs-to>
+ <doc>https://www.fatiando.org/pooch/</doc>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/pooch/pooch-1.8.2.ebuild b/dev-python/pooch/pooch-1.8.2.ebuild
new file mode 100644
index 000000000000..1583672bbe3b
--- /dev/null
+++ b/dev-python/pooch/pooch-1.8.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..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 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
+
+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}]
+ )
+"
+
+EPYTEST_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-httpserver )
+distutils_enable_tests pytest
+
+python_test() {
+ epytest -k "not network"
+}
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..0a79b1587d30
--- /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=( python3_{13..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"
+}