From 496d6dc3a3edab00ff1f31fafb1dd1e117424f04 Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 23 Nov 2023 19:27:16 +0800 Subject: [PATCH] Nix setup.cfg Signed-off-by: zhang-liang-pengkun (cherry picked from commit 1ae8317d2a7a301eb314aeb1d3c36295a2c0c2ef) (cherry picked from commit 49f0f0e8d2f124caf5820fc6ae7b05476485ce76) --- 0002-Nix-setup.cfg.patch | 30 ++++++++++++++++++++++++++++++ python-sphinx-theme-alabaster.spec | 6 +++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 0002-Nix-setup.cfg.patch diff --git a/0002-Nix-setup.cfg.patch b/0002-Nix-setup.cfg.patch new file mode 100644 index 0000000..1a50ae4 --- /dev/null +++ b/0002-Nix-setup.cfg.patch @@ -0,0 +1,30 @@ +From c284cff00bfb15f6a912384dad75ad1146c8a186 Mon Sep 17 00:00:00 2001 +From: Jeff Forcier +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 + diff --git a/python-sphinx-theme-alabaster.spec b/python-sphinx-theme-alabaster.spec index 833e2e8..16ad980 100644 --- a/python-sphinx-theme-alabaster.spec +++ b/python-sphinx-theme-alabaster.spec @@ -1,6 +1,6 @@ name: python-sphinx-theme-alabaster Version: 0.7.12 -Release: 7 +Release: 8 Summary: Configurable sidebar-enabled Sphinx theme License: BSD @@ -9,6 +9,7 @@ Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f8 Patch0001: update-LICENSE-newyear.patch Patch0002: Declare-support-for-Python-3_8+only.patch Patch0003: 0001-Add-python_requires.patch +Patch0004: 0002-Nix-setup.cfg.patch BuildArch: noarch @@ -51,6 +52,9 @@ rm -rf alabaster.egg-info %changelog +* Thu Nov 23 2023 zhangliangpengkun - 0.7.12-8 +- Nix setup.cfg + * Thu Nov 16 2023 zhangliangpengkun - 0.7.12-7 - Add python_requires