head 1.10; access; symbols pkgsrc-2026Q1:1.10.0.2 pkgsrc-2026Q1-base:1.10 pkgsrc-2025Q4:1.9.0.6 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.4 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.2 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.8.0.4 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.2 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.7.0.4 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.2 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.6.0.2 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.3.0.6 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.4 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.2 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.2.0.8 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.6 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.4 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.2 pkgsrc-2022Q1-base:1.2; locks; strict; comment @# @; 1.10 date 2026.02.04.13.40.31; author adam; state Exp; branches; next 1.9; commitid M2r0x7txMmKDY3tG; 1.9 date 2025.04.12.19.43.14; author adam; state Exp; branches; next 1.8; commitid eNUIhFYfJvTgzNQF; 1.8 date 2024.11.11.07.28.19; author wiz; state Exp; branches; next 1.7; commitid 1fBDq3LwS98NncxF; 1.7 date 2024.06.07.05.31.04; author adam; state Exp; branches; next 1.6; commitid y6jwYMLna42EM0dF; 1.6 date 2024.02.21.12.42.04; author adam; state Exp; branches; next 1.5; commitid JtRDwvNwDpqKBiZE; 1.5 date 2023.11.27.17.20.29; author adam; state Exp; branches; next 1.4; commitid lZ8er3LE4YQCUgOE; 1.4 date 2023.10.28.19.57.05; author wiz; state Exp; branches; next 1.3; commitid jP8MYROLWZ3yJqKE; 1.3 date 2023.03.14.14.10.52; author adam; state Exp; branches; next 1.2; commitid 3RqRS3W6Q5ND96hE; 1.2 date 2022.01.31.17.31.23; author adam; state Exp; branches; next 1.1; commitid O27BVw5c5OBAlOqD; 1.1 date 2022.01.12.21.35.39; author wiz; state Exp; branches; next ; commitid B4Wo4ZtIQAUpjooD; desc @@ 1.10 log @py-pooch: updated to 1.9.0 1.9.0 Breaking changes: Drop support for Python 3.7 and 3.8. Bug fixes: Explicitly pass filter to TarFile.extractall on Python >=3.12. Pass a filter="data" argument to TarFile.extractall to prevent dangerous security issues. The filter argument was added in Python 3.12, so only pass it on versions greater or equal than that. This change matches the default behaviour that will take place since Python 3.14. Fix TQDM usage. Newer versions of tqdm behave differently at a terminal vs in a jupyter notebook. Import from tqdm.auto instead so that the downloader looks right in either a notebook or the terminal. Fix bug in file hashing on FIPS enabled system. Set userforsecurity=False on hashlib hashing algorithms to make FIPS enabled systems happy. New features: Set User-Agent in requests headers for DOI downloaders. Pass a custom User-Agent when making requests through DOI downloaders in order to bypass limit rates imposed by services like Zenodo to block abusive requests. The can now filter requests coming from Pooch from the rest. Add a global REQUESTS_HEADERS variable that is used by the doi_to_url function (which requires to make a request to doi.org to figure out the service provider). Add a new headers argument to the DOIDownloader to specifically pass requests headers. By default it'll use the Pooch's default user agent. Extend support for Python 3.13 and Python 3.14. Provide more descriptive errors when DOI request fails. Raise the requests response to provide more informative errors when the status code is between 400 and 600. @ text @# $NetBSD: Makefile,v 1.9 2025/04/12 19:43:14 adam Exp $ DISTNAME= pooch-1.9.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pooch/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/fatiando/pooch COMMENT= Manages Python library's sample data files LICENSE= modified-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-packaging>=20.0:../../devel/py-packaging DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2.5.0:../../misc/py-platformdirs DEPENDS+= ${PYPKGPREFIX}-requests>=2.19.0:../../devel/py-requests USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.9 log @Fix PLIST after py-setuptools update; bump depends and revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/11/11 07:28:19 wiz Exp $ d3 1 a3 1 DISTNAME= pooch-1.8.2 a4 1 PKGREVISION= 1 @ 1.8 log @py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/06/07 05:31:04 adam Exp $ d5 1 d14 1 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=45:../../devel/py-setuptools a21 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.7 log @py-pooch: updated to 1.8.2 1.8.2 Bug fixes: Use a variable to set the default request timeout Documentation: Add HyperSpy, RosettaSciIO, eXSpy to projects using pooch Add more packages using Pooch Maintenance: Add optional dependencies to environment.yml Run tests with oldest dependencies on x86 macos Mark additional tests requiring network Fix package description in pyproject.toml Setup Trusted Publisher deployment to PyPI Use Burocrata to check and add license notices Use pyproject.toml instead of setup.cfg @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/02/21 12:42:04 adam Exp $ a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel @ 1.6 log @py-pooch: updated to 1.8.1 v1.8.1 Bug fixes: Use the ID instead of persistentID for Dataverse downloads since some repositories don't issue persistentIDs but all issue normal IDs Ensure all archive members are unpacked in subsequent uses of Untar/Unzip if the first call only asked for a few members Documentation: Move "Projects using Pooch" further up the README Update the versions of sphinx and its plugins Maintenance: Remove many deprecated pylint options Use Dependabot to manage GitHub Actions Simplify the test GitHub Actions workflow Update format for Black 24.1.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/11/27 17:20:29 adam Exp $ d3 1 a3 1 DISTNAME= pooch-1.8.1 @ 1.5 log @py-pooch: updated to 1.8.0 v1.8.0 Bug fixes: Fix bug: add support for old and new Zenodo APIs New features: Only create local data directories if necessary Speed up import time by lazy loading requests Maintenance: Add support for Python 3.11 Only run CI cron job for the upstream repository Documentation: Add GemGIS to list of projects using Pooch Fix spelling of Dataverse Fix grammar on retrieve documentation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/10/28 19:57:05 wiz Exp $ d3 1 a3 1 DISTNAME= pooch-1.8.0 @ 1.4 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/03/14 14:10:52 adam Exp $ d3 1 a3 1 DISTNAME= pooch-1.7.0 a4 1 PKGREVISION= 1 d13 2 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm a18 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test a23 3 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} @ 1.3 log @py-pooch: updated to 1.7.0 v1.7.0 Bug fixes: Make archive extraction always take members into account Figshare downloaders fetch the correct version, instead of always the latest one. New features: Allow spaces in filenames in registry files Refactor Pooch.is_available to use downloaders Add support for downloading files from Dataverse DOIs Add a new Pooch.load_registry_from_doi method that populates the Pooch registry using DOI-based data repositories Support urls for Zenodo repositories created through the GitHub integration service, which include slashes in the filename of the main zip files Automatically add a trailing slash to base_url on pooch.create Maintenance: Drop support for Python 3.6 Port from deprecated appdirs to platformdirs Update version of Codecov's Action to v3 Documentation: Update sphinx, theme, and sphinx-panels Add CITATION.cff for the JOSS article Use Markdown for the README Improve docstring of known_hash in retrieve function Replace link to Pooch's citation with a BibTeX code snippet @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2022/01/31 17:31:23 adam Exp $ d5 1 @ 1.2 log @py-pooch: updated to 1.6.0 v1.6.0 Important: This is the last release with support for Python 3.6. The next major/minor release of Pooch will require Python >= 3.7. Pooch now specifies version bounds for our required dependencies and a plan for dropping support for older versions. Please revise it if you depend on Pooch. Enhancements: Add option to disable updates on hash mismatch Allow enabling progress bars with an argument in Pooch.fetch and retrieve Documentation: Use real data URLs in the README example code Tell users to import from the top-level namespace Update the contact link to fatiando.org/contact Refer the community guides to fatiando/community Mention in docs that figshare collections aren't supported Maintenance: Replace Google Analytics for Plausible to make our docs more privacy-friendly Use Dependente to capture dependencies on CI Use build instead of setup.py Run the tests weekly on GitHub Actions Set minimum required version of dependencies Rename "master" to "main" throughout the project Remove trailing slash from GitHub handle in AUTHORS.md @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2022/01/12 21:35:39 wiz Exp $ d3 1 a3 1 DISTNAME= pooch-1.6.0 d13 2 a14 2 BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.3.0:../../devel/py-appdirs d16 1 a17 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm @ 1.1 log @devel/py-pooch: import py-pooch-1.5.2 Does your Python package include sample datasets? Are you shipping them with the code? Are they getting too big? Pooch is here to help! It will manage a data registry by downloading your data files from a server only when needed and storing them locally in a data cache (a folder on your computer). Here are Pooch's main features: * Pure Python and minimal dependencies. * Download a file only if necessary (it's not in the data cache or needs to be updated). * Verify download integrity through SHA256 hashes (also used to check if a file needs to be updated). * Designed to be extended: plug in custom download (FTP, scp, etc) and post-processing (unzip, decompress, rename) functions. * Includes utilities to unzip/decompress the data upon download to save loading time. * Can handle basic HTTP authentication (for servers that require a login) and printing download progress bars. * Easily set up an environment variable to overwrite the data cache location. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2022/01/04 20:53:19 wiz Exp $ d3 1 a3 1 DISTNAME= pooch-1.5.2 d13 4 a16 3 DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests d20 2 d27 1 a27 1 .include "../../lang/python/egg.mk" @