pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-gnupg



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul 25 08:08:54 UTC 2023

Modified Files:
        pkgsrc/security/py-gnupg: Makefile distinfo
        pkgsrc/security/py-gnupg/patches: patch-gnupg.py

Log Message:
py-gnupg: updated to 0.5.1

0.5.1

Released: 2023-07-22

Added TRUST_EXPIRED to trust_keys. Thanks to Leif Liddy for the patch.
Fix 206: Remove deprecated --always-trust in favour of --trust-model always
Fix 208: Add status_detail attribute to result objects which is populated when the status is 'invalid recipient' (encryption/decryption) or 'invalid signer' (signing). This attribute will be set when 
the result object's status attribute is set to invalid recipient and will contain more information about the failure in the form of reason:ident where reason is a text description of the reason, and 
ident identifies the recipient key.
Add scan_keys_mem() function to scan keys in a string. Thanks to Sky Moore for the patch.
Fix 214: Handle multiple signatures when one of them is invalid or unverified.
A problems attribute was added which holds problems reported by gpg during verification. This is a list of dictionaries, one for each reported problem. Each dictionary will have status and keyid keys 
indicating the problem and the corresponding key; other information in the dictionaries will be error specific.
Fix 217: Use machine-readable interface to query the gpg version. Thanks to Justus Winter for the patch.
Added the ability to export keys to a file. Thanks to Leif Liddy for the patch.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/security/py-gnupg/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/py-gnupg/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/py-gnupg/patches/patch-gnupg.py

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-gnupg/Makefile
diff -u pkgsrc/security/py-gnupg/Makefile:1.34 pkgsrc/security/py-gnupg/Makefile:1.35
--- pkgsrc/security/py-gnupg/Makefile:1.34      Tue Jun  6 12:42:16 2023
+++ pkgsrc/security/py-gnupg/Makefile   Tue Jul 25 08:08:54 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2023/06/06 12:42:16 riastradh Exp $
+# $NetBSD: Makefile,v 1.35 2023/07/25 08:08:54 adam Exp $
 
-DISTNAME=      python-gnupg-0.5.0
+DISTNAME=      python-gnupg-0.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-gnupg/}
@@ -10,12 +10,16 @@ HOMEPAGE=   https://docs.red-dove.com/pyth
 COMMENT=       Wrapper for the Gnu Privacy Guard
 LICENSE=       modified-bsd
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-build
-
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.29.0:../../devel/py-wheel
 DEPENDS+=      gnupg2>=2.2.0:../../security/gnupg2
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+TEST_ENV+=     GPGBINARY=${LOCALBASE}/bin/gpg2
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-gnupg/distinfo
diff -u pkgsrc/security/py-gnupg/distinfo:1.8 pkgsrc/security/py-gnupg/distinfo:1.9
--- pkgsrc/security/py-gnupg/distinfo:1.8       Wed Aug 24 07:02:07 2022
+++ pkgsrc/security/py-gnupg/distinfo   Tue Jul 25 08:08:54 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2022/08/24 07:02:07 adam Exp $
+$NetBSD: distinfo,v 1.9 2023/07/25 08:08:54 adam Exp $
 
-BLAKE2s (python-gnupg-0.5.0.tar.gz) = 36aab693930f28210add8a13b9c6e1c79d53bb05a8af899bba05151cd1546e88
-SHA512 (python-gnupg-0.5.0.tar.gz) = cfd302257b53fdc9318004db7323ea5bf4bddc055b65b24386a1ecb27cd476fdf1bc771adcdde70a4eef442982a0c57dc832b92274bbe5ba16cbdf3247f4e77a
-Size (python-gnupg-0.5.0.tar.gz) = 61154 bytes
-SHA1 (patch-gnupg.py) = b8cb829a438b8865cee207c21c9ea3e43b5e3ecf
+BLAKE2s (python-gnupg-0.5.1.tar.gz) = 0849f40d47567b8506ed5c94a88ffec79e94be7ff9f3a6aec136cd766c254df8
+SHA512 (python-gnupg-0.5.1.tar.gz) = 7be68c2f8aad0e0923fd27e53bbbfaea8fe7b3816ff231ab6a06a52efd3a4a594af27355abcf0a453e1d0556ad8c02e960ff7c84cb0ce7d053a1adc91131eea0
+Size (python-gnupg-0.5.1.tar.gz) = 64377 bytes
+SHA1 (patch-gnupg.py) = e3557b796978b1ca830bd1221821c08f3fbc5769

Index: pkgsrc/security/py-gnupg/patches/patch-gnupg.py
diff -u pkgsrc/security/py-gnupg/patches/patch-gnupg.py:1.2 pkgsrc/security/py-gnupg/patches/patch-gnupg.py:1.3
--- pkgsrc/security/py-gnupg/patches/patch-gnupg.py:1.2 Sun May 22 12:17:38 2022
+++ pkgsrc/security/py-gnupg/patches/patch-gnupg.py     Tue Jul 25 08:08:54 2023
@@ -1,11 +1,11 @@
-$NetBSD: patch-gnupg.py,v 1.2 2022/05/22 12:17:38 adam Exp $
+$NetBSD: patch-gnupg.py,v 1.3 2023/07/25 08:08:54 adam Exp $
 
 Look for gpg2 executable.
 
---- gnupg.py.orig      2022-05-20 08:01:43.000000000 +0000
+--- gnupg.py.orig      2023-07-22 09:48:02.000000000 +0000
 +++ gnupg.py
-@@ -874,7 +874,7 @@ class GPG(object):
-     "Encapsulate access to the gpg executable"
+@@ -1029,7 +1029,7 @@ class GPG(object):
+     "A map of GPG operations to result object types."
  
      def __init__(self,
 -                 gpgbinary='gpg',



Home | Main Index | Thread Index | Old Index