summaryrefslogtreecommitdiff
path: root/lang/python/python-gnupg/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-02 14:46:58 +0300
committerGitHub <noreply@github.com>2020-04-02 14:46:58 +0300
commit803dd9c739fa392150adc1b1dda9fa84ba3ce454 (patch)
tree3f48e030be3ab66d8fc446065257a6382c97a97c /lang/python/python-gnupg/Makefile
parent8d53a5605d1cf2f9e0721ce0891c50ebf91a00c6 (diff)
parent658b1b67587c4698f6a4c182e9afea7cb5fba2ee (diff)
Merge pull request #11740 from jefferyto/python2-remove-libraries
python-libraries: Remove Python 2 variants/libraries
Diffstat (limited to 'lang/python/python-gnupg/Makefile')
-rw-r--r--lang/python/python-gnupg/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/lang/python/python-gnupg/Makefile b/lang/python/python-gnupg/Makefile
index 54a827e95..53f716547 100644
--- a/lang/python/python-gnupg/Makefile
+++ b/lang/python/python-gnupg/Makefile
@@ -18,7 +18,6 @@ PKG_CPE_ID:=cpe:/a:python-gnupg_project:python-gnupg
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
include ../python3-package.mk
define Package/python-gnupg/Default
@@ -29,13 +28,6 @@ define Package/python-gnupg/Default
DEPENDS:=+gnupg
endef
-define Package/python-gnupg
-$(call Package/python-gnupg/Default)
- TITLE:=python-pyodbc
- DEPENDS+=+PACKAGE_python-gnupg:python-light
- VARIANT:=python
-endef
-
define Package/python3-gnupg
$(call Package/python-gnupg/Default)
TITLE:=python3-gnupg
@@ -43,7 +35,7 @@ $(call Package/python-gnupg/Default)
VARIANT:=python3
endef
-define Package/python-gnupg/description
+define Package/python3-gnupg/description
A Python wrapper for GnuPG
This module allows easy access to GnuPG.s key management, encryption
@@ -53,29 +45,15 @@ 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 Package/python3-gnupg/description
-$(call Package/python-gnupg/description)
(Variant for Python3)
endef
-define PyBuild/Compile
- $(call Build/Compile/PyMod,,\
- install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
- )
-endef
-
define Py3Build/Compile
$(call Build/Compile/Py3Mod,,\
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
)
endef
-
-$(eval $(call PyPackage,python-gnupg))
-$(eval $(call BuildPackage,python-gnupg))
-
$(eval $(call Py3Package,python3-gnupg))
$(eval $(call BuildPackage,python3-gnupg))