From cf3f289173506562ee48f0f41bd4fdcc480761b2 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 16:51:10 +0800 Subject: python-xstatic-jasmine: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-xstatic-jasmine.inc | 22 ++++++++++++++++++++ .../python/python-xstatic-jasmine_2.4.1.1.bb | 24 ++-------------------- .../python/python3-xstatic-jasmine_2.4.1.1.bb | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-jasmine.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-xstatic-jasmine_2.4.1.1.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-jasmine.inc b/meta-openstack/recipes-devtools/python/python-xstatic-jasmine.inc new file mode 100644 index 0000000..cdfb223 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jasmine.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "Jasmine JavaScript library packaged for setuptools " +HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Jasmine" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +PYPI_PACKAGE = "XStatic-Jasmine" + +SRC_URI[md5sum] = "9378ce965dfcb4ddb64855cc717d4ec8" +SRC_URI[sha256sum] = "d1e8bf3c0e1cf683cc2c0aad95f197e9e51ea747fb91291445223a2b7dbc4740" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-jasmine_2.4.1.1.bb b/meta-openstack/recipes-devtools/python/python-xstatic-jasmine_2.4.1.1.bb index b68fb62..dc18f87 100644 --- a/meta-openstack/recipes-devtools/python/python-xstatic-jasmine_2.4.1.1.bb +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jasmine_2.4.1.1.bb @@ -1,22 +1,2 @@ -DESCRIPTION = "Jasmine JavaScript library packaged for setuptools " -HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Jasmine" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -PYPI_PACKAGE = "XStatic-Jasmine" - -SRC_URI[md5sum] = "9378ce965dfcb4ddb64855cc717d4ec8" -SRC_URI[sha256sum] = "d1e8bf3c0e1cf683cc2c0aad95f197e9e51ea747fb91291445223a2b7dbc4740" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-xstatic-jasmine.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-xstatic-jasmine_2.4.1.1.bb b/meta-openstack/recipes-devtools/python/python3-xstatic-jasmine_2.4.1.1.bb new file mode 100644 index 0000000..86eb7e2 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-xstatic-jasmine_2.4.1.1.bb @@ -0,0 +1,2 @@ +require python-xstatic-jasmine.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf