From 9a6678bfaacfa219e4e75a260c34f76f381d5a72 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 16:55:20 +0800 Subject: python-xstatic-jquery: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-xstatic-jquery.inc | 22 ++++++++++++++++++++ .../python/python-xstatic-jquery_1.10.2.1.bb | 24 ++-------------------- .../python/python3-xstatic-jquery_1.10.2.1.bb | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-jquery.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-xstatic-jquery_1.10.2.1.bb (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-jquery.inc b/meta-openstack/recipes-devtools/python/python-xstatic-jquery.inc new file mode 100644 index 0000000..db8e2a2 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jquery.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "jQuery javascript library packaged for setuptools (easy_install) / pip." +HOMEPAGE = "http://jquery.com/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.txt;md5=af1f21066b501c7d9265fab0d5556ece" + +PYPI_PACKAGE = "XStatic-jQuery" + +SRC_URI[md5sum] = "7a29efeab6961ef00ea2272c923f4503" +SRC_URI[sha256sum] = "83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-jquery_1.10.2.1.bb b/meta-openstack/recipes-devtools/python/python-xstatic-jquery_1.10.2.1.bb index 3141cf6..23cc65e 100644 --- a/meta-openstack/recipes-devtools/python/python-xstatic-jquery_1.10.2.1.bb +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jquery_1.10.2.1.bb @@ -1,22 +1,2 @@ -DESCRIPTION = "jQuery javascript library packaged for setuptools (easy_install) / pip." -HOMEPAGE = "http://jquery.com/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README.txt;md5=af1f21066b501c7d9265fab0d5556ece" - -PYPI_PACKAGE = "XStatic-jQuery" - -SRC_URI[md5sum] = "7a29efeab6961ef00ea2272c923f4503" -SRC_URI[sha256sum] = "83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-xstatic-jquery.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-xstatic-jquery_1.10.2.1.bb b/meta-openstack/recipes-devtools/python/python3-xstatic-jquery_1.10.2.1.bb new file mode 100644 index 0000000..efbb9e3 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-xstatic-jquery_1.10.2.1.bb @@ -0,0 +1,2 @@ +require python-xstatic-jquery.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf