forked from pool/python-setuptools_scm
Accepting request 626813 from devel:languages:python
- Update to 3.0.6: * Solves issue with wrong version in egg-info - Add multibuild to run tests in -test package - Version update to 3.0.5: * fix readme * correct the deploy sections - update to version 3.0.2: * fix a regression from tag parsing - support for multi-dashed prefixes - #284 - changes from version 3.0.1: * fix a regression in setuptools_scm.git.parse - reorder arguments so the positional invocation from before works as expected #281 - changes from version 3.0.0: * introduce pre-commit and use black * print the origin module to help testing * switch to src layout (breaking change) * no longer alias tag and parsed_version in order to support understanding a version parse failure * require parse results to be ScmVersion or None (breaking change) * fix #266 by requiring the prefix word to be a word again (breaking change as the bug allowed arbitrary prefixes while the original feature only allowed words") * introduce a internal config object to allow the configruation fo tag parsing and prefixes (thanks to @punkadiddle for introducing it and passing it trough) OBS-URL: https://build.opensuse.org/request/show/626813 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=15
This commit is contained in:
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
@@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 1 07:27:53 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Update to 3.0.6:
|
||||||
|
* Solves issue with wrong version in egg-info
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 31 10:03:17 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add multibuild to run tests in -test package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 31 09:12:41 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version update to 3.0.5:
|
||||||
|
* fix readme
|
||||||
|
* correct the deploy sections
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 24 04:53:44 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
- update to version 3.0.2:
|
||||||
|
* fix a regression from tag parsing - support for multi-dashed
|
||||||
|
prefixes - #284
|
||||||
|
|
||||||
|
- changes from version 3.0.1:
|
||||||
|
* fix a regression in setuptools_scm.git.parse - reorder arguments
|
||||||
|
so the positional invocation from before works as expected #281
|
||||||
|
|
||||||
|
- changes from version 3.0.0:
|
||||||
|
* introduce pre-commit and use black
|
||||||
|
* print the origin module to help testing
|
||||||
|
* switch to src layout (breaking change)
|
||||||
|
* no longer alias tag and parsed_version in order to support
|
||||||
|
understanding a version parse failure
|
||||||
|
* require parse results to be ScmVersion or None (breaking change)
|
||||||
|
* fix #266 by requiring the prefix word to be a word again (breaking
|
||||||
|
change as the bug allowed arbitrary prefixes while the original
|
||||||
|
feature only allowed words")
|
||||||
|
* introduce a internal config object to allow the configruation fo
|
||||||
|
tag parsing and prefixes (thanks to @punkadiddle for introducing
|
||||||
|
it and passing it trough)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 15 05:50:53 UTC 2018 - arun@gmx.de
|
Tue May 15 05:50:53 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
@@ -17,27 +17,35 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define test 1
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
%endif
|
||||||
Name: python-setuptools_scm
|
Name: python-setuptools_scm
|
||||||
Version: 2.1.0
|
Version: 3.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Manage your versions by scm tags
|
Summary: Manage your versions by scm tags
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/pypa/setuptools_scm
|
URL: https://github.com/pypa/setuptools_scm
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# Testing requirements
|
# Testing requirements
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
|
Requires: this-is-only-for-build-envs
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Recommends: git
|
Recommends: git
|
||||||
Recommends: mecurial
|
Recommends: mecurial
|
||||||
%endif
|
%endif
|
||||||
@@ -55,15 +63,16 @@ in scm metadata. It also handles file finders for the supperted scm's.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -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 %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst CHANGELOG.rst
|
%doc README.rst CHANGELOG.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/setuptools_scm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379
|
|
||||||
size 32776
|
|
3
setuptools_scm-3.0.6.tar.gz
Normal file
3
setuptools_scm-3.0.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a9cd4250443f96947c35e4790513fc008b7cc91c1475b8b523e7c7dd69766437
|
||||||
|
size 35000
|
Reference in New Issue
Block a user