From: Jeffery To Date: Wed, 22 Apr 2020 21:25:52 +0000 (+0800) Subject: python-gnupg: Update to 0.4.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F11934%2Fhead;p=feed%2Fpackages.git 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 --- diff --git a/lang/python/python-gnupg/Makefile b/lang/python/python-gnupg/Makefile index bf782f9482..6a4f99b2c9 100644 --- a/lang/python/python-gnupg/Makefile +++ b/lang/python/python-gnupg/Makefile @@ -5,16 +5,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-gnupg -PKG_VERSION:=0.4.4 -PKG_RELEASE:=3 +PKG_VERSION:=0.4.6 +PKG_RELEASE:=1 PYPI_NAME:=$(PKG_NAME) -PKG_HASH:=45daf020b370bda13a1429c859fcdff0b766c0576844211446f9266cae97fb0e +PKG_HASH:=3aa0884b3bd414652c2385b9df39e7b87272c2eca1b8fcc3089bc9e58652019a -PKG_LICENSE:=GPL-3.0-or-later -PKG_LICENSE_FILES:=LICENSE +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE.txt PKG_MAINTAINER:=Daniel Golle -PKG_CPE_ID:=cpe:/a:python-gnupg_project:python-gnupg +PKG_CPE_ID:=cpe:/a:python:python-gnupg include ../pypi.mk include $(INCLUDE_DIR)/package.mk @@ -24,28 +24,20 @@ define Package/python3-gnupg SECTION:=lang CATEGORY:=Languages SUBMENU:=Python - TITLE:=python3-gnupg - URL:=https://gnupg.readthedocs.io/en/latest/ - DEPENDS:=+gnupg +python3-light + 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 -A Python wrapper for GnuPG - -This module allows easy access to GnuPG.s key management, encryption -and signature functionality from Python programs, by interacting with -GnuPG through file descriptors. Input arguments are strictly checked -and sanitised, and therefore this module should be safe to use in -networked applications requiring direct user input. It is intended for -use on Windows, MacOS X, BSD, or Linux, with Python 2.6, Python 2.7, -Python 3.3, Python 3.4, or PyPy. -endef - -define Py3Build/Compile - $(call Python3/ModSetup,,\ - install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ - ) + 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))