Skip to content

Commit 4ed4589

Browse files
committed
python-gnupg: bump to 0.5.6
Changelog since 0.5.1: - Add configurable I/O buffer size via buffer_size attribute (0.5.2) - Add Web Key Directory (WKD) support for automatic key location (0.5.3) - Fix sensitive data exposure by removing decryption result logging (0.5.3) - Fix exception handling in on_data callable during GPG operations (0.5.4) - Fix GPG version detection robustness (0.5.5) - Add uid_map attribute to capture UID information (0.5.5) - Add capability, fingerprint and keygrip to subkey_info (0.5.6) - Fix username handling when verification keys are expired/revoked (0.5.6) Full changelog: https://github.com/vsajip/python-gnupg/releases Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
1 parent c379299 commit 4ed4589

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

lang/python/python-gnupg/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@
55
include $(TOPDIR)/rules.mk
66

77
PKG_NAME:=python-gnupg
8-
PKG_VERSION:=0.5.1
8+
PKG_VERSION:=0.5.6
99
PKG_RELEASE:=1
1010

1111
PYPI_NAME:=python-gnupg
12-
PKG_HASH:=5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8
12+
PKG_SOURCE:=python_gnupg-$(PKG_VERSION).tar.gz
13+
PKG_HASH:=5743e96212d38923fc19083812dc127907e44dbd3bcf0db4d657e291d3c21eac
1314

1415
PKG_LICENSE:=BSD-3-Clause
1516
PKG_LICENSE_FILES:=LICENSE.txt
1617
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
1718
PKG_CPE_ID:=cpe:/a:python:python-gnupg
1819

20+
PKG_BUILD_DEPENDS:=python-setuptools/host
21+
1922
include ../pypi.mk
23+
2024
include $(INCLUDE_DIR)/package.mk
2125
include ../python3-package.mk
2226

@@ -26,7 +30,7 @@ define Package/python3-gnupg
2630
SUBMENU:=Python
2731
TITLE:=A wrapper for GnuPG
2832
URL:=https://github.com/vsajip/python-gnupg
29-
DEPENDS:=+python3-light +python3-logging
33+
DEPENDS:=+python3-light +python3-logging +python3-email +python3-urllib
3034
endef
3135

3236
define Package/python3-gnupg/description

lang/python/python-gnupg/test.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
3+
[ "$1" = python3-gnupg ] || exit 0
4+
5+
python3 - << 'EOF'
6+
import gnupg
7+
8+
gpg = gnupg.GPG.__new__(gnupg.GPG)
9+
assert gpg is not None
10+
EOF

0 commit comments

Comments
 (0)