summaryrefslogtreecommitdiff
path: root/lang/python/python-gnupg/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-04-01 22:21:16 +0800
committerJeffery To <jeffery.to@gmail.com>2020-04-02 14:57:30 +0800
commit658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch)
tree94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/python-gnupg/Makefile
parentc37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff)
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
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))