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

@@ -21,7 +21,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/django-compressor/Default
@@ -32,24 +31,6 @@ define Package/django-compressor/Default
URL:=https://django-compressor.readthedocs.io
endef
define Package/python-django-compressor
$(call Package/django-compressor/Default)
DEPENDS:= \
+PACKAGE_python-django-compressor:python \
python-django1 \
+PACKAGE_python-django-compressor:python-django-appconf \
+PACKAGE_python-django-compressor:python-rcssmin
VARIANT:=python
MDEPENDS:=python-django1
endef
define Package/python-django-compressor/description
Compresses linked and inline JavaScript or CSS into single cached files.
Note that the JavaScript filter is not being installed as a dependency.
You'll need to build the rjsmin module (it is not par of the openwrt standard
feeds) to use JavaScript functionality.
endef
define Package/python3-django-compressor
$(call Package/django-compressor/Default)
DEPENDS:= \
@@ -61,15 +42,14 @@ $(call Package/django-compressor/Default)
endef
define Package/python3-django-compressor/description
$(call Package/python-django-compressor/description)
Compresses linked and inline JavaScript or CSS into single cached files.
Note that the JavaScript filter is not being installed as a dependency.
You'll need to build the rjsmin module (it is not par of the openwrt standard
feeds) to use JavaScript functionality.
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-django-compressor))
$(eval $(call BuildPackage,python-django-compressor))
$(eval $(call BuildPackage,python-django-compressor-src))
$(eval $(call Py3Package,python3-django-compressor))
$(eval $(call BuildPackage,python3-django-compressor))
$(eval $(call BuildPackage,python3-django-compressor-src))