From 34dee81d0c5a0e2e1b1633ad4293171163c3bb62 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Tue, 14 Nov 2017 12:55:06 -0500 Subject: python-*: switch remaining pypi recipes to use the pypi class Cleanup the various python-* recipes which download from pypi. The biggest change is to "inherit pypi" which should result in us always using current pypi best practices. This will for example ensure we are using https and not http which is apparently going to be disabled soon. Where the default behavior in the pypi class wasn't sufficient we make use of the PYPI_* variables to overwrite the defaults. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- recipes-devtools/python/python-sphinx_1.4.1.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'recipes-devtools/python/python-sphinx_1.4.1.bb') diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb index 835b369d..476ff977 100644 --- a/recipes-devtools/python/python-sphinx_1.4.1.bb +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb @@ -4,14 +4,9 @@ SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065" -PR = "r0" -SRCNAME = "Sphinx" - -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +PYPI_PACKAGE = "Sphinx" SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585" SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit setuptools +inherit setuptools pypi -- cgit v1.2.3-54-g00ecf