b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # This is free software, licensed under the GNU General Public License v2. |
| 2 | # See /LICENSE for more information. |
| 3 | # |
| 4 | |
| 5 | include $(TOPDIR)/rules.mk |
| 6 | |
| 7 | PKG_NAME:=python-gnupg |
| 8 | PKG_VERSION:=0.5.1 |
| 9 | PKG_RELEASE:=1 |
| 10 | |
| 11 | PYPI_NAME:=python-gnupg |
| 12 | PKG_HASH:=5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8 |
| 13 | |
| 14 | PKG_LICENSE:=BSD-3-Clause |
| 15 | PKG_LICENSE_FILES:=LICENSE.txt |
| 16 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 17 | PKG_CPE_ID:=cpe:/a:python:python-gnupg |
| 18 | |
| 19 | include ../pypi.mk |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | include ../python3-package.mk |
| 22 | |
| 23 | define 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 |
| 30 | endef |
| 31 | |
| 32 | define 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. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-gnupg)) |
| 42 | $(eval $(call BuildPackage,python3-gnupg)) |
| 43 | $(eval $(call BuildPackage,python3-gnupg-src)) |