head 1.9; access; symbols pkgsrc-2023Q4:1.9.0.2 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.7.0.4 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.2 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.5.0.10 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.8 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.6 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.4 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.2 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.4.0.10 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.8 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.6 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.4 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.2 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.3.0.4 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.2 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.9 date 2023.10.28.19.57.14; author wiz; state Exp; branches; next 1.8; commitid jP8MYROLWZ3yJqKE; 1.8 date 2023.10.04.20.38.54; author adam; state Exp; branches; next 1.7; commitid Ym5I4jsGwCTfKlHE; 1.7 date 2023.05.05.08.33.05; author adam; state Exp; branches; next 1.6; commitid RsOgTUyxWgI4CKnE; 1.6 date 2023.03.29.09.34.12; author wiz; state Exp; branches; next 1.5; commitid dE79P0WicMkX80jE; 1.5 date 2022.01.04.20.54.37; author wiz; state Exp; branches; next 1.4; commitid CYyhdK9qtoffkmnD; 1.4 date 2020.10.06.10.51.22; author wiz; state Exp; branches; next 1.3; commitid 2RV3QCrN1rkTCPqC; 1.3 date 2020.05.17.19.34.12; author adam; state Exp; branches; next 1.2; commitid bTxyopGVhy8s5D8C; 1.2 date 2020.05.12.18.17.21; author adam; state Exp; branches; next 1.1; commitid 46WbuItzPXAXOY7C; 1.1 date 2019.11.13.21.12.20; author adam; state Exp; branches; next ; commitid cjvQ7LWKhSINAJKB; desc @@ 1.9 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 @# $NetBSD: Makefile,v 1.8 2023/10/04 20:38:54 adam Exp $ DISTNAME= argon2_cffi-23.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} PKGREVISION= 1 CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=a/argon2-cffi/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://argon2-cffi.readthedocs.io/ COMMENT= Secure Argon2 password hashing algorithm LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling DEPENDS+= ${PYPKGPREFIX}-argon2-cffi-bindings-[0-9]*:../../security/py-argon2-cffi-bindings TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 MAKE_ENV+= ARGON2_CFFI_USE_SYSTEM=1 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/wheel.mk" .include "../../security/argon2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @py-argon2-cffi: updated to 23.1.0 23.1.0 Removed - Python 3.6 is not supported anymore. Deprecated - The `InvalidHash` exception is deprecated in favor of `InvalidHashError`. No plans for removal currently exist and the names can (but shouldn't) be used interchangeably. - `argon2.hash_password()`, `argon2.hash_password_raw()`, and `argon2.verify_password()` that have been soft-deprecated since 2016 are now hard-deprecated. They now raise `DeprecationWarning`s and will be removed in 2024. Added - Official support for Python 3.11 and 3.12. No code changes were necessary. - `argon2.exceptions.InvalidHashError` as a replacement for `InvalidHash`. - *salt* parameter to `argon2.PasswordHasher.hash()` to allow for custom salts. This is only useful for specialized use-cases -- leave it on None unless you know exactly what you are doing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/05/05 08:33:05 adam Exp $ d5 1 @ 1.7 log @py-argon2-cffi: updated to 21.3.0 21.3.0 Fixed While the last release added type hints, the fact that it's been misssing a py.typed file made Mypy ignore them. 21.2.0 Removed Python 3.5 is not supported anymore. The CFFI bindings have been extracted into a separate project: argon2-cffi-bindings This makes argon2-cffi a Python-only project und should make it easier to contribute to and have more frequent releases with high-level features. This change is breaking for users who want to use a system-wide installation of Argon2 instead of our vendored code, because the argument to the --no-binary argument changed. Please refer to the installation guide. Added Thanks to lots of work within argon2-cffi-bindings, there're pre-compiled wheels for many new platforms. Including: Apple Silicon via universal2 Linux on amd64 and arm64 musl libc (Alpine Linux!) on i686, amd64, and arm64 PyPy 3.8 We hope to provide wheels for Windows on arm64 soon, but are waiting for GitHub Actions to support that. argon2.Parameters.from_parameters() together with the argon2.profiles module that offers easy access to the RFC-recommended configuration parameters and then some. The CLI interface now has a --profile option that takes any name from argon2.profiles. Types! argon2-cffi is now fully typed. Changed argon2.PasswordHasher now uses the RFC 9106 low-memory profile by default. The old defaults are available as argon2.profiles.PRE_21_2. 21.1.0 Removed Microsoft stopped providing the necessary SDKs to ship Python 2.7 wheels and currenly the downloads amount to 0.09%. Therefore we have decided that Python 2.7 is not supported anymore. Changed There are indeed no changes whatsoever to the code of argon2-cffi. The Argon2 project also hasn't tagged a new release since July 2019. There also don't seem to be any important pending fixes. This release is mainly about improving the way binary wheels are built (abi3 on all platforms). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/03/29 09:34:12 wiz Exp $ d3 2 a4 2 DISTNAME= argon2-cffi-21.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} d13 3 a15 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core @ 1.6 log @*: use PYTHON_VERSION instead of _PYTHON_VERSION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2022/01/04 20:54:37 wiz Exp $ d3 1 a3 1 DISTNAME= argon2-cffi-20.1.0 a4 1 PKGREVISION= 1 d13 4 a16 2 DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six d18 1 a18 2 PYTHON_VERSIONED_DEPENDENCIES= test:test PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test d20 1 a20 5 .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} == 207 DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34 .endif d25 1 a25 1 cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests d27 1 a27 2 .include "../../lang/python/egg.mk" .include "../../lang/python/versioned_dependencies.mk" @ 1.5 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2020/10/06 10:51:22 wiz Exp $ d21 2 a22 1 .if ${_PYTHON_VERSION} == 27 @ 1.4 log @*: use py-hypothesis via versioned_dependencies.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2020/05/17 19:34:12 adam Exp $ d5 1 @ 1.3 log @pytest from versioned depends @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2020/05/12 18:17:21 adam Exp $ a14 1 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis d17 1 @ 1.2 log @py-argon2-cffi: updated to 20.1.0 20.1.0: It is now possible to manually override the detection of SSE2 using the ARGON2_CFFI_USE_SSE2 environment variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2019/11/13 21:12:20 adam Exp $ d16 2 a17 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test d30 1 @ 1.1 log @py-argon2-cffi: updated to 19.2.0 19.2.0: Backward-incompatible changes: - Python 3.4 is not supported anymore. It has been unsupported by the Python core team for a while now and its PyPI downloads are negligible. It's very unlikely that ``argon2-cffi`` will break under 3.4 anytime soon, but we don't test it and don't ship binary wheels for it anymore. Changes: - The dependency on ``enum34`` is now protected using a PEP 508 marker. This fixes problems when the sdist is handled by a different interpreter version than the one running it. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= argon2-cffi-19.2.0 @