Hello community,

here is the log from the commit of package python-setuptools_scm for 
openSUSE:Factory checked in at 2017-07-04 11:57:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools_scm (Old)
 and      /work/SRC/openSUSE:Factory/.python-setuptools_scm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools_scm"

Tue Jul  4 11:57:54 2017 rev:8 rq:507869 version:1.15.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-setuptools_scm/python-setuptools_scm.changes  
    2017-05-20 14:30:05.214103703 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-setuptools_scm.new/python-setuptools_scm.changes
 2017-07-04 11:57:58.236946708 +0200
@@ -1,0 +2,6 @@
+Mon Jun 26 14:09:51 UTC 2017 - jmate...@suse.com
+
+- also do not buildrequire mercurial unless specified
+- bcond_with test to run the test suite
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setuptools_scm.spec ++++++
--- /var/tmp/diff_new_pack.5XMjkU/_old  2017-07-04 11:57:58.880856092 +0200
+++ /var/tmp/diff_new_pack.5XMjkU/_new  2017-07-04 11:57:58.884855529 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_with test
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-setuptools_scm
 Version:        1.15.0
@@ -30,9 +31,12 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
+%if %{with test}
 # Testing requirements
 BuildRequires:  %{python_module pytest}
+BuildRequires:  git
 BuildRequires:  mercurial
+%endif
 Requires:       python-setuptools
 Recommends:     git
 Recommends:     mecurial
@@ -48,9 +52,6 @@
 %prep
 %setup -q -n setuptools_scm-%{version}
 %patch0 -p1
-# We can't pull in git into the build root, as this causes a nasty build cycle
-# git - curl - nghttp2 - setuptools - git
-rm testing/test_{git,regressions}.py
 
 %build
 %python_build
@@ -58,8 +59,10 @@
 %install
 %python_install
 
+%if %{with test}
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix}
+%endif
 
 %files %python_files
 %defattr(-,root,root,-)


Reply via email to