From 82b273af481f3ee51f784ef9e7e4473149cd2f2c Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 14 Jan 2020 09:50:04 +0800 Subject: python-tempita: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-tempita.inc | 12 ++++++++++++ .../recipes-devtools/python/python-tempita_0.5.3dev.bb | 14 ++------------ .../recipes-devtools/python/python3-tempita_0.5.3dev.bb | 2 ++ 3 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-tempita.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-tempita_0.5.3dev.bb diff --git a/meta-openstack/recipes-devtools/python/python-tempita.inc b/meta-openstack/recipes-devtools/python/python-tempita.inc new file mode 100644 index 0000000..c511c12 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-tempita.inc @@ -0,0 +1,12 @@ +DESCRIPTION = "A very small text templating language" +HOMEPAGE = "http://pythonpaste.org/tempita/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://setup.py;beginline=33;endline=33;md5=2d33c00f47720c7e35e1fdb4b9fab027" + +PYPI_PACKAGE = "Tempita" + +SRC_URI[md5sum] = "365c3b4f36435e2178902d5619301140" +SRC_URI[sha256sum] = "38392bb708a10128419f75fa9120a6d2c8d137013b353968e5008a77a5c7a2ca" + +inherit pypi diff --git a/meta-openstack/recipes-devtools/python/python-tempita_0.5.3dev.bb b/meta-openstack/recipes-devtools/python/python-tempita_0.5.3dev.bb index 31d5ddc..8a8e8a2 100644 --- a/meta-openstack/recipes-devtools/python/python-tempita_0.5.3dev.bb +++ b/meta-openstack/recipes-devtools/python/python-tempita_0.5.3dev.bb @@ -1,12 +1,2 @@ -DESCRIPTION = "A very small text templating language" -HOMEPAGE = "http://pythonpaste.org/tempita/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=33;endline=33;md5=2d33c00f47720c7e35e1fdb4b9fab027" - -PYPI_PACKAGE = "Tempita" - -SRC_URI[md5sum] = "365c3b4f36435e2178902d5619301140" -SRC_URI[sha256sum] = "38392bb708a10128419f75fa9120a6d2c8d137013b353968e5008a77a5c7a2ca" - -inherit setuptools pypi +require python-tempita.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-tempita_0.5.3dev.bb b/meta-openstack/recipes-devtools/python/python3-tempita_0.5.3dev.bb new file mode 100644 index 0000000..a0123a6 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-tempita_0.5.3dev.bb @@ -0,0 +1,2 @@ +require python-tempita.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf