Hello community,

here is the log from the commit of package python-sybil for openSUSE:Factory 
checked in at 2019-03-29 20:42:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sybil (Old)
 and      /work/SRC/openSUSE:Factory/.python-sybil.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sybil"

Fri Mar 29 20:42:32 2019 rev:6 rq:689259 version:1.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sybil/python-sybil.changes        
2018-11-22 13:26:55.373912392 +0100
+++ /work/SRC/openSUSE:Factory/.python-sybil.new.25356/python-sybil.changes     
2019-03-29 20:42:34.754678409 +0100
@@ -1,0 +2,8 @@
+Tue Mar 26 22:38:48 UTC 2019 - John Vandenberg <[email protected]>
+
+- Remove irrelevant and invalid runtime dependencies
+- Set pytest as a Recommends
+- Remove unnecessary build dependencies
+- Simplify %check routine
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sybil.spec ++++++
--- /var/tmp/diff_new_pack.s712pg/_old  2019-03-29 20:42:35.322678391 +0100
+++ /var/tmp/diff_new_pack.s712pg/_new  2019-03-29 20:42:35.326678390 +0100
@@ -26,26 +26,14 @@
 Url:            https://github.com/cjw296/sybil
 Source:         
https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz
 Patch0:         sybil-pytest4.patch
-BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pkginfo}
 BuildRequires:  %{python_module pytest >= 3.5.0}
-BuildRequires:  %{python_module python-coveralls}
 BuildRequires:  %{python_module setuptools-git}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module twine}
-BuildRequires:  %{python_module virtualenv}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Suggests:       python-python-coveralls
+Recommends:     python-pytest
 Suggests:       python-nose
-Suggests:       python-pytest
-Suggests:       python-sphinx
-Suggests:       python-pkginfo
-Suggests:       python-setuptools-git
-Suggests:       python-twine
-Suggests:       python-wheel
 BuildArch:      noarch
 
 %python_subpackages
@@ -59,6 +47,7 @@
 %prep
 %setup -q -n sybil-%{version}
 %patch0 -p1
+sed -i '/build=/d;/coveralls/d' setup.py
 
 %build
 %python_build
@@ -68,12 +57,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-sed -i -e "s/'coveralls'/'python-coveralls'/" setup.py
-%{python_expand virtualenv-%$python_bin_suffix --system-site-packages 
--no-download testvenv-%$python_bin_suffix
-testvenv-%$python_bin_suffix/bin/pip install -e .[test,build]
-export 
PYTHONPATH=$PWD/testvenv-%$python_bin_suffix/lib/python%$python_bin_suffix/site-packages/:$PWD
-testvenv-%$python_bin_suffix/bin/python -m pytest && rm -Rf 
testvenv-%$python_bin_suffix
-}
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
 
 %files %{python_files}
 %doc README.rst docs/changes.rst


Reply via email to