Hello community,

here is the log from the commit of package python-screenplain for 
openSUSE:Factory checked in at 2020-12-04 21:29:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-screenplain (Old)
 and      /work/SRC/openSUSE:Factory/.python-screenplain.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-screenplain"

Fri Dec  4 21:29:07 2020 rev:2 rq:852998 version:0.9.0+git.1597423678.4e34d1f

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-screenplain/python-screenplain.changes    
2020-08-18 15:07:59.775964844 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-screenplain.new.5913/python-screenplain.changes
  2020-12-04 21:29:11.550185489 +0100
@@ -1,0 +2,9 @@
+Thu Dec 03 21:34:14 UTC 2020 - mc...@cepl.eu
+
+- Update to version 0.9.0+git.1597423678.4e34d1f:
+  * Don't use open, but more compatible io.open
+- Remove py2.patch, which has been included upstream.
+- Add fix_entry_point.patch
+- We don't need any stinking pytest.
+
+-------------------------------------------------------------------

Old:
----
  py2.patch
  screenplain-0.9.0+git.1597420829.0ff963d.tar.gz

New:
----
  fix_entry_point.patch
  screenplain-0.9.0+git.1597423678.4e34d1f.tar.gz

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

Other differences:
------------------
++++++ python-screenplain.spec ++++++
--- /var/tmp/diff_new_pack.igkClv/_old  2020-12-04 21:29:12.214186442 +0100
+++ /var/tmp/diff_new_pack.igkClv/_new  2020-12-04 21:29:12.214186442 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-screenplain
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,7 +12,9 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
 
 %if 0%{?suse_version} > 1500
 %bcond_with python2
@@ -21,24 +23,23 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-screenplain
-Version:        0.9.0+git.1597420829.0ff963d
+Version:        0.9.0+git.1597423678.4e34d1f
 Release:        0
-License:        MIT
 Summary:        Convert text file to viewable screenplay
-Url:            http://www.screenplain.com/
+License:        MIT
 Group:          Development/Languages/Python
+URL:            http://www.screenplain.com/
 # Source:         
https://files.pythonhosted.org/packages/source/s/screenplain/screenplain-%%{version}.tar.gz
 # Tarball generated from gh#vilcans/screenplain#62
 Source:         screenplain-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM py2.patch mc...@suse.com
-# Don't use open(), but more compatible io.open()
-Patch0:         py2.patch
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module reportlab}
-BuildRequires:  %{python_module pytest}
+# PATCH-FIX-UPSTREAM fix_entry_point.patch mc...@suse.com
+# entry point lead to incorrect function.
+Patch0:         fix_entry_point.patch
 BuildRequires:  %{python_module pycodestyle}
+BuildRequires:  %{python_module reportlab}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 Requires:       python-reportlab
 Requires(post):   update-alternatives
@@ -77,9 +78,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-export PYTEST_ADDOPTS="--doctest-modules"
-%pytest
-python3 -mpycodestyle -v --ignore=E402,W504 screenplain tests
+%pyunittest discover -v -p '*test*.py'
+%python_exec -mdoctest -v screenplain/*.py
+%python_exec -mpycodestyle -v screenplain tests
 
 %post
 %python_install_alternative screenplain

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.igkClv/_old  2020-12-04 21:29:12.258186505 +0100
+++ /var/tmp/diff_new_pack.igkClv/_new  2020-12-04 21:29:12.258186505 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/mcepl/screenplain.git</param>
-              <param 
name="changesrevision">0ff963d98eba7faf573ac425d03d8371e88c7e66</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">4e34d1f78f6006d40933d744e61ae968f349f95d</param></service></servicedata>
\ No newline at end of file

++++++ fix_entry_point.patch ++++++
--- a/screenplain/main.py
+++ b/screenplain/main.py
@@ -30,7 +30,7 @@ def invalid_format(parser, message):
     )
 
 
-def main(args):
+def main(args=sys.argv[1:]):
     parser = OptionParser(usage=usage)
     parser.add_option(
         '-f', '--format', dest='output_format',
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
 [metadata]
 license_files = LICENSE.txt
+
+[pycodestyle]
+ignore = E402,W504
++++++ screenplain-0.9.0+git.1597420829.0ff963d.tar.gz -> 
screenplain-0.9.0+git.1597423678.4e34d1f.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/screenplain-0.9.0+git.1597420829.0ff963d/setup.py 
new/screenplain-0.9.0+git.1597423678.4e34d1f/setup.py
--- old/screenplain-0.9.0+git.1597420829.0ff963d/setup.py       2020-08-14 
18:00:29.000000000 +0200
+++ new/screenplain-0.9.0+git.1597423678.4e34d1f/setup.py       2020-08-14 
18:47:58.000000000 +0200
@@ -3,9 +3,11 @@
 from setuptools import setup
 
 # read the contents of your README file
-from os import path
-this_directory = path.abspath(path.dirname(__file__))
-with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
+import os.path
+import io
+
+this_directory = os.path.abspath(os.path.dirname(__file__))
+with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
     long_description = f.read()
 
 setup(
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to