!47 [sync] PR-36: [sync] PR-33: Nix setup.cfg

From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2024-05-28 03:33:11 +00:00 committed by Gitee
commit 4a06b20941
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 35 additions and 1 deletions

30
0002-Nix-setup.cfg.patch Normal file
View File

@ -0,0 +1,30 @@
From c284cff00bfb15f6a912384dad75ad1146c8a186 Mon Sep 17 00:00:00 2001
From: Jeff Forcier <jeff@bitprophet.org>
Date: Thu, 12 Jan 2023 22:14:36 -0500
Subject: [PATCH] Nix setup.cfg
---
setup.cfg => .flake8 | 6 ------
1 file changed, 6 deletions(-)
rename setup.cfg => .flake8 (53%)
diff --git a/setup.cfg b/.flake8
similarity index 53%
rename from setup.cfg
rename to .flake8
index 04af7cb..fbcb0b2 100644
--- a/setup.cfg
+++ b/.flake8
@@ -1,9 +1,3 @@
-[bdist_wheel]
-universal = 1
-
-[metadata]
-license_file = LICENSE
-
[flake8]
ignore = E124,E125,E128,E261,E301,E302,E303
max-line-length = 79
--
2.39.0.windows.2

View File

@ -1,6 +1,6 @@
name: python-sphinx-theme-alabaster name: python-sphinx-theme-alabaster
Version: 0.7.12 Version: 0.7.12
Release: 7 Release: 8
Summary: Configurable sidebar-enabled Sphinx theme Summary: Configurable sidebar-enabled Sphinx theme
License: BSD License: BSD
@ -9,6 +9,7 @@ Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f8
Patch0001: update-LICENSE-newyear.patch Patch0001: update-LICENSE-newyear.patch
Patch0002: Declare-support-for-Python-3_8+only.patch Patch0002: Declare-support-for-Python-3_8+only.patch
Patch0003: 0001-Add-python_requires.patch Patch0003: 0001-Add-python_requires.patch
Patch0004: 0002-Nix-setup.cfg.patch
BuildArch: noarch BuildArch: noarch
@ -51,6 +52,9 @@ rm -rf alabaster.egg-info
%changelog %changelog
* Thu Nov 23 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-8
- Nix setup.cfg
* Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-7 * Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-7
- Add python_requires - Add python_requires