diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-03-02 22:57:34 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-03 08:48:07 -0800 |
| commit | 238814e5a196a7e1568f50223cbddc35518e4615 (patch) | |
| tree | 7265925458d518be6deafd47aa16587b779a3030 /meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch | |
| parent | daba6521fa5a8baa1bd53312d025982e201d022a (diff) | |
| download | meta-openembedded-238814e5a196a7e1568f50223cbddc35518e4615.tar.gz | |
python3-slip-dbus: Fix build with wheel packaging
Migrate to use setuptools instead of distutils
merge slip.dbus into slip module since we use
slip.dbus, it works fine for OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch b/meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch new file mode 100644 index 0000000000..1208769b2f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-slip-dbus/0001-setup.py-Use-setuptools-instead-of-distutils.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 4309ce76351b1685d08b3ba55d4f62b3e53ef76b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 1 Mar 2022 19:06:35 -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.in | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | --- a/setup.py.in | ||
| 13 | +++ b/setup.py.in | ||
| 14 | @@ -2,20 +2,17 @@ | ||
| 15 | # -*- coding: utf-8 -*- | ||
| 16 | |||
| 17 | import sys | ||
| 18 | -from distutils.core import setup | ||
| 19 | +from setuptools import setup, find_packages | ||
| 20 | |||
| 21 | setup(name="slip", version="@VERSION@", | ||
| 22 | py_modules=["slip.__init__", "slip.util.__init__", | ||
| 23 | "slip.util.hookable", "slip.util.files", | ||
| 24 | - "slip._wrappers.__init__", "slip._wrappers._glib"], | ||
| 25 | - requires=["selinux"]) | ||
| 26 | - | ||
| 27 | -setup(name="slip.dbus", version="@VERSION@", | ||
| 28 | - py_modules=["slip.dbus.__init__", "slip.dbus.bus", | ||
| 29 | + "slip._wrappers.__init__", "slip._wrappers._glib", | ||
| 30 | + "slip.dbus.__init__", "slip.dbus.bus", | ||
| 31 | "slip.dbus.constants", "slip.dbus.introspection", | ||
| 32 | "slip.dbus.mainloop", "slip.dbus.polkit", "slip.dbus.proxies", | ||
| 33 | "slip.dbus.service"], | ||
| 34 | - requires=["dbus", "decorator", "StringIO", "xml.etree.ElementTree"]) | ||
| 35 | + requires=["dbus", "decorator", "selinux", "StringIO", "xml.etree.ElementTree"]) | ||
| 36 | |||
| 37 | if sys.version_info.major == 2: | ||
| 38 | setup(name="slip.gtk", version="@VERSION@", | ||
