summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-05-22 12:17:38 +0000
committeradam <adam@pkgsrc.org>2022-05-22 12:17:38 +0000
commit2aabf02ef3c487e40d17486039b336e8a5d23969 (patch)
treef886d74b1ca96c44863bdb1426f131bf6e122343 /security
parent10deceb6c6c23c7c1388d374ca55deab9dad6b18 (diff)
downloadpkgsrc-2aabf02ef3c487e40d17486039b336e8a5d23969.tar.gz
py-gnupg: updated to 0.4.9
0.4.9 Added a status attribute to the returned object from gen_key() which is set to 'ok' if a key was successfully created, or 'key not created' if that was reported by gpg, or None in any other case. Provided the ability to add subkeys. Thanks to Daniel Kilimnik for the feature request and patch. Added keygrip values to the information collected when keys are listed. Thanks to Daniel Kilimnik for the feature request and patch. Added extra_args to send_keys(), recv_keys() and search_keys() to allow passing options relating to key servers.
Diffstat (limited to 'security')
-rw-r--r--security/py-gnupg/Makefile7
-rw-r--r--security/py-gnupg/PLIST15
-rw-r--r--security/py-gnupg/distinfo10
-rw-r--r--security/py-gnupg/patches/patch-gnupg.py20
4 files changed, 28 insertions, 24 deletions
diff --git a/security/py-gnupg/Makefile b/security/py-gnupg/Makefile
index 38288b007c8..221217c94b2 100644
--- a/security/py-gnupg/Makefile
+++ b/security/py-gnupg/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2022/01/11 08:45:10 adam Exp $
+# $NetBSD: Makefile,v 1.31 2022/05/22 12:17:38 adam Exp $
-DISTNAME= python-gnupg-0.4.8
+DISTNAME= python-gnupg-0.4.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-gnupg/}
@@ -10,9 +10,10 @@ HOMEPAGE= https://docs.red-dove.com/python-gnupg/
COMMENT= Wrapper for the Gnu Privacy Guard
LICENSE= modified-bsd
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.29.0:../../devel/py-wheel
DEPENDS+= gnupg2>=2.2.0:../../security/gnupg2
USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-gnupg/PLIST b/security/py-gnupg/PLIST
index cab5af3b62d..da70c8f097b 100644
--- a/security/py-gnupg/PLIST
+++ b/security/py-gnupg/PLIST
@@ -1,8 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/11 08:45:10 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2022/05/22 12:17:38 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${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}/top_level.txt
${PYSITELIB}/gnupg.py
${PYSITELIB}/gnupg.pyc
-${PYSITELIB}/gnupg.pyo
diff --git a/security/py-gnupg/distinfo b/security/py-gnupg/distinfo
index fa704d68fe5..aaef64d15ae 100644
--- a/security/py-gnupg/distinfo
+++ b/security/py-gnupg/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/01/11 08:45:10 adam Exp $
+$NetBSD: distinfo,v 1.7 2022/05/22 12:17:38 adam Exp $
-BLAKE2s (python-gnupg-0.4.8.tar.gz) = 2b6712647f4c788ff128d3bbd19d6e15f9ef889b38c2a55363050440128478be
-SHA512 (python-gnupg-0.4.8.tar.gz) = fcaa121a356595328a26e8184280f859dfc2771b9692dcf28db2d9b0fdddc77d4c1238665a8e419758ec17320616e7741aacd3638e37d449b86fe5555beef1f6
-Size (python-gnupg-0.4.8.tar.gz) = 58696 bytes
-SHA1 (patch-gnupg.py) = e19fdeda942f17869f068709cd826d9ea5992bf9
+BLAKE2s (python-gnupg-0.4.9.tar.gz) = f34118ceeb46edd53db299c9191fcf58382aee7ede470b9fc45d97ae06725dcc
+SHA512 (python-gnupg-0.4.9.tar.gz) = e59685bea966addbfacfd5516601c518c9ccd7a828250584a00dca5c2062b30bd859ae73b467bd16db60abd800bd0b66f68177e56d3c48654416a294e72f3e8f
+Size (python-gnupg-0.4.9.tar.gz) = 59982 bytes
+SHA1 (patch-gnupg.py) = b8cb829a438b8865cee207c21c9ea3e43b5e3ecf
diff --git a/security/py-gnupg/patches/patch-gnupg.py b/security/py-gnupg/patches/patch-gnupg.py
index ede7a2eedb8..9d2dd998d84 100644
--- a/security/py-gnupg/patches/patch-gnupg.py
+++ b/security/py-gnupg/patches/patch-gnupg.py
@@ -1,15 +1,15 @@
-$NetBSD: patch-gnupg.py,v 1.1 2022/01/11 08:45:11 adam Exp $
+$NetBSD: patch-gnupg.py,v 1.2 2022/05/22 12:17:38 adam Exp $
Look for gpg2 executable.
---- gnupg.py.orig 2022-01-11 08:31:14.000000000 +0000
+--- gnupg.py.orig 2022-05-20 08:01:43.000000000 +0000
+++ gnupg.py
-@@ -832,7 +832,7 @@ class GPG(object):
- }
-
+@@ -874,7 +874,7 @@ class GPG(object):
"Encapsulate access to the gpg executable"
-- def __init__(self, gpgbinary='gpg', gnupghome=None, verbose=False,
-+ def __init__(self, gpgbinary='gpg2', gnupghome=None, verbose=False,
- use_agent=False, keyring=None, options=None,
- secret_keyring=None):
- """Initialize a GPG process wrapper. Options are:
+
+ def __init__(self,
+- gpgbinary='gpg',
++ gpgbinary='gpg2',
+ gnupghome=None,
+ verbose=False,
+ use_agent=False,