pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-argon2-cffi



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  4 20:38:54 UTC 2023

Modified Files:
        pkgsrc/security/py-argon2-cffi: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-argon2-cffi/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/py-argon2-cffi/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/py-argon2-cffi/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-argon2-cffi/Makefile
diff -u pkgsrc/security/py-argon2-cffi/Makefile:1.7 pkgsrc/security/py-argon2-cffi/Makefile:1.8
--- pkgsrc/security/py-argon2-cffi/Makefile:1.7 Fri May  5 08:33:05 2023
+++ pkgsrc/security/py-argon2-cffi/Makefile     Wed Oct  4 20:38:54 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2023/05/05 08:33:05 adam Exp $
+# $NetBSD: Makefile,v 1.8 2023/10/04 20:38:54 adam Exp $
 
-DISTNAME=      argon2-cffi-21.3.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      argon2_cffi-23.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/argon2-cffi/}
 
@@ -10,7 +10,9 @@ HOMEPAGE=     https://argon2-cffi.readthedoc
 COMMENT=       Secure Argon2 password hashing algorithm
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core
+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

Index: pkgsrc/security/py-argon2-cffi/PLIST
diff -u pkgsrc/security/py-argon2-cffi/PLIST:1.2 pkgsrc/security/py-argon2-cffi/PLIST:1.3
--- pkgsrc/security/py-argon2-cffi/PLIST:1.2    Fri May  5 08:33:05 2023
+++ pkgsrc/security/py-argon2-cffi/PLIST        Wed Oct  4 20:38:54 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2023/05/05 08:33:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/10/04 20:38:54 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/argon2/__init__.py
 ${PYSITELIB}/argon2/__init__.pyc
 ${PYSITELIB}/argon2/__main__.py

Index: pkgsrc/security/py-argon2-cffi/distinfo
diff -u pkgsrc/security/py-argon2-cffi/distinfo:1.5 pkgsrc/security/py-argon2-cffi/distinfo:1.6
--- pkgsrc/security/py-argon2-cffi/distinfo:1.5 Fri May  5 08:33:05 2023
+++ pkgsrc/security/py-argon2-cffi/distinfo     Wed Oct  4 20:38:54 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/05/05 08:33:05 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/10/04 20:38:54 adam Exp $
 
-BLAKE2s (argon2-cffi-21.3.0.tar.gz) = 9ae1325128fde5f58fabaef6b02ea8071c787e21961ab1fbe75ddace6794d4f9
-SHA512 (argon2-cffi-21.3.0.tar.gz) = 6cb2a075f3bb7040ee7f552d082bfa2f3df0854649d9c84fdfdb42bb4bee2133b8a35a20be2b3c887931efda12fbbb00815d8d88170b7e20b3ca19c86f97057e
-Size (argon2-cffi-21.3.0.tar.gz) = 38446 bytes
+BLAKE2s (argon2_cffi-23.1.0.tar.gz) = 136e1502932a0ac6f7f9c9d3dabc51d625707be7f7dd8e7fbf87f7e3fae5652c
+SHA512 (argon2_cffi-23.1.0.tar.gz) = 7c7730451f5ef9bb40bb5e1bbfa6e69c9718968168f3fa9b54e1020a4f805f98fba6260039bda804241717db2338479d640c7652dc26ce1a6ade076660133383
+Size (argon2_cffi-23.1.0.tar.gz) = 42798 bytes



Home | Main Index | Thread Index | Old Index