diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-11-14 12:55:06 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-11-15 16:00:18 -0500 |
| commit | 34dee81d0c5a0e2e1b1633ad4293171163c3bb62 (patch) | |
| tree | 5fc66467b4c5b5c0e949e6b7f8cefc0e3ca2ab91 /recipes-devtools/python/python-gevent_1.0.1.bb | |
| parent | 62823d7de00b42728cf5ca67cccc8e7c579eb8dc (diff) | |
| download | meta-virtualization-34dee81d0c5a0e2e1b1633ad4293171163c3bb62.tar.gz | |
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 <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/python/python-gevent_1.0.1.bb')
| -rw-r--r-- | recipes-devtools/python/python-gevent_1.0.1.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb index 47f1267a..7f1d2622 100644 --- a/recipes-devtools/python/python-gevent_1.0.1.bb +++ b/recipes-devtools/python/python-gevent_1.0.1.bb | |||
| @@ -11,15 +11,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbb33d00e1fd31c7041460a81ac0bd2" | |||
| 11 | DEPENDS += "python-greenlet libevent" | 11 | DEPENDS += "python-greenlet libevent" |
| 12 | RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re" | 12 | RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re" |
| 13 | 13 | ||
| 14 | SRCNAME = "gevent" | ||
| 15 | |||
| 16 | SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz" | ||
| 17 | SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6" | 14 | SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6" |
| 18 | SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43" | 15 | SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43" |
| 19 | 16 | ||
| 20 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 17 | inherit setuptools pypi |
| 21 | |||
| 22 | inherit setuptools | ||
| 23 | 18 | ||
| 24 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 19 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 25 | SRC_URI += "file://libev-conf.patch" | 20 | SRC_URI += "file://libev-conf.patch" |
