summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-17 02:43:41 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-17 02:43:41 +0000
commitdac35b3d52ace0c7257438b49d8050f63d3b656e (patch)
tree903138949036b04a7a0a0dcc96a692b7c6937180
parentb443309420bc204646051e35c6bdbdfdeb39a746 (diff)
automatic import of python-hatch-vcsopeneuler22.03_LTS_SP4
-rw-r--r--.gitignore1
-rw-r--r--python-hatch-vcs.spec55
-rw-r--r--sources1
3 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d6c71c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hatch_vcs-0.4.0.tar.gz
diff --git a/python-hatch-vcs.spec b/python-hatch-vcs.spec
new file mode 100644
index 0000000..d283c7e
--- /dev/null
+++ b/python-hatch-vcs.spec
@@ -0,0 +1,55 @@
+Name: python-hatch-vcs
+Version: 0.4.0
+Release: 1
+Summary: Hatch plugin for versioning with your preferred VCS
+
+License: MIT
+URL: https://pypi.org/project/hatch-vcs
+Source0: https://files.pythonhosted.org/packages/f5/c9/54bb4fa27b4e4a014ef3bb17710cdf692b3aa2cbc7953da885f1bf7e06ea/hatch_vcs-0.4.0.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel python3-pip python3-hatchling
+BuildRequires: python3-setuptools_scm python3-pathspec python3-hatch-vcs
+BuildRequires: python3dist(pytest)
+BuildRequires: git-core
+
+
+%global common_description %{expand:
+This provides a plugin for Hatch that uses your preferred version control
+system (like Git) to determine project versions.}
+
+%description %{common_description}
+
+%package -n python3-hatch-vcs
+Summary: %{summary}
+
+%description -n python3-hatch-vcs %{common_description}
+
+%prep
+%autosetup -n hatch_vcs-%{version} -p1
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install hatch_vcs
+
+%check
+%{__python3} -m pytest
+
+%files -n python3-hatch-vcs
+%license LICENSE.txt
+%doc README.md
+%{python3_sitelib}/hatch_vcs
+%{python3_sitelib}/hatch_vcs-%{version}*-info
+
+%changelog
+* Tue Mar 12 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.4.0-1
+- Update package to version 0.4.0
+ Officially support Python 3.12 and drop support for Python 3.7
+
+* Fri Sep 01 2023 wulei <wu_lei@hoperun.com> - 0.3.0-2
+- Fix setuptools_scm 7.1.0 test incompatible
+
+* Thu Apr 13 2023 caodongxia <caodongxia@h-partners.com> - 0.3.0-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..26f726f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d801fe7c3e5955307748f2790bbb3488 hatch_vcs-0.4.0.tar.gz