diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-01 22:21:16 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-02 14:57:30 +0800 |
| commit | 658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch) | |
| tree | 94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/django-compressor | |
| parent | c37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff) | |
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>
Diffstat (limited to 'lang/python/django-compressor')
| -rw-r--r-- | lang/python/django-compressor/Makefile | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/lang/python/django-compressor/Makefile b/lang/python/django-compressor/Makefile index 0c277d362..8f420a153 100644 --- a/lang/python/django-compressor/Makefile +++ b/lang/python/django-compressor/Makefile @@ -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)) |
