mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04: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:
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python-package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/django-jsonfield/Default
|
||||
@@ -31,21 +30,6 @@ define Package/django-jsonfield/Default
|
||||
URL:=https://github.com/rpkilby/jsonfield
|
||||
endef
|
||||
|
||||
define Package/python-django-jsonfield
|
||||
$(call Package/django-jsonfield/Default)
|
||||
DEPENDS:= \
|
||||
+PACKAGE_python-django-jsonfield:python \
|
||||
python-django1 \
|
||||
+PACKAGE_python-django-jsonfield:python-six
|
||||
VARIANT:=python
|
||||
MDEPENDS:=python-django1
|
||||
endef
|
||||
|
||||
define Package/python-django-jsonfield/description
|
||||
jsonfield is a reusable model field that allows you to store validated
|
||||
JSON, automatically handling serialization to and from the database.
|
||||
endef
|
||||
|
||||
define Package/python3-django-jsonfield
|
||||
$(call Package/django-jsonfield/Default)
|
||||
DEPENDS:= \
|
||||
@@ -56,15 +40,12 @@ $(call Package/django-jsonfield/Default)
|
||||
endef
|
||||
|
||||
define Package/python3-django-jsonfield/description
|
||||
$(call Package/python-django-jsonfield/description)
|
||||
jsonfield is a reusable model field that allows you to store validated
|
||||
JSON, automatically handling serialization to and from the database.
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
$(eval $(call PyPackage,python-django-jsonfield))
|
||||
$(eval $(call BuildPackage,python-django-jsonfield))
|
||||
$(eval $(call BuildPackage,python-django-jsonfield-src))
|
||||
|
||||
$(eval $(call Py3Package,python3-django-jsonfield))
|
||||
$(eval $(call BuildPackage,python3-django-jsonfield))
|
||||
$(eval $(call BuildPackage,python3-django-jsonfield-src))
|
||||
|
||||
Reference in New Issue
Block a user