mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
python3-crcmod: use setuptools instead of distutils
Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
From 3dc1e9584ed2ac81e7526b8dbf76b4a06ea8ac76 Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@cold-front.org>
|
||||
Date: Tue, 1 Mar 2022 10:34:42 -0500
|
||||
Subject: [PATCH] setup.py use setuptools instead of distutils
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
|
||||
---
|
||||
setup.py | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index e3a524b..2f2bcfc 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,5 +1,4 @@
|
||||
-from distutils.core import setup
|
||||
-from distutils.extension import Extension
|
||||
+from setuptools import Extension, setup
|
||||
import sys,os
|
||||
|
||||
if sys.version_info[0] == 2:
|
||||
@@ -4,7 +4,7 @@ LICENSE = "MIT"
|
||||
SECTION = "devel/python"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a19291627cad2d1dfbfcf3c9fb85c2"
|
||||
|
||||
SRC_URI[md5sum] = "2d5b92117d958dcead94f9e17f54cd32"
|
||||
SRC_URI += "file://0001-setup.py-use-setuptools-instead-of-distutils.patch"
|
||||
SRC_URI[sha256sum] = "dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
Reference in New Issue
Block a user