diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-02-28 14:47:10 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-01 09:06:56 -0800 |
| commit | dbdd3a84f76f21a73a68746e6c64aea4b3827f77 (patch) | |
| tree | 2fd5c1e7eb4f56778458e0b553a8e0f05d5c553b /meta-python/recipes-devtools/python | |
| parent | ea8c24aabc9f14c02c5da03671107f2e337b09f4 (diff) | |
| download | meta-openembedded-dbdd3a84f76f21a73a68746e6c64aea4b3827f77.tar.gz | |
python3-termcolor: Use setuptools instead of distutils
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch | 27 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb | 3 |
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch b/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch new file mode 100644 index 0000000000..a55a6a914b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From e30308284c721210e2ba50d8b3d159cedf5eada8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 28 Feb 2022 14:44:42 -0800 | ||
| 4 | Subject: [PATCH] setup.py: Use setuptools instead of distutils | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | setup.py | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/setup.py b/setup.py | ||
| 13 | index c4fe4ed..dad1d29 100755 | ||
| 14 | --- a/setup.py | ||
| 15 | +++ b/setup.py | ||
| 16 | @@ -23,7 +23,7 @@ | ||
| 17 | # Author: Konstantin Lepa <konstantin.lepa@gmail.com> | ||
| 18 | |||
| 19 | import os | ||
| 20 | -from distutils.core import setup | ||
| 21 | +from setuptools import setup | ||
| 22 | |||
| 23 | prjdir = os.path.dirname(__file__) | ||
| 24 | |||
| 25 | -- | ||
| 26 | 2.35.1 | ||
| 27 | |||
diff --git a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb b/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb index 17df7f983d..15bab622a6 100644 --- a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb | |||
| @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d" | |||
| 6 | 6 | ||
| 7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
| 8 | 8 | ||
| 9 | SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df" | 9 | SRC_URI += "file://0001-setup.py-Use-setuptools-instead-of-distutils.patch" |
| 10 | |||
| 10 | SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b" | 11 | SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b" |
| 11 | 12 | ||
| 12 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
