From a5a9abf0fc2cf530cf198875b3dba5bb80fbc435 Mon Sep 17 00:00:00 2001 From: Pierre-Jean Texier Date: Fri, 3 Apr 2020 21:42:39 +0200 Subject: python-pyroute2: consolidate into a single file For details see [1] [1] - https://lists.openembedded.org/g/openembedded-devel/topic/72718415 Suggested-by: Tim Orling Signed-off-by: Pierre-Jean Texier Signed-off-by: Khem Raj --- .../recipes-devtools/python/python-pyroute2.inc | 25 ---------------------- .../python/python3-pyroute2_0.5.9.bb | 25 ++++++++++++++++++++-- 2 files changed, 23 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyroute2.inc (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-pyroute2.inc b/meta-python/recipes-devtools/python/python-pyroute2.inc deleted file mode 100644 index add7b7bee1..0000000000 --- a/meta-python/recipes-devtools/python/python-pyroute2.inc +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A pure Python netlink and Linux network configuration library" -LICENSE = "GPLv2 & Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" - -SRC_URI[md5sum] = "4ee568832c98c39253230293a2ca3d59" -SRC_URI[sha256sum] = "240ed116fabef02c284cc40d27986e629f02aa788311a8059905b8988752d5b7" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-unixadmin \ -" diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.9.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.9.bb index a23e72c4ad..90d9486aa6 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.9.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.9.bb @@ -1,2 +1,23 @@ -require python-pyroute2.inc -inherit setuptools3 +SUMMARY = "A pure Python netlink and Linux network configuration library" +LICENSE = "GPLv2 & Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" + +SRC_URI[md5sum] = "4ee568832c98c39253230293a2ca3d59" +SRC_URI[sha256sum] = "240ed116fabef02c284cc40d27986e629f02aa788311a8059905b8988752d5b7" + +inherit setuptools3 pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-unixadmin \ +" -- cgit v1.2.3-54-g00ecf