Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #488

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions meta-python/recipes-devtools/python/python-gevent/libev-conf.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
SUMMARY = "Test vectors for the cryptography package."
HOMEPAGE = "https://cryptography.io/"
SECTION = "devel/python"
LICENSE = "Apache-2.0 | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
LICENSE = "Apache-2.0 | BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b"

SRC_URI[sha256sum] = "978ad96822c0e007a0a3d8187eb0eafbd9eb1d67b50cfac70277175e74957bfc"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
SUMMARY = "Provides cryptographic recipes and primitives to python developers"
HOMEPAGE = "https://cryptography.io/"
SECTION = "devel/python"
LICENSE = "Apache-2.0 | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba"
LICENSE = "Apache-2.0 | BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b"

LDSHARED += "-pthread"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01"

PYPI_PACKAGE = "Deprecated"
SRC_URI[sha256sum] = "6d2de2de7931a968874481ef30208fd4e08da39177d61d3d4ebdf4366e7dbca1"
SRC_URI[sha256sum] = "43ac5335da90c31c24ba028af536a91d41d53f9e6901ddb021bcc572ce44e38d"

inherit pypi setuptools3

RDEPENDS:${PN} += " \
${PYTHON_PN}-wrapt \
"
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"

SRC_URI[sha256sum] = "2f0bb8ed0dc0ab21d683975d5d8ab3c054d588ce61def9faf7a465ee363e839b"
SRC_URI[sha256sum] = "80144f489c1bb273a51b6f96ff9785a382d2866b9bab1f5bd748385019f4141f"

inherit pypi setuptools3

RDEPENDS:${PN} += "${PYTHON_PN}-dnspython"
RDEPENDS:${PN} += " \
${PYTHON_PN}-dnspython \
${PYTHON_PN}-six \
${PYTHON_PN}-distutils \
${PYTHON_PN}-greenlet \
"
29 changes: 10 additions & 19 deletions meta-python/recipes-devtools/python/python3-gevent_21.8.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,23 @@ SUMMARY = "A coroutine-based Python networking library"
DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \
a high-level synchronous API on top of the libevent event loop."
HOMEPAGE = "http://www.gevent.org"
LICENSE = "MIT & Python-2.0 & BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65 \
file://NOTICE;md5=18108df3583462cafd457f024b9b09b5 \
file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \
"
DEPENDS += "libevent"
DEPENDS += "${PYTHON_PN}-greenlet"
LICENSE = "MIT & Python-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65"
DEPENDS += "${PYTHON_PN}-greenlet libev c-ares"

RDEPENDS:${PN} = "${PYTHON_PN}-greenlet \
${PYTHON_PN}-mime \
${PYTHON_PN}-pprint \
"

FILESEXTRAPATHS:prepend := "${THISDIR}/python-gevent:"
SRC_URI[sha256sum] = "43e93e1a4738c922a2416baf33f0afb0a20b22d3dba886720bc037cd02a98575"

SRC_URI:append = " \
file://libev-conf.patch;patch=1;pnum=1 \
"
inherit pypi setuptools3

SRC_URI[sha256sum] = "43e93e1a4738c922a2416baf33f0afb0a20b22d3dba886720bc037cd02a98575"
# Don't embed libraries, link to the system instead
export GEVENTSETUP_EMBED = "0"

# The python-gevent has no autoreconf ability
# and the logic for detecting a cross compile is flawed
# so always force a cross compile
# Delete the embedded copies of libraries so we can't accidentally link to them
do_configure:append() {
sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure
sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure
rm -rf ${S}/deps
}

inherit pypi setuptools3
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"


SRC_URI[sha256sum] = "469c59fe71c81cdc41c84f842d62dd2739a08fac8cb85f5a518a92a6227e2ed6"
SRC_URI[sha256sum] = "f3f6e9a73d62f12348f098364219f4fc64462760bc07abfe16d14db0e4974845"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5ed06eebfcb244cd66ebf6cef9c23ab4"

PYPI_PACKAGE = "jedi"

SRC_URI[sha256sum] = "92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707"
SRC_URI[sha256sum] = "74137626a64a99c8eb6ae5832d99b3bdd7d29a3850fe2aa80a4126b2a7d949ab"

RDEPENDS:${PN} = "${PYTHON_PN}-parso"
RDEPENDS:${PN} = " \
${PYTHON_PN}-parso \
${PYTHON_PN}-core \
${PYTHON_PN}-compression \
${PYTHON_PN}-pydoc \
${PYTHON_PN}-compile \
${PYTHON_PN}-json \
"

inherit setuptools3 pypi
4 changes: 2 additions & 2 deletions meta-python/recipes-devtools/python/python3-lxml_4.6.3.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ libxslt libraries. It provides safe and convenient access to these \
libraries using the ElementTree API. It extends the ElementTree API \
significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, \
C14N and much more."
HOMEPAGE = "http://codespeak.net/lxml"
HOMEPAGE = "https://lxml.de/"
SECTION = "devel/python"
LICENSE = "BSD & GPLv2 & MIT & PSF"
LICENSE = "BSD-3-Clause & GPLv2 & MIT & PSF"
LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
file://doc/licenses/elementtree.txt;md5=eb34d036a6e3d56314ee49a6852ac891 \
file://doc/licenses/BSD.txt;md5=700a1fc17f4797d4f2d34970c8ee694b \
Expand Down
6 changes: 6 additions & 0 deletions meta-python/recipes-devtools/python/python3-parso_0.8.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ PYPI_PACKAGE = "parso"
SRC_URI[sha256sum] = "12b83492c6239ce32ff5eed6d3639d6a536170723c6f3f1506869f1ace413398"

inherit setuptools3 pypi

RDEPENDS:${PN} = " \
${PYTHON_PN}-crypt \
${PYTHON_PN}-difflib \
${PYTHON_PN}-logging \
"
12 changes: 1 addition & 11 deletions meta-python/recipes-devtools/python/python3-posix-ipc_1.0.5.bb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DESCRIPTION = "POSIX IPC primitives (semaphores, shared memory and message queues) for Python"
HOMEPAGE = "http://semanchuk.com/philip/posix_ipc/"
SECTION = "devel/python"
LICENSE = "BSD"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dc089fb2f37e90799a54c19a20c9880f"

PYPI_PACKAGE = "posix_ipc"
Expand All @@ -13,13 +13,3 @@ SRC_URI[md5sum] = "8c9443859492ecf3aae9182aa6b5c78c"
SRC_URI[sha256sum] = "6cddb1ce2cf4aae383f2a0079c26c69bee257fe2720f372201ef047f8ceb8b97"

inherit setuptools3 pypi

# DEPENDS_default: python-pip

DEPENDS += " \
${PYTHON_PN}-pip \
"

# RDEPENDS:default:
RDEPENDS:${PN} += " \
"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
HOMEPAGE = "http://zeromq.org/bindings:python"
LICENSE = "BSD & LGPL-3.0"
LICENSE = "BSD-3-Clause & LGPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e"
DEPENDS = "zeromq"
Expand Down