[meta-virtualization] python setuptools recipe

Edward Wingate edwingate8 at gmail.com
Wed Sep 30 11:10:39 PDT 2015


I'm trying to write a recipe to install the python module
gevent-socketio (http://pypi.python.org/pypi/gevent-socketio). I
created the typical setuptools inherited recipe and named it
python-gevent-socketio_0.3.6.bb:

DESCRIPTION = "Python gevent-socketio"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=13484d110cf0f7e0713493cb09a8601c"
RDEPENDS_${PN} += "python-gevent"
SRCNAME = "gevent-socketio"

SRC_URI = "http://pypi.python.org/packages/source/g/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "33f745d74885366a07da516c000854b6"
SRC_URI[sha256sum] =
"53394ab93fbd84d9dbbb2bef85349f6a503bfc53d86a9be8653250f1a0412aff"

S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit setuptools

=====

But I get this error during do_compile:

Download error on http://pypi.python.org/simple/versiontools/: [SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) --
Some packages may not be found!
Download error on http://pypi.python.org/simple/versiontools/: [SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) --
Some packages may not be found!
Couldn't find index page for 'versiontools' (maybe misspelled?)
Download error on http://pypi.python.org/simple/: [SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) --
Some packages may not be found!
No local packages or download links found for versiontools>=1.7

The entire log is here: http://pastebin.com/Dz7NU7um

I have another recipe following this recipe template and it works OK.
I don't know what could be different about gevent-socketio.  Can
anyone help with this error?  I am able to wget
http://pypi.python.org/simple/versiontools and get valid response.
Thanks for any help.


More information about the meta-virtualization mailing list