From 9e8fca88063ab185aefbf0f09fbb1bcee2bc8a3c Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 5 Dec 2019 09:12:29 +0800 Subject: python-rjsmin: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-rjsmin.inc | 15 +++++++++++++++ .../recipes-devtools/python/python-rjsmin_1.0.12.bb | 17 ++--------------- .../recipes-devtools/python/python3-rjsmin_1.0.12.bb | 2 ++ 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-rjsmin.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-rjsmin_1.0.12.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-rjsmin.inc b/meta-openstack/recipes-devtools/python/python-rjsmin.inc new file mode 100644 index 0000000..0305a33 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-rjsmin.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "rJSmin is a javascript minifier written in python." +HOMEPAGE = "http://opensource.perlig.de/rjsmin/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[md5sum] = "9f67e133c88df5497d3da847603da9bf" +SRC_URI[sha256sum] = "dd9591aa73500b08b7db24367f8d32c6470021f39d5ab4e50c7c02e4401386f1" + +inherit pypi + +RDEPENDS_${PN} += " \ + " + +CLEANBROKEN = "1" diff --git a/meta-openstack/recipes-devtools/python/python-rjsmin_1.0.12.bb b/meta-openstack/recipes-devtools/python/python-rjsmin_1.0.12.bb index 508390a..528c4a0 100644 --- a/meta-openstack/recipes-devtools/python/python-rjsmin_1.0.12.bb +++ b/meta-openstack/recipes-devtools/python/python-rjsmin_1.0.12.bb @@ -1,15 +1,2 @@ -DESCRIPTION = "rJSmin is a javascript minifier written in python." -HOMEPAGE = "http://opensource.perlig.de/rjsmin/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" - -SRC_URI[md5sum] = "9f67e133c88df5497d3da847603da9bf" -SRC_URI[sha256sum] = "dd9591aa73500b08b7db24367f8d32c6470021f39d5ab4e50c7c02e4401386f1" - -inherit setuptools pypi - -RDEPENDS_${PN} += " \ - " - -CLEANBROKEN = "1" +require python-rjsmin.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-rjsmin_1.0.12.bb b/meta-openstack/recipes-devtools/python/python3-rjsmin_1.0.12.bb new file mode 100644 index 0000000..9890e14 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-rjsmin_1.0.12.bb @@ -0,0 +1,2 @@ +require python-rjsmin.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf