summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-27 06:17:36 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-27 06:17:36 +0000
commit8f6bc78472face4a6b08bfed8dd276645c3d3924 (patch)
treec8cd31f3a46c7e04cddfb5abd5cfaf4121fb6d14
parent068f20d7f78968b5cfa3bc4666465521a5497a65 (diff)
automatic import of python-setuptools_scmopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-setuptools_scm.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..290e72f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/setuptools_scm-7.1.0.tar.gz
diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec
new file mode 100644
index 0000000..9d02772
--- /dev/null
+++ b/python-setuptools_scm.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-setuptools_scm
+Version: 7.1.0
+Release: 1
+Summary: Manage your Python package versions in SCM metadata
+License: MIT
+URL: https://pypi.python.org/pypi/setuptools_scm/
+Source0: %{pypi_source setuptools_scm}
+
+BuildRequires: python3-tomli python3-packaging python3-pip python3-wheel
+BuildArch: noarch
+Requires: python3-setuptool
+Requires: python3-toml
+
+%description
+setuptools_scm handles managing your Python package versions in SCM metadata
+instead of declaring them as the version argument or in a SCM managed file.
+It also handles file finders for the supported SCMs.
+
+%package -n python3-setuptools_scm
+Summary: the blessed package to manage your versions by scm tags
+Provides: python-setuptools_scm
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-setuptools_scm
+setuptools_scm handles managing your Python package versions in SCM metadata
+instead of declaring them as the version argument or in a SCM managed file.
+It also handles file finders for the supported SCMs.
+
+%package help
+Summary: Development documents and examples for setuptools_scm
+Provides: python3-setuptools_scm-doc
+%description help
+setuptools_scm handles managing your Python package versions in SCM metadata
+instead of declaring them as the version argument or in a SCM managed file.
+It also handles file finders for the supported SCMs.
+
+%prep
+%autosetup -n setuptools_scm-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install setuptools_scm==%{version}
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+
+%files -n python3-setuptools_scm
+%{python3_sitelib}/*
+
+%files help
+%{_pkgdocdir}
+
+%changelog
+* Fri Sep 01 2023 wulei <wu_lei@hoperun.com> - 7.1.0-1
+- Update to 7.1.0
+
+* Sun Apr 23 2023 caodongxia <caodongxia@h-partners.com> - 6.4.2-1
+- Update to 6.4.2
+
+* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 6.0.0-1
+- Upgrade version for openstack yoga
+
+* Thu Dec 3 2020 baizhonggui <baizhonggui@huawei.com> - 4.1.2-1
+- Update to 4.1.2
+
+* Wed Oct 21 2020 zhanghua <zhanghua40@huawei.com> - 3.1.0-3
+- remove python2 subpackage
+
+* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.0-2
+- Modify spec format.
+
+* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.0-1
+- Package init.
diff --git a/sources b/sources
new file mode 100644
index 0000000..914107c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+158dc741637fb4fa4b955c62bd2c08be setuptools_scm-7.1.0.tar.gz