diff options
3 files changed, 30 insertions, 24 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyroute2.inc b/meta-python/recipes-devtools/python/python-pyroute2.inc new file mode 100644 index 0000000000..da1d4cd9b4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyroute2.inc | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "A pure Python netlink and Linux network configuration library" | ||
| 2 | LICENSE = "GPLv2 & Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 4 | file://LICENSE.Apache.v2;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "733adb362b6603c7269c0b3df3045a55" | ||
| 7 | SRC_URI[sha256sum] = "5cdf44656cf623369f0cbf183d9d14a1a50ebdffbd50d4e30ffda62c0a05d7b3" | ||
| 8 | |||
| 9 | SRC_URI += "file://import-simplejson-as-json.patch" | ||
| 10 | |||
| 11 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:" | ||
| 12 | |||
| 13 | inherit pypi | ||
| 14 | |||
| 15 | RDEPENDS_${PN} += "\ | ||
| 16 | ${PYTHON_PN}-distutils \ | ||
| 17 | ${PYTHON_PN}-simplejson \ | ||
| 18 | ${PYTHON_PN}-multiprocessing \ | ||
| 19 | ${PYTHON_PN}-io ${PYTHON_PN}-pprint \ | ||
| 20 | ${PYTHON_PN}-pickle \ | ||
| 21 | ${PYTHON_PN}-logging \ | ||
| 22 | ${PYTHON_PN}-threading \ | ||
| 23 | ${PYTHON_PN}-textutils \ | ||
| 24 | ${PYTHON_PN}-subprocess \ | ||
| 25 | ${PYTHON_PN}-netclient \ | ||
| 26 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb b/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb index 79d3bdd18e..7b9c8e0445 100644 --- a/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb +++ b/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb | |||
| @@ -1,24 +1,2 @@ | |||
| 1 | SUMMARY = "A pure Python netlink and Linux network configuration library" | 1 | require python-pyroute2.inc |
| 2 | LICENSE = "GPLv2 & Apache-2.0" | 2 | inherit setuptools |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 4 | file://LICENSE.Apache.v2;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "733adb362b6603c7269c0b3df3045a55" | ||
| 7 | SRC_URI[sha256sum] = "5cdf44656cf623369f0cbf183d9d14a1a50ebdffbd50d4e30ffda62c0a05d7b3" | ||
| 8 | |||
| 9 | SRC_URI += "file://import-simplejson-as-json.patch" | ||
| 10 | |||
| 11 | inherit pypi setuptools | ||
| 12 | |||
| 13 | RDEPENDS_${PN} += "\ | ||
| 14 | python-distutils \ | ||
| 15 | python-simplejson \ | ||
| 16 | python-multiprocessing \ | ||
| 17 | python-io python-pprint \ | ||
| 18 | python-pickle \ | ||
| 19 | python-logging \ | ||
| 20 | python-threading \ | ||
| 21 | python-textutils \ | ||
| 22 | python-subprocess \ | ||
| 23 | python-netclient \ | ||
| 24 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb new file mode 100644 index 0000000000..a23e72c4ad --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | require python-pyroute2.inc | ||
| 2 | inherit setuptools3 | ||
