diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-02-07 15:40:33 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-02-07 10:06:39 -0800 |
| commit | 20e56eb002d0906ad72106f8ff1a821f3771c478 (patch) | |
| tree | da9f767557691464e42442d9bfc7690924c96a42 /meta-python/recipes-devtools/python/python-gevent | |
| parent | 2e0fd78621b05acb6df58adf910373a8814b70a1 (diff) | |
| download | meta-openembedded-20e56eb002d0906ad72106f8ff1a821f3771c478.tar.gz | |
python3-gevent: update to 1.4.0
This fixes build issues with Python 3.7.
License-Update: added BSD license for one of the source files
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-gevent')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch b/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch new file mode 100644 index 0000000000..7536b71a69 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From a53ed6b2f967a5f95e69d51cad3f8c120d7df65b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Thu, 7 Feb 2019 15:21:15 +0100 | ||
| 4 | Subject: [PATCH] setup.py: do not query for include dir | ||
| 5 | |||
| 6 | As this will return the native python directory erroneously. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [oe-core specific] | ||
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 10 | --- | ||
| 11 | setup.py | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index 86d6c5a..5d22291 100755 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -52,7 +52,7 @@ from _setupares import ARES | ||
| 19 | # Get access to the greenlet header file. | ||
| 20 | # The sysconfig dir is not enough if we're in a virtualenv | ||
| 21 | # See https://github.com/pypa/pip/issues/4610 | ||
| 22 | -include_dirs = [sysconfig.get_path("include")] | ||
| 23 | +include_dirs = [] | ||
| 24 | venv_include_dir = os.path.join(sys.prefix, 'include', 'site', | ||
| 25 | 'python' + sysconfig.get_python_version()) | ||
| 26 | venv_include_dir = os.path.abspath(venv_include_dir) | ||
