From 338225dbae4c536c09fb0b941188b0e75f73dd14 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 17:01:53 +0800 Subject: python-xstatic-jquery-migrate: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-xstatic-jquery-migrate.inc | 22 ++++++++++++++++++++ .../python-xstatic-jquery-migrate_1.2.1.1.bb | 24 ++-------------------- .../python3-xstatic-jquery-migrate_1.2.1.1.bb | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-xstatic-jquery-migrate_1.2.1.1.bb diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate.inc b/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate.inc new file mode 100644 index 0000000..b5c1332 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "JQuery-Migrate JavaScript library packaged for setuptools" +HOMEPAGE = "https://pypi.python.org/pypi/XStatic-JQuery-Migrate" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2bbd78dd61f7b4f2fb6b3e31e4d7a26b" + +PYPI_PACKAGE = "XStatic-JQuery-Migrate" + +SRC_URI[md5sum] = "2dd39f9d6351aeaf129b33d4134ac6a7" +SRC_URI[sha256sum] = "e2959b3df49afdddb00d36b74cca727a91b994b9f4edb993d7264731a750900e" + +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-migrate_1.2.1.1.bb b/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate_1.2.1.1.bb index 432b11e..f3a6146 100644 --- a/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate_1.2.1.1.bb +++ b/meta-openstack/recipes-devtools/python/python-xstatic-jquery-migrate_1.2.1.1.bb @@ -1,22 +1,2 @@ -DESCRIPTION = "JQuery-Migrate JavaScript library packaged for setuptools" -HOMEPAGE = "https://pypi.python.org/pypi/XStatic-JQuery-Migrate" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2bbd78dd61f7b4f2fb6b3e31e4d7a26b" - -PYPI_PACKAGE = "XStatic-JQuery-Migrate" - -SRC_URI[md5sum] = "2dd39f9d6351aeaf129b33d4134ac6a7" -SRC_URI[sha256sum] = "e2959b3df49afdddb00d36b74cca727a91b994b9f4edb993d7264731a750900e" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-xstatic-jquery-migrate.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-xstatic-jquery-migrate_1.2.1.1.bb b/meta-openstack/recipes-devtools/python/python3-xstatic-jquery-migrate_1.2.1.1.bb new file mode 100644 index 0000000..2dab32f --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-xstatic-jquery-migrate_1.2.1.1.bb @@ -0,0 +1,2 @@ +require python-xstatic-jquery-migrate.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf