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>
This commit is contained in:
Khem Raj 2022-02-28 14:47:10 -08:00
parent ea8c24aabc
commit dbdd3a84f7
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From e30308284c721210e2ba50d8b3d159cedf5eada8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 28 Feb 2022 14:44:42 -0800
Subject: [PATCH] setup.py: Use setuptools instead of distutils
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index c4fe4ed..dad1d29 100755
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@
# Author: Konstantin Lepa <konstantin.lepa@gmail.com>
import os
-from distutils.core import setup
+from setuptools import setup
prjdir = os.path.dirname(__file__)
--
2.35.1

View File

@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d"
inherit pypi setuptools3
SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df"
SRC_URI += "file://0001-setup.py-Use-setuptools-instead-of-distutils.patch"
SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
BBCLASSEXTEND = "native"