Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
27aab7c179
!20 Update to 7.1.0
From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-09-04 01:08:58 +00:00
wu-leilei
7949ab72c0 Update to 7.1.0 2023-09-01 14:28:00 +08:00
openeuler-ci-bot
b739a471fd
!17 Upgrade to 6.4.2
From: @caodongxia 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-04-24 00:57:12 +00:00
caodongxia
3c9c750855 update to 6.4.2 2023-04-23 16:04:58 +08:00
openeuler-ci-bot
a0a7f860f9
!13 upgrade to 6.0.0 for openstack yoga
From: @zhangy1317 
Reviewed-by: @han-guangyu, @renliang16, @licihua 
Signed-off-by: @licihua
2022-07-19 04:12:43 +00:00
zhangy1317
49b90a67ae upgrade to 6.0.0 2022-07-12 15:48:36 +08:00
openeuler-ci-bot
28f2d6b95b !6 Update to 4.1.2 version
From: @baizg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-04 10:23:40 +08:00
baizg1107
c3c93809b8 Update to 4.1.2 2020-12-03 18:21:30 +08:00
openeuler-ci-bot
d364709667 !5 remove python2 of package python-setuptools_scm
From: @zhanghua1831
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-11-03 15:36:33 +08:00
zhanghua
f3840625f5 remove python2 of package python-setuptools_scm 2020-10-29 15:14:31 +08:00
3 changed files with 43 additions and 43 deletions

View File

@ -1,41 +1,36 @@
%global _empty_manifest_terminate_build 0
Name: python-setuptools_scm Name: python-setuptools_scm
Version: 3.1.0 Version: 7.1.0
Release: 2 Release: 1
Summary: Manage your Python package versions in SCM metadata Summary: Manage your Python package versions in SCM metadata
License: MIT License: MIT
URL: https://pypi.python.org/pypi/setuptools_scm URL: https://pypi.python.org/pypi/setuptools_scm/
Source0: https://files.pythonhosted.org/packages/source/%(n=setuptools_scm; echo ${n:0:1})/setuptools_scm/setuptools_scm-%{version}.tar.gz Source0: %{pypi_source setuptools_scm}
BuildRequires: python3-tomli python3-packaging python3-pip python3-wheel
BuildArch: noarch BuildArch: noarch
BuildRequires: git-core mercurial Requires: python3-setuptool
Requires: python3-toml
%description %description
setuptools_scm handles managing your Python package versions in SCM metadata 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. instead of declaring them as the version argument or in a SCM managed file.
It also handles file finders for the supported SCMs. It also handles file finders for the supported SCMs.
%package_help %package -n python3-setuptools_scm
Summary: the blessed package to manage your versions by scm tags
%package -n python2-setuptools_scm Provides: python-setuptools_scm
Summary: %{summary} BuildRequires: python3-devel
BuildRequires: python2-devel python2-setuptools BuildRequires: python3-setuptools
BuildRequires: python2-pytest %description -n python3-setuptools_scm
%{?python_provide:%python_provide python2-setuptools_scm}
%description -n python2-setuptools_scm
setuptools_scm handles managing your Python package versions in SCM metadata 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. instead of declaring them as the version argument or in a SCM managed file.
It also handles file finders for the supported SCMs. It also handles file finders for the supported SCMs.
%package -n python%{python3_pkgversion}-setuptools_scm %package help
Summary: %{summary} Summary: Development documents and examples for setuptools_scm
BuildRequires: python%{python3_pkgversion}-devel Provides: python3-setuptools_scm-doc
BuildRequires: python%{python3_pkgversion}-setuptools %description help
BuildRequires: python%{python3_pkgversion}-pytest
%{?python_provide:%python_provide python%{python3_pkgversion}-setuptools_scm}
Obsoletes: platform-python-setuptools_scm < %{version}-%{release}
%description -n python%{python3_pkgversion}-setuptools_scm
setuptools_scm handles managing your Python package versions in SCM metadata 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. instead of declaring them as the version argument or in a SCM managed file.
It also handles file finders for the supported SCMs. It also handles file finders for the supported SCMs.
@ -44,33 +39,38 @@ It also handles file finders for the supported SCMs.
%autosetup -n setuptools_scm-%{version} %autosetup -n setuptools_scm-%{version}
%build %build
%py2_build %pyproject_build
%py3_build
%install %install
%py2_install %pyproject_install setuptools_scm==%{version}
%py3_install 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
%check %files -n python3-setuptools_scm
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' %{python3_sitelib}/*
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python3_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)'
%files help %files help
%doc README.rst %{_pkgdocdir}
%files -n python2-setuptools_scm
%defattr(-,root,root)
%license LICENSE
%{python2_sitelib}/setuptools_scm/
%{python2_sitelib}/setuptools_scm-*.egg-info/
%files -n python%{python3_pkgversion}-setuptools_scm
%defattr(-,root,root)
%license LICENSE
%{python3_sitelib}/setuptools_scm/
%{python3_sitelib}/setuptools_scm-*.egg-info
%changelog %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 * Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.0-2
- Modify spec format. - Modify spec format.

Binary file not shown.

BIN
setuptools_scm-7.1.0.tar.gz Normal file

Binary file not shown.