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_HASH:=b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-requests-oauthlib/Default
@@ -29,15 +28,6 @@ define Package/python-requests-oauthlib/Default
URL:=https://github.com/requests/requests-oauthlib
endef
define Package/python-requests-oauthlib
$(call Package/python-requests-oauthlib/Default)
DEPENDS:= \
+PACKAGE_python-requests-oauthlib:python \
+PACKAGE_python-requests-oauthlib:python-oauthlib \
+PACKAGE_python-requests-oauthlib:python-requests
VARIANT:=python
endef
define Package/python3-requests-oauthlib
$(call Package/python-requests-oauthlib/Default)
DEPENDS:= \
@@ -47,21 +37,13 @@ define Package/python3-requests-oauthlib
VARIANT:=python3
endef
define Package/python-requests-oauthlib/description
define Package/python3-requests-oauthlib/description
This python package provides first-class OAuth library support
for Requests.
endef
define Package/python3-requests-oauthlib/description
$(call Package/python-requests-oauthlib/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-requests-oauthlib))
$(eval $(call BuildPackage,python-requests-oauthlib))
$(eval $(call BuildPackage,python-requests-oauthlib-src))
$(eval $(call Py3Package,python3-requests-oauthlib))
$(eval $(call BuildPackage,python3-requests-oauthlib))
$(eval $(call BuildPackage,python3-requests-oauthlib-src))