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_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/django-ranged-response/Default
@@ -29,19 +28,6 @@ define Package/django-ranged-response/Default
URL:=https://github.com/i3thuan5/django-ranged-response
endef
define Package/python-django-ranged-response
$(call Package/django-ranged-response/Default)
DEPENDS:= \
+PACKAGE_python-django-ranged-response:python \
python-django1
VARIANT:=python
MDEPENDS:=python-django1
endef
define Package/python-django-ranged-response/description
Modified Django FileResponse that adds Content-Range headers.
endef
define Package/python3-django-ranged-response
$(call Package/django-ranged-response/Default)
DEPENDS:= \
@@ -51,15 +37,11 @@ $(call Package/django-ranged-response/Default)
endef
define Package/python3-django-ranged-response/description
$(call Package/python-django-ranged-response/description)
Modified Django FileResponse that adds Content-Range headers.
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-django-ranged-response))
$(eval $(call BuildPackage,python-django-ranged-response))
$(eval $(call BuildPackage,python-django-ranged-response-src))
$(eval $(call Py3Package,python3-django-ranged-response))
$(eval $(call BuildPackage,python3-django-ranged-response))
$(eval $(call BuildPackage,python3-django-ranged-response-src))