Update to 3.0.4

Re-enable tests
This commit is contained in:
Orion Poplawski 2018-07-29 18:19:55 -06:00
parent aefc0fb78d
commit 2441621c88
3 changed files with 20 additions and 16 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/setuptools_scm-1.15.6.tar.gz /setuptools_scm-1.15.6.tar.gz
/setuptools_scm-1.15.7.tar.gz /setuptools_scm-1.15.7.tar.gz
/setuptools_scm-2.1.0.tar.gz /setuptools_scm-2.1.0.tar.gz
/setuptools_scm-3.0.4.tar.gz

View File

@ -1,11 +1,10 @@
# Tests are not included in PyPI tarball %bcond_without tests
%bcond_with tests
%global srcname setuptools_scm %global srcname setuptools_scm
Name: python-%{srcname} Name: python-%{srcname}
Version: 2.1.0 Version: 3.0.4
Release: 4%{?dist} Release: 1%{?dist}
Summary: Blessed package to manage your versions by scm tags Summary: Blessed package to manage your versions by scm tags
# https://github.com/pypa/setuptools_scm/issues/211 # https://github.com/pypa/setuptools_scm/issues/211
@ -37,17 +36,17 @@ BuildRequires: python2-pytest
Setuptools_scm handles managing your python package versions in scm metadata. Setuptools_scm handles managing your python package versions in scm metadata.
It also handles file finders for the suppertes scms. It also handles file finders for the suppertes scms.
%package -n python3-%{srcname} %package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python3-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with tests} %if %{with tests}
BuildRequires: python3-pytest BuildRequires: python%{python3_pkgversion}-pytest
%endif %endif
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
Obsoletes: platform-python-%{srcname} < %{version}-%{release} Obsoletes: platform-python-%{srcname} < %{version}-%{release}
%description -n python3-%{srcname} %description -n python%{python3_pkgversion}-%{srcname}
Setuptools_scm handles managing your python package versions in scm metadata. Setuptools_scm handles managing your python package versions in scm metadata.
It also handles file finders for the suppertes scms. It also handles file finders for the suppertes scms.
@ -64,23 +63,27 @@ It also handles file finders for the suppertes scms.
%if %{with tests} %if %{with tests}
%check %check
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -vv 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)'
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -vv 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)'
%endif %endif
%files -n python2-%{srcname} %files -n python2-%{srcname}
#license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python2_sitelib}/%{srcname}/ %{python2_sitelib}/%{srcname}/
%{python2_sitelib}/%{srcname}-*.egg-info/ %{python2_sitelib}/%{srcname}-*.egg-info/
%files -n python3-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
#license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}/
%{python3_sitelib}/%{srcname}-*.egg-info %{python3_sitelib}/%{srcname}-*.egg-info
%changelog %changelog
* Sun Jul 29 2018 Orion Poplawski <orion@nwra.com> - 3.0.4-1
- Update to 3.0.4
- Re-enable tests
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (setuptools_scm-2.1.0.tar.gz) = 69ce171aa4d3b576883efffb350c59f38bfe8b35bd8e4e8fa1128d9f8a3e6cfaab832633e91fada36126f8e7e2c18663fad621d62c9834be1b5d36c58ae1d1c8 SHA512 (setuptools_scm-3.0.4.tar.gz) = a41dd09cf065fb7a00898d32e324044c86ddd5211d4aea09e77de76716810c20e0872a5b166646e348e197aefb9aaac744e62d03738845efd0ff65cf17186f48