python3-networkx: add recipe

networkx only supports python3 starting v2.3. Move the common code to
.inc and remove python-2to3 RDEPENDS which is no longer needed:

4e611d7ea9

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Anuj Mittal
2019-09-12 15:49:28 +08:00
committed by Khem Raj
parent 676fe1c496
commit ffcd5f5863
3 changed files with 21 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
DESCRIPTION = "Python package for creating and manipulating graphs and networks"
LICENSE = "BSD-3-Clause"
inherit pypi
PYPI_PACKAGE_EXT = "zip"
RDEPENDS_${PN} += "\
${PYTHON_PN}-decorator \
"