Initial package to version 1.7.0 for exceptiongroup import

This commit is contained in:
desert-sailor 2023-06-21 05:49:14 +08:00
parent 2e57b256c3
commit 1abd2d0f2d
3 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 0d9c9c67d594622394dc730741f59ffda24549d1 Mon Sep 17 00:00:00 2001
From: desert-sailor <dxwangk@isoftstone.com>
Date: Wed, 21 Jun 2023 09:39:01 +0800
Subject: [PATCH] modify the operator of version required to gt
---
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 433de46..e50c713 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ classifiers = [
"Topic :: Software Development :: Build Tools",
]
dependencies = [
- "flit-core~=3.5",
+ "flit-core>=3.5",
"setuptools_scm>=6.4",
"tomli; python_version < '3.11'",
]
@@ -33,7 +33,7 @@ repository = "https://gitlab.com/WillDaSilva/flit_scm"
[build-system]
requires = [
- "flit-core~=3.5",
+ "flit-core>=3.5",
"setuptools_scm>=6.4",
"tomli; python_version < '3.11'",
]
--
2.33.0

BIN
flit_scm-1.7.0.tar.gz Normal file

Binary file not shown.

56
python-flit-scm.spec Normal file
View File

@ -0,0 +1,56 @@
%global _empty_manifest_terminate_build 0
%global pypi_name flit-scm
%global source_name flit_scm
Name: python-%{pypi_name}
Version: 1.7.0
Release: 1
Summary: A PEP 518 build backend that uses setuptools_scm and flit_core to build the package.
License: MIT
URL: https://gitlab.com/WillDaSilva/flit_scm
Source0: https://files.pythonhosted.org/packages/e2/99/961b062461652435b6ad9042d2ffdd75e327b36936987c2073aa784334d5/flit_scm-1.7.0.tar.gz
Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-flit
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
%description
A PEP 518 build backend that uses setuptools_scm and flit_core to build the package.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
A PEP 518 build backend that uses setuptools_scm and flit_core to build the package.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/%{source_name}-*.dist-info/
%{python3_sitelib}/%{source_name}
%changelog
* Wed Jun 21 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.7.0-1
- Initial package to version 1.7.0 for exceptiongroup import