blob: 98192ac8eb894b37c271a755c12c148bdc09fe74 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001# This is free software, licensed under the GNU General Public License v2.
2# See /LICENSE for more information.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=python-gnupg
8PKG_VERSION:=0.5.1
9PKG_RELEASE:=1
10
11PYPI_NAME:=python-gnupg
12PKG_HASH:=5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8
13
14PKG_LICENSE:=BSD-3-Clause
15PKG_LICENSE_FILES:=LICENSE.txt
16PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
17PKG_CPE_ID:=cpe:/a:python:python-gnupg
18
19include ../pypi.mk
20include $(INCLUDE_DIR)/package.mk
21include ../python3-package.mk
22
23define Package/python3-gnupg
24 SECTION:=lang
25 CATEGORY:=Languages
26 SUBMENU:=Python
27 TITLE:=A wrapper for GnuPG
28 URL:=https://github.com/vsajip/python-gnupg
29 DEPENDS:=+python3-light +python3-logging
30endef
31
32define Package/python3-gnupg/description
33 The gnupg module allows Python programs to make use of the
34 functionality provided by the GNU Privacy Guard (abbreviated GPG or
35 GnuPG). Using this module, Python programs can encrypt and decrypt
36 data, digitally sign documents and verify digital signatures, manage
37 (generate, list and delete) encryption keys, using Public Key
38 Infrastructure (PKI) encryption technology based on OpenPGP.
39endef
40
41$(eval $(call Py3Package,python3-gnupg))
42$(eval $(call BuildPackage,python3-gnupg))
43$(eval $(call BuildPackage,python3-gnupg-src))