Nix setup.cfg

Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
This commit is contained in:
zhang-liang-pengkun 2023-12-06 10:34:42 +08:00
parent bde76215a6
commit 3832749ddc
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,12 +1,13 @@
name: python-sphinx-theme-alabaster name: python-sphinx-theme-alabaster
Version: 0.7.12 Version: 0.7.12
Release: 2 Release: 3
Summary: Configurable sidebar-enabled Sphinx theme Summary: Configurable sidebar-enabled Sphinx theme
License: BSD License: BSD
URL: https://pypi.python.org/pypi/alabaster URL: https://pypi.python.org/pypi/alabaster
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
Patch0001: 0001-Declare-support-for-Python-3.8-only.patch Patch0001: 0001-Declare-support-for-Python-3.8-only.patch
Patch0002: 0002-Nix-setup.cfg.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel python2-setuptools BuildRequires: python2-devel python2-setuptools
@ -65,6 +66,9 @@ rm -rf alabaster.egg-info
%changelog %changelog
* Tue Dec 05 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-3
- Nix setup.cfg
* Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-2 * Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-2
- Declare support for Python 3.8+ only - Declare support for Python 3.8+ only