mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 00:51:19 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user