pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-gnupg py-gnupg: updated to 0.4.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab9e3f850966
branches: trunk
changeset: 379713:ab9e3f850966
user: adam <adam%pkgsrc.org@localhost>
date: Sun May 22 12:17:38 2022 +0000
description:
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:
security/py-gnupg/Makefile | 7 ++++---
security/py-gnupg/PLIST | 15 +++++++++------
security/py-gnupg/distinfo | 10 +++++-----
security/py-gnupg/patches/patch-gnupg.py | 20 ++++++++++----------
4 files changed, 28 insertions(+), 24 deletions(-)
diffs (89 lines):
diff -r 612c968df1cd -r ab9e3f850966 security/py-gnupg/Makefile
--- a/security/py-gnupg/Makefile Sun May 22 12:16:59 2022 +0000
+++ b/security/py-gnupg/Makefile Sun May 22 12:17:38 2022 +0000
@@ -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 @@
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 -r 612c968df1cd -r ab9e3f850966 security/py-gnupg/PLIST
--- a/security/py-gnupg/PLIST Sun May 22 12:16:59 2022 +0000
+++ b/security/py-gnupg/PLIST Sun May 22 12:17:38 2022 +0000
@@ -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 -r 612c968df1cd -r ab9e3f850966 security/py-gnupg/distinfo
--- a/security/py-gnupg/distinfo Sun May 22 12:16:59 2022 +0000
+++ b/security/py-gnupg/distinfo Sun May 22 12:17:38 2022 +0000
@@ -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 -r 612c968df1cd -r ab9e3f850966 security/py-gnupg/patches/patch-gnupg.py
--- a/security/py-gnupg/patches/patch-gnupg.py Sun May 22 12:16:59 2022 +0000
+++ b/security/py-gnupg/patches/patch-gnupg.py Sun May 22 12:17:38 2022 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index