mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
As we're seeing in various test.sh scrip runs, importing 'email' fails
with not finding 'urllib' and vice-versa.
Then via a7e96ec91 ("python3-email: add python3-urllib as dependency")
I created a circular dependency.
So, might as well merge the two packages into one (named python3-urllib)
and updates all dependencies to pull python3-urllib.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
48 lines
1.4 KiB
Makefile
48 lines
1.4 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.5.6
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=python-gnupg
|
|
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
|
|
|
|
define Package/python3-gnupg
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=A wrapper for GnuPG
|
|
URL:=https://github.com/vsajip/python-gnupg
|
|
DEPENDS:=+python3-light +python3-logging +python3-urllib
|
|
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))
|