Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux/0001-setup.py-switch-to-setuptools.patch
T
Khem Raj 05d6b3594d *.patch: Add missing Upstream-Status references and reasons
Fill in bare Upstream-Status tags with verified references, per the
recipe style guide:

- Backport: add the upstream commit URL; each was matched against the
  patch diff (libsdl CVE fixes, gnome-bluetooth3, gnome-screenshot,
  NetworkManager-fortisslvpn, bridge-utils, canutils, tipcutils,
  libsigrokdecode, smartmontools, sblim-sfcc, phoronix-test-suite,
  kconfig-frontends, eject).
- Submitted: add the PR or mailing list URL (poke, unclutter-xfixes,
  collectd, python3-pynetlinux, python3-twofish), or switch to Backport
  where the fix has since been merged upstream (fuse, mtd-utils, rdate,
  openhpi). Where no submission could be found, use Pending.
- Inappropriate: add the reason, or use Pending where the change is a
  generic fix upstream could take (terminus-font, python3-pyfanotify).
- opencv 0008 and eject-timeout are distro patches (Debian, Fedora), not
  upstream backports; mark them Inappropriate.
- mdns: Apple does not accept external contributions; use Denied instead
  of a malformed Inactive-Upstream.
- openjpeg CVE-2023-39327 has an open upstream PR; mark it Submitted.
- ssmtp upstream has been revived, so it is not Inactive-Upstream.
- xsp: use the lastrelease: form.
- Join references that were wrapped onto the line after the tag, and
  move the rdate tag above the '---' separator.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 21:49:49 -08:00

32 lines
854 B
Diff

From a36abadfb2d135260bef7703a1d0b56e6aa7eeff Mon Sep 17 00:00:00 2001
From: Tim Orling <tim.orling@konsulko.com>
Date: Mon, 28 Feb 2022 08:21:33 -0800
Subject: [PATCH] setup.py: switch to setuptools
In Python 3.10, 'distutils' has been deprecated and is slated for
removal in Python 3.12.
Switch from 'distutils.core' to 'setuptools'. This also allows for the
'wheel' binary archive format to be built with 'setup.py bdist_wheel'.
Upstream-Status: Submitted [https://github.com/rlisagor/pynetlinux/pull/12]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 670e064..45f1053 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from distutils.core import setup
+from setuptools import setup
setup(
name = "pynetlinux",
--
2.30.2