summaryrefslogtreecommitdiff
path: root/app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch
diff options
context:
space:
mode:
authorNicolas PARLANT <nicolas.parlant@parhuet.fr>2025-01-15 19:28:25 +0000
committerLouis Sautier <sbraz@gentoo.org>2025-01-30 14:06:27 +0100
commit4e54077cf4cdb64eb50cd3b9cb1814a61ba3d53c (patch)
treed980a6f093c5f4870d72c5f634fa0a4c50cb0ece /app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch
parentbc96caf6d5581d22036a9fcdb0c5158bf5d75e7b (diff)
downloadgentoo-4e54077cf4cdb64eb50cd3b9cb1814a61ba3d53c.tar.gz
gentoo-4e54077cf4cdb64eb50cd3b9cb1814a61ba3d53c.tar.bz2
gentoo-4e54077cf4cdb64eb50cd3b9cb1814a61ba3d53c.zip
app-admin/supervisor: add 4.2.5_p20250125
post release as some bugs are fixed since 4.2.5 and : enable py3.13 setuptools is no longer a runtime-dep for ≥ py3.8: https://github.com/Supervisor/supervisor/commit/19c68f5 patch for setuptools QA warns exclude tests dir for install Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch')
-rw-r--r--app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch b/app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch
new file mode 100644
index 000000000000..0b8769e02295
--- /dev/null
+++ b/app-admin/supervisor/files/supervisor-4.3.0-fix-qa-warnings.patch
@@ -0,0 +1,45 @@
+https://github.com/Supervisor/supervisor/issues/1560
+https://github.com/Supervisor/supervisor/pull/1675
+upstream will not merge soon as it's py3 only (find_namespace_packages)
+--- a/setup.py
++++ b/setup.py
+@@ -34,7 +34,7 @@
+ 'pytest-cov',
+ ]
+
+-from setuptools import setup, find_packages
++from setuptools import setup, find_namespace_packages
+ here = os.path.abspath(os.path.dirname(__file__))
+ try:
+ with open(os.path.join(here, 'README.rst'), 'r') as f:
+@@ -91,15 +91,19 @@
+ classifiers=CLASSIFIERS,
+ author="Chris McDonough",
+ author_email="chrism@plope.com",
+- packages=find_packages(),
++ packages=find_namespace_packages(exclude=["docs","supervisor.tests","supervisor.tests.*"]),
++ package_dir={"": "."},
++ package_data={
++ "supervisor": ["version.txt"],
++ "supervisor.ui": ["**/*"],
++ "supervisor.skel": ["*"]
++ },
+ install_requires=requires,
+ extras_require={
+ 'testing': testing_extras,
+ },
+- tests_require=tests_require,
+ include_package_data=True,
+ zip_safe=False,
+- test_suite="supervisor.tests",
+ entry_points={
+ 'console_scripts': [
+ 'supervisord = supervisor.supervisord:main',
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -2,4 +2,4 @@
+ zip_ok = false
+
+ [bdist_wheel]
+-universal = 1
++universal = 0