Accepting request 628792 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/628792 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=16
This commit is contained in:
commit
1172decd60
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 11 16:28:16 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
- update to version 3.1.0:
|
||||||
|
* fix #297 - correct the invocation in version_from_scm and
|
||||||
|
deprecate it as its exposed by accident
|
||||||
|
* fix #298 - handle git file listing on empty repositories
|
||||||
|
* fix #268 - deprecate ScmVersion.extra
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 8 15:54:22 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Use noun phrase in summary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 7 07:19:37 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix the multibuild code
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 1 07:27:53 UTC 2018 - tchvatal@suse.com
|
Wed Aug 1 07:27:53 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -24,26 +24,30 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-setuptools_scm
|
Version: 3.1.0
|
||||||
Version: 3.0.6
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Manage your versions by scm tags
|
Summary: Python setuptools handler for 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 setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
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}
|
||||||
|
Name: python-setuptools_scm-%{flavor}
|
||||||
|
%else
|
||||||
|
Name: python-setuptools_scm
|
||||||
|
%endif
|
||||||
|
%if %{with test}
|
||||||
# Testing requirements
|
# Testing requirements
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm = %{version}}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
Requires: this-is-only-for-build-envs
|
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Recommends: git
|
Recommends: git
|
||||||
@ -52,8 +56,8 @@ Recommends: mecurial
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The setuptools_scm package handles managing your python package versions
|
The setuptools_scm package handles managing one's Python package versions
|
||||||
in scm metadata. It also handles file finders for the supperted scm's.
|
in SCM metadata. It also handles file finders for the supperted SCMs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n setuptools_scm-%{version}
|
%setup -q -n setuptools_scm-%{version}
|
||||||
@ -62,17 +66,21 @@ in scm metadata. It also handles file finders for the supperted scm's.
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if !%{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%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)'
|
%python_expand PYTHONPATH=%{$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
|
||||||
|
%if !%{with test}
|
||||||
%doc README.rst CHANGELOG.rst
|
%doc README.rst CHANGELOG.rst
|
||||||
%{python_sitelib}/setuptools_scm*
|
%{python_sitelib}/setuptools_scm*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a9cd4250443f96947c35e4790513fc008b7cc91c1475b8b523e7c7dd69766437
|
|
||||||
size 35000
|
|
3
setuptools_scm-3.1.0.tar.gz
Normal file
3
setuptools_scm-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1191f2a136b5e86f7ca8ab00a97ef7aef997131f1f6d4971be69a1ef387d8b40
|
||||||
|
size 35585
|
Loading…
x
Reference in New Issue
Block a user