packages/lang/python/python-gnupg/Makefile
Jeffery To 125f9fca87 python-gnupg: Update to 0.4.6
This also updates all package metadata (it appears this information was
not updated when the package switched from packaging "gnupg" from PyPI
to "python-gnupg"), updates the package to use the default Python
package build recipe, and adds a src package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 05:25:52 +08:00

43 lines
1.3 KiB
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-gnupg
PKG_VERSION:=0.4.6
PKG_RELEASE:=1
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=3aa0884b3bd414652c2385b9df39e7b87272c2eca1b8fcc3089bc9e58652019a
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_CPE_ID:=cpe:/a:python:python-gnupg
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-gnupg
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=A wrapper for GnuPG
URL:=https://docs.red-dove.com/python-gnupg/
DEPENDS:=+gnupg +python3-light +python3-logging
endef
define Package/python3-gnupg/description
The gnupg module allows Python programs to make use of the
functionality provided by the GNU Privacy Guard (abbreviated GPG or
GnuPG). Using this module, Python programs can encrypt and decrypt
data, digitally sign documents and verify digital signatures, manage
(generate, list and delete) encryption keys, using Public Key
Infrastructure (PKI) encryption technology based on OpenPGP.
endef
$(eval $(call Py3Package,python3-gnupg))
$(eval $(call BuildPackage,python3-gnupg))
$(eval $(call BuildPackage,python3-gnupg-src))