git: 8559d035f29f - main - deskutils/virt-manager: Fix build with setuptools 61.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:25:35 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8559d035f29fafbc33eb5df102310b4d09c916d1

commit 8559d035f29fafbc33eb5df102310b4d09c916d1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 04:15:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:54 +0000

    deskutils/virt-manager: Fix build with setuptools 61.0.0+
    
    With hat:       python
---
 deskutils/virt-manager/files/patch-setup.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/deskutils/virt-manager/files/patch-setup.py b/deskutils/virt-manager/files/patch-setup.py
index 3f2a86682ea2..243036a919ad 100644
--- a/deskutils/virt-manager/files/patch-setup.py
+++ b/deskutils/virt-manager/files/patch-setup.py
@@ -32,3 +32,11 @@
  
          'configure': configure,
  
+@@ -547,4 +544,7 @@ setuptools.setup(
+     },
+ 
+     distclass=VMMDistribution,
++
++    # Declare packages explicitly so that setuptools does not attempt auto discovery
++    packages=[],
+ )