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>
This commit is contained in:
Jeffery To
2020-04-01 22:21:16 +08:00
parent c37b15e1c4
commit 658b1b6758
78 changed files with 89 additions and 1501 deletions

View File

@@ -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))