From 99e240eec1b203f3c6851a0606e8e5741ac5a6c6 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 7 Apr 2017 14:25:41 +0300 Subject: [PATCH] python-catkin-pkg: add python3 flavour of the package Signed-off-by: Dmitry Rozhkov --- recipes-devtools/python/python-catkin-pkg.inc | 13 +++++++++++++ .../python/python-catkin-pkg_0.2.10.bb | 14 +------------- .../python/python3-catkin-pkg_0.2.10.bb | 3 +++ 3 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 recipes-devtools/python/python-catkin-pkg.inc create mode 100644 recipes-devtools/python/python3-catkin-pkg_0.2.10.bb diff --git a/recipes-devtools/python/python-catkin-pkg.inc b/recipes-devtools/python/python-catkin-pkg.inc new file mode 100644 index 0000000..b665292 --- /dev/null +++ b/recipes-devtools/python/python-catkin-pkg.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "catkin package library" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" +SRCNAME = "catkin_pkg" + +SRC_URI = "https://pypi.python.org/packages/source/c/catkin_pkg/catkin_pkg-${PV}.tar.gz" +SRC_URI[md5sum] = "da93566c65dddfa9f821e18944c5ee5e" +SRC_URI[sha256sum] = "d4d069eaeb29d6a9ee71773b20c41515b6e0feb9ea2765ebaf3e599d0ceef050" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-catkin-pkg_0.2.10.bb b/recipes-devtools/python/python-catkin-pkg_0.2.10.bb index e08b0e5..b734a57 100644 --- a/recipes-devtools/python/python-catkin-pkg_0.2.10.bb +++ b/recipes-devtools/python/python-catkin-pkg_0.2.10.bb @@ -1,15 +1,3 @@ -DESCRIPTION = "catkin package library" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" -SRCNAME = "catkin_pkg" - -SRC_URI = "https://pypi.python.org/packages/source/c/catkin_pkg/catkin_pkg-${PV}.tar.gz" -SRC_URI[md5sum] = "da93566c65dddfa9f821e18944c5ee5e" -SRC_URI[sha256sum] = "d4d069eaeb29d6a9ee71773b20c41515b6e0feb9ea2765ebaf3e599d0ceef050" - -S = "${WORKDIR}/${SRCNAME}-${PV}" +require python-catkin-pkg.inc inherit distutils - -BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python3-catkin-pkg_0.2.10.bb b/recipes-devtools/python/python3-catkin-pkg_0.2.10.bb new file mode 100644 index 0000000..c863663 --- /dev/null +++ b/recipes-devtools/python/python3-catkin-pkg_0.2.10.bb @@ -0,0 +1,3 @@ +require python-catkin-pkg.inc + +inherit distutils3