summaryrefslogtreecommitdiffstats
path: root/lang/python/python-gnupg/Makefile
blob: 23ab26b488ff365fb369c516a8b5530573a921a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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:=1

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-email +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))