pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-rsa py-rsa: updated to 4.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1f6c8b36034
branches:  trunk
changeset: 770978:d1f6c8b36034
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 11 20:06:49 2021 +0000

description:
py-rsa: updated to 4.8

Version 4.8

- Switch to [Poetry](https://python-poetry.org/) for dependency and release management.
- Compatibility with Python 3.10.
- Chain exceptions using `raise new_exception from old_exception`
- Added marker file for PEP 561. This will allow type checking tools in dependent projects
  to use type annotations from Python-RSA
- Use the Chinese Remainder Theorem when decrypting with a private key. This
  makes decryption 2-4x faster

diffstat:

 security/py-rsa/Makefile |  6 ++----
 security/py-rsa/PLIST    |  3 ++-
 security/py-rsa/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 9 deletions(-)

diffs (51 lines):

diff -r c716c46ecbb2 -r d1f6c8b36034 security/py-rsa/Makefile
--- a/security/py-rsa/Makefile  Sat Dec 11 20:03:05 2021 +0000
+++ b/security/py-rsa/Makefile  Sat Dec 11 20:06:49 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2021/02/24 19:14:38 adam Exp $
+# $NetBSD: Makefile,v 1.12 2021/12/11 20:06:49 adam Exp $
 
-DISTNAME=      rsa-4.7.2
+DISTNAME=      rsa-4.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rsa/}
@@ -11,8 +11,6 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-asn1>=0.1.3:../../security/py-asn1
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
diff -r c716c46ecbb2 -r d1f6c8b36034 security/py-rsa/PLIST
--- a/security/py-rsa/PLIST     Sat Dec 11 20:03:05 2021 +0000
+++ b/security/py-rsa/PLIST     Sat Dec 11 20:06:49 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/09/01 04:09:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/12/11 20:06:49 adam Exp $
 bin/pyrsa-decrypt-${PYVERSSUFFIX}
 bin/pyrsa-encrypt-${PYVERSSUFFIX}
 bin/pyrsa-keygen-${PYVERSSUFFIX}
@@ -47,6 +47,7 @@
 ${PYSITELIB}/rsa/prime.py
 ${PYSITELIB}/rsa/prime.pyc
 ${PYSITELIB}/rsa/prime.pyo
+${PYSITELIB}/rsa/py.typed
 ${PYSITELIB}/rsa/randnum.py
 ${PYSITELIB}/rsa/randnum.pyc
 ${PYSITELIB}/rsa/randnum.pyo
diff -r c716c46ecbb2 -r d1f6c8b36034 security/py-rsa/distinfo
--- a/security/py-rsa/distinfo  Sat Dec 11 20:03:05 2021 +0000
+++ b/security/py-rsa/distinfo  Sat Dec 11 20:06:49 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 11:17:49 nia Exp $
+$NetBSD: distinfo,v 1.16 2021/12/11 20:06:49 adam Exp $
 
-BLAKE2s (rsa-4.7.2.tar.gz) = 65515273a97b0adfeca1311b3d28adad0f6316e6cf55f90d683280bc096fc0fc
-SHA512 (rsa-4.7.2.tar.gz) = 63f561774dbaa10511167cba31e0f852e32b3250f2803edaa2729dc2b28baa2c42cb79dfbd49e38eb42ce82f665ed4c3d9dcc810c37380401e2c62202b1c7948
-Size (rsa-4.7.2.tar.gz) = 39711 bytes
+BLAKE2s (rsa-4.8.tar.gz) = 39a7384ac03dd11e06048b7bef761bcbc638f8fd3259e4e68521fac78c128089
+SHA512 (rsa-4.8.tar.gz) = 9dd030eb64aefe62aeefca3e8dbf90a363ef2220409a60911b6f3668dd8f36bd03ee40ea243fe8db98776e654131bfa301b781d4fc50e34f2aafd6d47165b6ba
+Size (rsa-4.8.tar.gz) = 28396 bytes



Home | Main Index | Thread Index | Old Index