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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user