diff options
| author | zhengruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-09-08 10:42:13 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-09-13 22:24:34 -0400 |
| commit | 60a78d6e2a64f6c2491be782940f96515a2b94f8 (patch) | |
| tree | 98892f9552d3888ccf769adbe87f2d4448c101df /meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb | |
| parent | ca79198f3d78991d8ac1f4c9d89af68f5ad4c8c9 (diff) | |
| download | meta-cloud-services-60a78d6e2a64f6c2491be782940f96515a2b94f8.tar.gz | |
python3-ddjango-compressor: Change to python3
Because python2 is no longer maintained, bb file is changed to python3 version.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb b/meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb new file mode 100644 index 0000000..40a0133 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-django-compressor_2.1.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "Compresses linked and inline JavaScript or CSS into single cached files." | ||
| 2 | HOMEPAGE = "http://django-compressor.readthedocs.org/en/latest/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT & BSD-3-Clause & BSD-2-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=021598d037fd39ab02e53249e1fe4b6f" | ||
| 6 | |||
| 7 | PYPI_PACKAGE = "django_compressor" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "21ecfe4e8615eae64f7068a5599df9af" | ||
| 10 | SRC_URI[sha256sum] = "ae0051bc0c7a0660c93434e68d617553fccdd573293dfd15aa33f78d2b4954ef" | ||
| 11 | |||
| 12 | inherit setuptools3 pypi | ||
| 13 | |||
| 14 | RDEPENDS_${PN} += " \ | ||
| 15 | python3-django-appconf \ | ||
| 16 | python3-rcssmin \ | ||
| 17 | python3-rjsmin \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_append() { | ||
| 21 | # Ensure permisive perms are granted | ||
| 22 | find -L "${D}${PYTHON_SITEPACKAGES_DIR}/compressor" -type f -exec chmod 644 {} \; | ||
| 23 | find -L "${D}${PYTHON_SITEPACKAGES_DIR}/compressor" -type d -exec chmod 755 {} \; | ||
| 24 | } | ||
| 25 | |||
| 26 | |||
| 27 | CLEANBROKEN = "1" | ||
