dl9pf / meta-spdxscanner

SPDX scanner support
MIT License
9 stars 10 forks source link

Python3 Sphinx Native 1.6.3 URL invalid #1

Closed gq0 closed 6 years ago

gq0 commented 6 years ago

It seems to be that the python3-sphinx-native-1.6.3 URL is not valid anymore. I guess you will update it anyway to 1.6.5 but maybe switching to github's archive makes the build more stable over longer period: https://github.com/sphinx-doc/sphinx/archive/${PV}.tar.gz

diff --git a/recipes-devtools/python/python3-sphinx-native_1.6.3.bb b/recipes-devtools/python/python3-sphinx-native_1.6.3.bb
index cad13b4..9d64224 100644
--- a/recipes-devtools/python/python3-sphinx-native_1.6.3.bb
+++ b/recipes-devtools/python/python3-sphinx-native_1.6.3.bb
@@ -2,15 +2,15 @@ DESCRIPTION = "Python documentation generator"
 HOMEPAGE = "http://sphinx-doc.org/"
 SECTION = "devel/python"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6dd095eaa1e7a662b279daf80ecad7e6"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bdf5e5254e389241208655de56611028"

 PR = "r0"
-SRCNAME = "Sphinx"
+SRCNAME = "sphinx"

-SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://github.com/sphinx-doc/sphinx/archive/${PV}.tar.gz"

-SRC_URI[md5sum] = "c5ad61f4e0974375ca2c2b58ef8d5411"
-SRC_URI[sha256sum] = "ceb2e0d763e0c626f7afd7e3272a5bb76dd06eed1f0b908270ea31984062"
+SRC_URI[md5sum] = "4cb791d4ec15c0116940e7f6c27d7aef"
+SRC_URI[sha256sum] = "0707b2a8a47462c06b0107426b8512a68332232241e414384b6b86cce9b7f60f"

 S = "${WORKDIR}/${SRCNAME}-${PV}"
pbrkr commented 6 years ago

Hi @gq0, sorry for the late response.

Could you submit this as a pull request? This looks like a change we can merge easily.

One question though - what has changed in the license? Is this just a minor wording/layout change or have the license terms been changed?

leimaohui commented 6 years ago

I'm very sorry that I missed your comment. I have adopted your patch. Thank you very much. And later, I will upgrade python3-sphinx to higher version,