Hello community,

here is the log from the commit of package python-pybeam for openSUSE:Factory 
checked in at 2020-02-20 14:53:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybeam (Old)
 and      /work/SRC/openSUSE:Factory/.python-pybeam.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pybeam"

Thu Feb 20 14:53:19 2020 rev:16 rq:774364 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybeam/python-pybeam.changes      
2019-12-25 10:54:36.121625552 +0100
+++ /work/SRC/openSUSE:Factory/.python-pybeam.new.26092/python-pybeam.changes   
2020-02-20 14:53:21.822049106 +0100
@@ -1,0 +2,13 @@
+Fri Feb 14 09:50:49 UTC 2020 - Matwey Kornilov <[email protected]>
+
+- Version 0.6
+
+-------------------------------------------------------------------
+Wed Feb 12 16:47:55 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Remove doc conditional as it is never built due to always being
+  as a bcond_with
+- Use unittest directly to avoid setup.py test deprecation
+- Allow usage with construct 2.10
+
+-------------------------------------------------------------------

Old:
----
  pybeam-0.5.tar.gz

New:
----
  pybeam-0.6.tar.gz

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

Other differences:
------------------
++++++ python-pybeam.spec ++++++
--- /var/tmp/diff_new_pack.zhG5oc/_old  2020-02-20 14:53:22.570050612 +0100
+++ /var/tmp/diff_new_pack.zhG5oc/_new  2020-02-20 14:53:22.574050620 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pybeam
+# spec file for package python
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,39 +19,33 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%bcond_with    doc
-%bcond_without test
 %define psuffix -test
+%bcond_without test
 %endif
 %if "%{flavor}" == ""
-%bcond_with    doc
 %bcond_with    test
 %endif
 Name:           python-pybeam%{?psuffix}
-Version:        0.5
+Version:        0.6
 Release:        0
 Summary:        Python module to parse Erlang BEAM files
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://github.com/matwey/pybeam
+URL:            https://github.com/matwey/pybeam
 Source:         
https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
 Patch0:         make_sphinx_optional.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with doc}
-BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module construct < 2.10}
-BuildRequires:  %{python_module construct >= 2.9}
-%endif
-%if %{with test}
-BuildRequires:  %{python_module pybeam == %{version}}
-BuildRequires:  %{python_module six}
-%endif
-Requires:       python-construct < 2.10
+Requires:       python-construct < 2.11
 Requires:       python-construct >= 2.9
 Requires:       python-six >= 1.4.0
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module construct < 2.11}
+BuildRequires:  %{python_module construct >= 2.9}
+BuildRequires:  %{python_module six}
+%endif
 %python_subpackages
 
 %description
@@ -60,7 +54,7 @@
 chunks in pretty python format.
 
 %package -n %{name}-doc
-Summary:        API Documentation for %name
+Summary:        API Documentation for %{name}
 Group:          Documentation/HTML
 
 %description -n %{name}-doc
@@ -76,9 +70,6 @@
 %if %{without test}
 %python_build
 %endif
-%if %{with doc}
-%python_build build_sphinx
-%endif
 
 %install
 %if %{without test}
@@ -88,7 +79,7 @@
 
 %check
 %if %{with test}
-%python_exec setup.py test
+%python_exec -m unittest discover
 %endif
 
 %if %{without test}
@@ -97,9 +88,4 @@
 %{python_sitelib}/*
 %endif
 
-%if %{with doc}
-%files -n %{name}-doc
-%doc build/html
-%endif
-
 %changelog

++++++ make_sphinx_optional.patch ++++++
--- /var/tmp/diff_new_pack.zhG5oc/_old  2020-02-20 14:53:22.602050676 +0100
+++ /var/tmp/diff_new_pack.zhG5oc/_new  2020-02-20 14:53:22.602050676 +0100
@@ -20,7 +20,7 @@
 +from setuptools import find_packages, setup, Command
  
  name="pybeam"
- version="0.5"
+ version="0.6"
  test_suite="test"
  
 +class BuildSphinx(Command):
@@ -48,7 +48,7 @@
        license='MIT',
        packages=find_packages(exclude=(test_suite,)),
        test_suite=test_suite,
--      install_requires=['construct>=2.9,<2.10', 'six', 'sphinx'],
+-      install_requires=['construct>=2.9,<2.11', 'six', 'sphinx'],
 -      command_options={
 -              'build_sphinx': {
 -                      'project': ('setup.py', name),
@@ -57,7 +57,7 @@
 -                      'source_dir': ('setup.py', 'doc')
 -              }
 -      },
-+      install_requires=['construct>=2.9,<2.10', 'six'],
++      install_requires=['construct>=2.9,<2.11', 'six'],
 +      cmdclass = {'build_sphinx': BuildSphinx},
        zip_safe=False)
 -- 

++++++ pybeam-0.5.tar.gz -> pybeam-0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pybeam-0.5/PKG-INFO new/pybeam-0.6/PKG-INFO
--- old/pybeam-0.5/PKG-INFO     2018-12-28 09:40:48.000000000 +0100
+++ new/pybeam-0.6/PKG-INFO     2020-02-14 12:05:08.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pybeam
-Version: 0.5
+Version: 0.6
 Summary: Python module to parse Erlang BEAM files
 Home-page: http://github.com/matwey/pybeam
 Author: Matwey V. Kornilov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pybeam-0.5/pybeam.egg-info/PKG-INFO 
new/pybeam-0.6/pybeam.egg-info/PKG-INFO
--- old/pybeam-0.5/pybeam.egg-info/PKG-INFO     2018-12-28 09:40:48.000000000 
+0100
+++ new/pybeam-0.6/pybeam.egg-info/PKG-INFO     2020-02-14 12:05:08.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pybeam
-Version: 0.5
+Version: 0.6
 Summary: Python module to parse Erlang BEAM files
 Home-page: http://github.com/matwey/pybeam
 Author: Matwey V. Kornilov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pybeam-0.5/pybeam.egg-info/requires.txt 
new/pybeam-0.6/pybeam.egg-info/requires.txt
--- old/pybeam-0.5/pybeam.egg-info/requires.txt 2018-12-28 09:40:48.000000000 
+0100
+++ new/pybeam-0.6/pybeam.egg-info/requires.txt 2020-02-14 12:05:08.000000000 
+0100
@@ -1,3 +1,3 @@
-construct<2.10,>=2.9
+construct<2.11,>=2.9
 six
 sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pybeam-0.5/requirements.txt 
new/pybeam-0.6/requirements.txt
--- old/pybeam-0.5/requirements.txt     2018-12-28 09:40:23.000000000 +0100
+++ new/pybeam-0.6/requirements.txt     2020-02-14 12:04:42.000000000 +0100
@@ -1,3 +1,3 @@
-construct>=2.9,<2.10
+construct>=2.9,<2.11
 six
 sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pybeam-0.5/setup.py new/pybeam-0.6/setup.py
--- old/pybeam-0.5/setup.py     2018-12-28 09:40:23.000000000 +0100
+++ new/pybeam-0.6/setup.py     2020-02-14 12:04:42.000000000 +0100
@@ -3,7 +3,7 @@
 cmdclass = {'build_sphinx': BuildDoc}
 
 name="pybeam"
-version="0.5"
+version="0.6"
 test_suite="test"
 
 setup(name=name,
@@ -15,7 +15,7 @@
        license='MIT',
        packages=find_packages(exclude=(test_suite,)),
        test_suite=test_suite,
-       install_requires=['construct>=2.9,<2.10', 'six', 'sphinx'],
+       install_requires=['construct>=2.9,<2.11', 'six', 'sphinx'],
        command_options={
                'build_sphinx': {
                        'project': ('setup.py', name),


Reply via email to