pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-bcrypt py-bcrypt: updated to 3.2.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d9dca001516
branches:  trunk
changeset: 381811:2d9dca001516
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 13 20:12:17 2022 +0000

description:
py-bcrypt: updated to 3.2.2

3.2.2

Fixed packaging of py.typed files in wheels so that mypy works.

3.2.1

Added support for compilation on z/OS
The next release of bcrypt with be 4.0 and it will require Rust at compile time, for users building from source. There will be no additional requirement for users who are installing from wheels. 
Users on most platforms will be able to obtain a wheel by making sure they have an up to date pip. The minimum supported Rust version will be 1.56.0.
This will be the final release for which we ship manylinux2010 wheels. Going forward the minimum supported manylinux ABI for our wheels will be manylinux2014. The vast majority of users will continue 
to receive manylinux wheels provided they have an up to date pip.

3.2.0

Added typehints for library functions.
Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
Shipped abi3 Windows wheels (requires pip >= 20).

diffstat:

 security/py-bcrypt/Makefile |  13 +++++++------
 security/py-bcrypt/PLIST    |   7 ++++---
 security/py-bcrypt/distinfo |   8 ++++----
 3 files changed, 15 insertions(+), 13 deletions(-)

diffs (61 lines):

diff -r ddc33a57f120 -r 2d9dca001516 security/py-bcrypt/Makefile
--- a/security/py-bcrypt/Makefile       Wed Jul 13 20:07:26 2022 +0000
+++ b/security/py-bcrypt/Makefile       Wed Jul 13 20:12:17 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2022/01/04 20:54:38 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2022/07/13 20:12:17 adam Exp $
 
-DISTNAME=      bcrypt-3.1.7
+DISTNAME=      bcrypt-3.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bcrypt/}
 
@@ -12,10 +11,12 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.1:../../devel/py-cffi
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.3.1:../../devel/py-test
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ddc33a57f120 -r 2d9dca001516 security/py-bcrypt/PLIST
--- a/security/py-bcrypt/PLIST  Wed Jul 13 20:07:26 2022 +0000
+++ b/security/py-bcrypt/PLIST  Wed Jul 13 20:12:17 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2018/12/13 10:53:29 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/07/13 20:12:17 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,5 +11,6 @@
 ${PYSITELIB}/bcrypt/__init__.py
 ${PYSITELIB}/bcrypt/__init__.pyc
 ${PYSITELIB}/bcrypt/__init__.pyo
-${PLIST.py3x}${PYSITELIB}/bcrypt/_bcrypt.abi3.so
-${PLIST.py2x}${PYSITELIB}/bcrypt/_bcrypt.so
+${PYSITELIB}/bcrypt/_bcrypt.abi3.so
+${PYSITELIB}/bcrypt/_bcrypt.pyi
+${PYSITELIB}/bcrypt/py.typed
diff -r ddc33a57f120 -r 2d9dca001516 security/py-bcrypt/distinfo
--- a/security/py-bcrypt/distinfo       Wed Jul 13 20:07:26 2022 +0000
+++ b/security/py-bcrypt/distinfo       Wed Jul 13 20:12:17 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 11:17:41 nia Exp $
+$NetBSD: distinfo,v 1.13 2022/07/13 20:12:17 adam Exp $
 
-BLAKE2s (bcrypt-3.1.7.tar.gz) = b4b4072f7b8a8e68be6ff3906c98e1092a9c729ddaf8f8c7687a45e3ae4953b5
-SHA512 (bcrypt-3.1.7.tar.gz) = bb9a431c8de97d5615d1a7fb67f868d08d839313fd5f3e17d8db40db1870f8b624594352c24c163c6a03485217de873cd92578040350678888728885c7b749de
-Size (bcrypt-3.1.7.tar.gz) = 42512 bytes
+BLAKE2s (bcrypt-3.2.2.tar.gz) = 04312c5bda6178575adee999ae8c587b6d0a45eed96c63b22ccee612e4859325
+SHA512 (bcrypt-3.2.2.tar.gz) = 2f3b88bffaa9ff820aba6fb3143253b7936a1440ae93caff13cbdff58c1f8427f132cce60299cda523659b7026751a954b476857f2b9841cdd2a1a50c430a626
+Size (bcrypt-3.2.2.tar.gz) = 42455 bytes



Home | Main Index | Thread Index | Old Index