Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions lang/python/python-gnupg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-gnupg
PKG_VERSION:=0.5.1
PKG_VERSION:=0.5.6
PKG_RELEASE:=1

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

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

PKG_BUILD_DEPENDS:=python-setuptools/host

include ../pypi.mk

include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk

Expand All @@ -26,7 +30,7 @@ define Package/python3-gnupg
SUBMENU:=Python
TITLE:=A wrapper for GnuPG
URL:=https://github.com/vsajip/python-gnupg
DEPENDS:=+python3-light +python3-logging
DEPENDS:=+python3-light +python3-logging +python3-email +python3-urllib
endef

define Package/python3-gnupg/description
Expand Down
10 changes: 10 additions & 0 deletions lang/python/python-gnupg/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

[ "$1" = python3-gnupg ] || exit 0

python3 - << 'EOF'
import gnupg

gpg = gnupg.GPG.__new__(gnupg.GPG)
assert gpg is not None
EOF
Loading