!2 add dependency of python-hatch-fancy-pypi-readme
From: @li-miaomiao_zhr Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
f047e1f4c4
@ -1,45 +0,0 @@
|
||||
From 48b4765d34428ae22f6a285d5d58a4730826a1bf Mon Sep 17 00:00:00 2001
|
||||
From: li-miaomiao_zhr <mmlidc@isoftstone.com>
|
||||
Date: Fri, 16 Jun 2023 15:17:13 +0800
|
||||
Subject: [PATCH] add annotation
|
||||
|
||||
---
|
||||
pyproject.toml | 15 ++++++++-------
|
||||
1 file changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 435626a..8e76868 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -26,7 +26,8 @@ preview = true
|
||||
# NOTE: You don't need this in your own Black configuration.
|
||||
|
||||
[build-system]
|
||||
-requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
|
||||
+#requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
|
||||
+requires = ["hatchling>=1.8.0", "hatch-vcs"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
@@ -93,12 +94,12 @@ blackd = "blackd:patched_main [d]"
|
||||
Changelog = "https://github.com/psf/black/blob/main/CHANGES.md"
|
||||
Homepage = "https://github.com/psf/black"
|
||||
|
||||
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||
-content-type = "text/markdown"
|
||||
-fragments = [
|
||||
- { path = "README.md" },
|
||||
- { path = "CHANGES.md" },
|
||||
-]
|
||||
+#[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||
+#content-type = "text/markdown"
|
||||
+#fragments = [
|
||||
+# { path = "README.md" },
|
||||
+# { path = "CHANGES.md" },
|
||||
+#]
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "vcs"
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: python-black
|
||||
Version: 23.3.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: The uncompromising code formatter
|
||||
License: MIT
|
||||
URL: https://github.com/psf/black
|
||||
@ -15,10 +15,9 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-editables
|
||||
BuildRequires: python3-hatch-vcs
|
||||
BuildRequires: python3-hatchling
|
||||
Patch0: 0001-add-annotation.patch
|
||||
BuildRequires: python3-hatch-fancy-pypi-readme
|
||||
|
||||
%global _description %{expand:
|
||||
Black is the uncompromising Python code formatter. By using it, you agree to
|
||||
@ -65,5 +64,8 @@ done
|
||||
%{python3_sitelib}/blib2to3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 26 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 23.3.0-2
|
||||
- add dependency of python-hatch-fancy-pypi-readme
|
||||
|
||||
* Wed Jun 7 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 23.3.0-1
|
||||
- fix issue:add package python-black of version 23.3.0 to warehouse of src-openEuler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user