From b4c015b4ea9e4fc6c613ce49cdb18ae3568ad57b Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 7 Apr 2017 14:30:31 +0300 Subject: [PATCH] python-rospkg: add python3 flavour of the package Signed-off-by: Dmitry Rozhkov --- recipes-devtools/python/python-rospkg.inc | 15 +++++++++++++++ recipes-devtools/python/python-rospkg_1.0.40.bb | 16 +--------------- recipes-devtools/python/python3-rospkg_1.0.40.bb | 3 +++ 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 recipes-devtools/python/python-rospkg.inc create mode 100644 recipes-devtools/python/python3-rospkg_1.0.40.bb diff --git a/recipes-devtools/python/python-rospkg.inc b/recipes-devtools/python/python-rospkg.inc new file mode 100644 index 0000000..b9e35c9 --- /dev/null +++ b/recipes-devtools/python/python-rospkg.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "ROS package library" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" +SRCNAME = "rospkg" + +SRC_URI = "http://download.ros.org/downloads/rospkg/rospkg-${PV}.tar.gz" +SRC_URI[md5sum] = "36fa86450a397cbe531b214e088d06b7" +SRC_URI[sha256sum] = "ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} += "${PYTHON_PN}-xml" + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-rospkg_1.0.40.bb b/recipes-devtools/python/python-rospkg_1.0.40.bb index a446015..c6c8b97 100644 --- a/recipes-devtools/python/python-rospkg_1.0.40.bb +++ b/recipes-devtools/python/python-rospkg_1.0.40.bb @@ -1,17 +1,3 @@ -DESCRIPTION = "ROS package library" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" -SRCNAME = "rospkg" - -SRC_URI = "http://download.ros.org/downloads/rospkg/rospkg-${PV}.tar.gz" -SRC_URI[md5sum] = "36fa86450a397cbe531b214e088d06b7" -SRC_URI[sha256sum] = "ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -RDEPENDS_${PN} += "python-xml" +require python-rospkg.inc inherit setuptools - -BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python3-rospkg_1.0.40.bb b/recipes-devtools/python/python3-rospkg_1.0.40.bb new file mode 100644 index 0000000..83a4944 --- /dev/null +++ b/recipes-devtools/python/python3-rospkg_1.0.40.bb @@ -0,0 +1,3 @@ +require python-rospkg.inc + +inherit setuptools3