diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-11-24 09:08:28 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-25 21:55:10 +0000 |
| commit | cd91af372f85ff293ee1498f9fee40cb17fbcb4b (patch) | |
| tree | 6a995601851cc0f3a21ba96be76699eb84ce830a /meta/recipes-devtools/python/python3-setuptools | |
| parent | 98b85e193e37f6d9a74b472224949a74901a41a1 (diff) | |
| download | poky-cd91af372f85ff293ee1498f9fee40cb17fbcb4b.tar.gz | |
python3-setuptools: update 58.5.3 -> 59.2.0
(From OE-Core rev: 717e538e70f78d79ba7cec2797024af0dc91aeb0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch index 565cf8ae8d..3150187951 100644 --- a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch +++ b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 44349672cbff8945693c8d2821c82e9f04bfc8b5 Mon Sep 17 00:00:00 2001 | 1 | From 1ff575308248b183639c8cb14afee7c8572bd2b8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tim Orling <timothy.t.orling@intel.com> | 2 | From: Tim Orling <timothy.t.orling@intel.com> |
| 3 | Date: Wed, 20 Oct 2021 17:38:10 +0000 | 3 | Date: Wed, 20 Oct 2021 17:38:10 +0000 |
| 4 | Subject: [PATCH] _distutils/sysconfig: append | 4 | Subject: [PATCH] _distutils/sysconfig: append |
| @@ -15,18 +15,19 @@ from Alex Kanavin <alex.kanavin@gmail.com> | |||
| 15 | Upstream-Status: Inappropriate [oe-specific] | 15 | Upstream-Status: Inappropriate [oe-specific] |
| 16 | 16 | ||
| 17 | Signed-off-by: Tim Orling <timothy.t.orling@intel.com> | 17 | Signed-off-by: Tim Orling <timothy.t.orling@intel.com> |
| 18 | |||
| 18 | --- | 19 | --- |
| 19 | setuptools/_distutils/sysconfig.py | 2 ++ | 20 | setuptools/_distutils/sysconfig.py | 2 ++ |
| 20 | 1 file changed, 2 insertions(+) | 21 | 1 file changed, 2 insertions(+) |
| 21 | 22 | ||
| 22 | diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py | 23 | diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py |
| 23 | index 8832b3e..bbc7c08 100644 | 24 | index d36d94f..616eb91 100644 |
| 24 | --- a/setuptools/_distutils/sysconfig.py | 25 | --- a/setuptools/_distutils/sysconfig.py |
| 25 | +++ b/setuptools/_distutils/sysconfig.py | 26 | +++ b/setuptools/_distutils/sysconfig.py |
| 26 | @@ -461,6 +461,8 @@ def _init_posix(): | 27 | @@ -484,6 +484,8 @@ def _init_posix(): |
| 27 | platform=sys.platform, | 28 | multiarch=getattr(sys.implementation, '_multiarch', ''), |
| 28 | multiarch=getattr(sys.implementation, '_multiarch', ''), | 29 | ), |
| 29 | )) | 30 | ) |
| 30 | + if 'STAGING_LIBDIR' in os.environ: | 31 | + if 'STAGING_LIBDIR' in os.environ: |
| 31 | + sys.path.append(os.environ['STAGING_LIBDIR']+'/python-sysconfigdata') | 32 | + sys.path.append(os.environ['STAGING_LIBDIR']+'/python-sysconfigdata') |
| 32 | try: | 33 | try: |
