mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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: https://github.com/networkx/networkx/commit/4e611d7ea90c20864daba912d6118220d5bbddf3 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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 \
|
||||||
|
"
|
||||||
@@ -1,12 +1,8 @@
|
|||||||
DESCRIPTION = "Python package for creating and manipulating graphs and networks"
|
require python-networkx.inc
|
||||||
LICENSE = "BSD-3-Clause"
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3376ff7c9c58048c62d91431f7f08cde"
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3376ff7c9c58048c62d91431f7f08cde"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "82608a3686fb3e61f20cf13bfd3c1b4a"
|
SRC_URI[md5sum] = "82608a3686fb3e61f20cf13bfd3c1b4a"
|
||||||
SRC_URI[sha256sum] = "45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b"
|
SRC_URI[sha256sum] = "45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b"
|
||||||
|
|
||||||
PYPI_PACKAGE_EXT = "zip"
|
inherit setuptools
|
||||||
|
|
||||||
inherit pypi setuptools
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "python-2to3"
|
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
require python-networkx.inc
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b68290ee1026b204170a23bbdb27a4fd"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "320d3f6c7872732baa63cedafddadea9"
|
||||||
|
SRC_URI[sha256sum] = "8311ddef63cf5c5c5e7c1d0212dd141d9a1fe3f474915281b73597ed5f1d4e3d"
|
||||||
|
|
||||||
|
inherit setuptools3
|
||||||
Reference in New Issue
Block a user