diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-setuptools_scm.changes b/python-setuptools_scm.changes index 896ab84..7c58e73 100644 --- a/python-setuptools_scm.changes +++ b/python-setuptools_scm.changes @@ -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 diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 59f4c3a..c3aaa8e 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -17,27 +17,35 @@ %{?!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 +%endif Name: python-setuptools_scm -Version: 2.1.0 +Version: 3.0.6 Release: 0 Summary: Manage your versions by scm tags License: MIT Group: Development/Languages/Python URL: https://github.com/pypa/setuptools_scm 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-rpm-macros Requires: python-setuptools +BuildRequires: fdupes BuildArch: noarch %if %{with test} # Testing requirements +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: git BuildRequires: mercurial +Requires: this-is-only-for-build-envs %endif -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%if 0%{?suse_version} || 0%{?fedora_version} >= 24 Recommends: git Recommends: mecurial %endif @@ -55,15 +63,16 @@ in scm metadata. It also handles file finders for the supperted scm's. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} %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 %files %{python_files} %license LICENSE %doc README.rst CHANGELOG.rst -%{python_sitelib}/* +%{python_sitelib}/setuptools_scm* %changelog diff --git a/setuptools_scm-2.1.0.tar.gz b/setuptools_scm-2.1.0.tar.gz deleted file mode 100644 index 45e6bbb..0000000 --- a/setuptools_scm-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379 -size 32776 diff --git a/setuptools_scm-3.0.6.tar.gz b/setuptools_scm-3.0.6.tar.gz new file mode 100644 index 0000000..b2bdec0 --- /dev/null +++ b/setuptools_scm-3.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9cd4250443f96947c35e4790513fc008b7cc91c1475b8b523e7c7dd69766437 +size 35000