From 9ec506ce0442f3a6dbcd2aec843d2368555118a3 Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 28 Nov 2019 17:02:52 +0800 Subject: python-babel: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-babel.inc | 18 ++++++++++++++++++ .../recipes-devtools/python/python-babel_2.3.4.bb | 20 ++------------------ .../recipes-devtools/python/python3-babel_2.3.4.bb | 2 ++ 3 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-babel.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-babel_2.3.4.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-babel.inc b/meta-openstack/recipes-devtools/python/python-babel.inc new file mode 100644 index 0000000..5e133a1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-babel.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "A collection of tools for internationalizing Python applications" +HOMEPAGE = "http://babel.edgewall.org/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e6eeaabc92cfc2d03f53e789324d7292" + +PYPI_PACKAGE = "Babel" + +SRC_URI[md5sum] = "afa20bc55b0e991833030129ad498f35" +SRC_URI[sha256sum] = "c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875" + +inherit pypi + +CLEANBROKEN = "1" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pytz \ +" diff --git a/meta-openstack/recipes-devtools/python/python-babel_2.3.4.bb b/meta-openstack/recipes-devtools/python/python-babel_2.3.4.bb index e4c0884..74952d1 100644 --- a/meta-openstack/recipes-devtools/python/python-babel_2.3.4.bb +++ b/meta-openstack/recipes-devtools/python/python-babel_2.3.4.bb @@ -1,18 +1,2 @@ -DESCRIPTION = "A collection of tools for internationalizing Python applications" -HOMEPAGE = "http://babel.edgewall.org/" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e6eeaabc92cfc2d03f53e789324d7292" - -PYPI_PACKAGE = "Babel" - -SRC_URI[md5sum] = "afa20bc55b0e991833030129ad498f35" -SRC_URI[sha256sum] = "c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875" - -inherit setuptools pypi - -CLEANBROKEN = "1" - -RDEPENDS_${PN} += " \ - python-pytz \ -" \ No newline at end of file +require python-babel.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-babel_2.3.4.bb b/meta-openstack/recipes-devtools/python/python3-babel_2.3.4.bb new file mode 100644 index 0000000..42b0008 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-babel_2.3.4.bb @@ -0,0 +1,2 @@ +require python-babel.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf