python-matplotlib: Use git src_uri

Fixes
python-matplotlib-2.0.2: SRC_URI uses unstable GitHub archives [src-uri-bad]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2019-07-20 20:33:44 -07:00
parent 07db1c40ee
commit adb8fb5836

View File

@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74"
DEPENDS += "python-numpy freetype libpng python-dateutil python-pytz"
RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng python-dateutil python-pytz"
SRC_URI = "https://github.com/matplotlib/matplotlib/archive/v${PV}.tar.gz \
SRCREV = "e175a41cb81880dbc553d9140e6ae5717457afa8"
SRC_URI = "git://github.com/matplotlib/matplotlib \
file://fix_setupext.patch \
"
SRC_URI[md5sum] = "89717c1ef3c6fdcd6fb1f3b597a4858c"
SRC_URI[sha256sum] = "aebed23921562792b68b8ca355de5abc176af4424f1987e2fa95f65e5c5e7e89"
S = "${WORKDIR}/matplotlib-${PV}"
S = "${WORKDIR}/git"
EXTRA_OECONF = "--disable-docs"
inherit setuptools pkgconfig