From 658b1b67587c4698f6a4c182e9afea7cb5fba2ee Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 22:21:16 +0800 Subject: python-libraries: Remove Python 2 variants The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To --- lang/python/django-restframework39/Makefile | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'lang/python/django-restframework39') diff --git a/lang/python/django-restframework39/Makefile b/lang/python/django-restframework39/Makefile index 5cdb76bfc..6c45abb73 100644 --- a/lang/python/django-restframework39/Makefile +++ b/lang/python/django-restframework39/Makefile @@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE.md include ../pypi.mk include $(INCLUDE_DIR)/package.mk -include ../python-package.mk include ../python3-package.mk define Package/django-restframework39/Default @@ -31,19 +30,6 @@ define Package/django-restframework39/Default URL:=https://www.django-rest-framework.org endef -define Package/python-django-restframework39 -$(call Package/django-restframework39/Default) - DEPENDS:= \ - +PACKAGE_python-django-restframework39:python \ - python-django1 - VARIANT:=python - MDEPENDS:=python-django1 -endef - -define Package/python-django-restframework39/description - Web APIs for Django, made easy. (3.9 series) -endef - define Package/python3-django-restframework39 $(call Package/django-restframework39/Default) DEPENDS:= \ @@ -54,15 +40,11 @@ $(call Package/django-restframework39/Default) endef define Package/python3-django-restframework39/description -$(call Package/python-django-restframework39/description) + Web APIs for Django, made easy. (3.9 series) . (Variant for Python3) endef -$(eval $(call PyPackage,python-django-restframework39)) -$(eval $(call BuildPackage,python-django-restframework39)) -$(eval $(call BuildPackage,python-django-restframework39-src)) - $(eval $(call Py3Package,python3-django-restframework39)) $(eval $(call BuildPackage,python3-django-restframework39)) $(eval $(call BuildPackage,python3-django-restframework39-src)) -- cgit