From 005d8e96f11c15ab2cf9ef11e960db41578bda11 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 15:55:57 +0800 Subject: python-xstatic-roboto-fontface: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-xstatic-roboto-fontface.inc | 19 +++++++++++++++++++ .../python-xstatic-roboto-fontface_0.5.0.0.bb | 21 ++------------------- .../python3-xstatic-roboto-fontface_0.5.0.0.bb | 2 ++ 3 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-xstatic-roboto-fontface_0.5.0.0.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface.inc b/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface.inc new file mode 100644 index 0000000..d11d0a1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "A simple package providing the Roboto fontface." +HOMEPAGE = "https://github.com/choffmeister/roboto-fontface-bower" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +PYPI_PACKAGE = "XStatic-roboto-fontface" + +SRC_URI[md5sum] = "32273ba68fa063623461db0b0767524f" +SRC_URI[sha256sum] = "6d272df58e20eec3a15bca279163f38614c7074e2fecb537a58b29d109e83f62" + +inherit pypi + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface_0.5.0.0.bb b/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface_0.5.0.0.bb index 3c828b4..0f52a02 100644 --- a/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface_0.5.0.0.bb +++ b/meta-openstack/recipes-devtools/python/python-xstatic-roboto-fontface_0.5.0.0.bb @@ -1,19 +1,2 @@ -DESCRIPTION = "A simple package providing the Roboto fontface." -HOMEPAGE = "https://github.com/choffmeister/roboto-fontface-bower" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -PYPI_PACKAGE = "XStatic-roboto-fontface" - -SRC_URI[md5sum] = "32273ba68fa063623461db0b0767524f" -SRC_URI[sha256sum] = "6d272df58e20eec3a15bca279163f38614c7074e2fecb537a58b29d109e83f62" - -inherit setuptools pypi - -DEPENDS += " \ - python-pip \ - " - -RDEPENDS_${PN} += " \ - " +require python-xstatic-roboto-fontface.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-xstatic-roboto-fontface_0.5.0.0.bb b/meta-openstack/recipes-devtools/python/python3-xstatic-roboto-fontface_0.5.0.0.bb new file mode 100644 index 0000000..e05e35e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-xstatic-roboto-fontface_0.5.0.0.bb @@ -0,0 +1,2 @@ +require python-xstatic-roboto-fontface.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf