Drop the python-hatch-vcs dependency
This commit is contained in:
parent
75b2b696e8
commit
af2e4c62c0
54
0001-Drop-depedency-on-hatch-vcs.patch
Normal file
54
0001-Drop-depedency-on-hatch-vcs.patch
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
From c34f3d01eb258ca6f97fc72d7bf8162aa40b4cab Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Ond=C5=99ej=20Budai?= <ondrej@budai.cz>
|
||||||
|
Date: Tue, 6 Aug 2024 11:00:39 +0200
|
||||||
|
Subject: [PATCH] Drop depedency on hatch-vcs
|
||||||
|
|
||||||
|
We want to remove it from EL10, we don't need automatic versions there.
|
||||||
|
---
|
||||||
|
pyproject.toml | 12 +-----------
|
||||||
|
1 file changed, 1 insertion(+), 11 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 410c5de..d7c3cb0 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -1,12 +1,12 @@
|
||||||
|
[build-system]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
requires = [
|
||||||
|
- "hatch-vcs",
|
||||||
|
"hatchling",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "prettytable"
|
||||||
|
+version = "3.6.0"
|
||||||
|
description = "A simple Python library for easily displaying tabular data in a visually appealing ASCII table format"
|
||||||
|
readme = "README.md"
|
||||||
|
license = {text = "BSD (3 clause)"}
|
||||||
|
@@ -17,9 +17,6 @@ dependencies = [
|
||||||
|
'importlib-metadata; python_version < "3.8"',
|
||||||
|
"wcwidth",
|
||||||
|
]
|
||||||
|
-dynamic = [
|
||||||
|
- "version",
|
||||||
|
-]
|
||||||
|
classifiers = [
|
||||||
|
"License :: OSI Approved :: BSD License",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
@@ -46,12 +43,5 @@ tests = [
|
||||||
|
Homepage = "https://github.com/jazzband/prettytable"
|
||||||
|
Source = "https://github.com/jazzband/prettytable"
|
||||||
|
|
||||||
|
-
|
||||||
|
-[tool.hatch]
|
||||||
|
-version.source = "vcs"
|
||||||
|
-
|
||||||
|
-[tool.hatch.version.raw-options]
|
||||||
|
-local_scheme = "no-local-version"
|
||||||
|
-
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
@ -8,6 +8,7 @@ Summary: Python library to display tabular data in tables
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/jazzband/prettytable
|
URL: https://github.com/jazzband/prettytable
|
||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source}
|
||||||
|
Patch0: 0001-Drop-depedency-on-hatch-vcs.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ selection of which columns are to be printed, independent alignment of columns
|
|||||||
a row range.
|
a row range.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n %{pypi_name}-%{version} -p1
|
||||||
sed -i -e '/^*!\//, 1d' src/prettytable/*.py
|
sed -i -e '/^*!\//, 1d' src/prettytable/*.py
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
@ -60,6 +61,9 @@ sed -i -e '/^*!\//, 1d' src/prettytable/*.py
|
|||||||
%doc README.md CHANGELOG.md
|
%doc README.md CHANGELOG.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 06 2024 Ondřej Budai <obudai@redhat.com> - 3.6.0-9
|
||||||
|
- Drop the python-hatch-vcs dependency
|
||||||
|
|
||||||
* Sat Mar 04 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.6.0-1
|
* Sat Mar 04 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.6.0-1
|
||||||
- Update to upstream 3.6.0
|
- Update to upstream 3.6.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user