commit python-bibtexparser for openSUSE:Factory
Hello community, here is the log from the commit of package python-bibtexparser for openSUSE:Factory checked in at 2020-08-17 12:10:14 Comparing /work/SRC/openSUSE:Factory/python-bibtexparser (Old) and /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3399 (New) Package is "python-bibtexparser" Mon Aug 17 12:10:14 2020 rev:5 rq:827275 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-bibtexparser/python-bibtexparser.changes 2020-06-30 21:59:35.327338923 +0200 +++ /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3399/python-bibtexparser.changes 2020-08-17 12:11:40.742904562 +0200 @@ -1,0 +2,6 @@ +Mon Aug 17 08:29:09 UTC 2020 - Matej Cepl + +- Remove unnecessary BR on devel. +- Don't build python2 on Tumbleweed. + +--- Other differences: -- ++ python-bibtexparser.spec ++ --- /var/tmp/diff_new_pack.Wh8k41/_old 2020-08-17 12:11:42.838905669 +0200 +++ /var/tmp/diff_new_pack.Wh8k41/_new 2020-08-17 12:11:42.838905669 +0200 @@ -17,7 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%if 0%{?suse_version} > 1500 +%define skip_python2 1 +%endif Name: python-bibtexparser Version:1.1.0 Release:0 @@ -28,7 +30,6 @@ Source: https://github.com/sciunto-org/python-bibtexparser/archive/v%{version}.tar.gz#/python-bibtexparser-%{version}.tar.gz # https://github.com/sciunto-org/python-bibtexparser/pull/259 Patch0: python-bibtexparser-remove-unittest2.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,7 +41,7 @@ BuildRequires: %{python_module pyparsing >= 2.0.3} BuildRequires: %{python_module pytest} # Required for assertLogs unavailable in 2.7 unittest -%if %{with python2} +%if "%{python_flavor}" == "python2" BuildRequires: python-unittest2 %endif # /SECTION
commit python-bibtexparser for openSUSE:Factory
Hello community, here is the log from the commit of package python-bibtexparser for openSUSE:Factory checked in at 2020-06-30 21:59:00 Comparing /work/SRC/openSUSE:Factory/python-bibtexparser (Old) and /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3060 (New) Package is "python-bibtexparser" Tue Jun 30 21:59:00 2020 rev:4 rq:817852 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-bibtexparser/python-bibtexparser.changes 2020-06-02 14:40:32.639882680 +0200 +++ /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3060/python-bibtexparser.changes 2020-06-30 21:59:35.327338923 +0200 @@ -1,0 +2,5 @@ +Tue Jun 30 10:24:22 UTC 2020 - Matej Cepl + +- Added explanation in SPEC file + +--- Other differences: -- ++ python-bibtexparser.spec ++ --- /var/tmp/diff_new_pack.tPHIW0/_old 2020-06-30 21:59:36.271341845 +0200 +++ /var/tmp/diff_new_pack.tPHIW0/_new 2020-06-30 21:59:36.275341857 +0200 @@ -39,6 +39,7 @@ BuildRequires: %{python_module future >= 0.16.0} BuildRequires: %{python_module pyparsing >= 2.0.3} BuildRequires: %{python_module pytest} +# Required for assertLogs unavailable in 2.7 unittest %if %{with python2} BuildRequires: python-unittest2 %endif
commit python-bibtexparser for openSUSE:Factory
Hello community, here is the log from the commit of package python-bibtexparser for openSUSE:Factory checked in at 2020-06-02 14:39:50 Comparing /work/SRC/openSUSE:Factory/python-bibtexparser (Old) and /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3606 (New) Package is "python-bibtexparser" Tue Jun 2 14:39:50 2020 rev:3 rq:810602 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-bibtexparser/python-bibtexparser.changes 2020-04-15 19:56:55.593682729 +0200 +++ /work/SRC/openSUSE:Factory/.python-bibtexparser.new.3606/python-bibtexparser.changes 2020-06-02 14:40:32.639882680 +0200 @@ -1,0 +2,8 @@ +Mon Jun 1 10:15:19 UTC 2020 - pgaj...@suse.com + +- unittest2 is not neccessary for python3 +- added patches + use unittest2 only if present, fall back to unittest + + python-bibtexparser-remove-unittest2.patch + +--- New: python-bibtexparser-remove-unittest2.patch Other differences: -- ++ python-bibtexparser.spec ++ --- /var/tmp/diff_new_pack.ehuUjx/_old 2020-06-02 14:40:33.939886789 +0200 +++ /var/tmp/diff_new_pack.ehuUjx/_new 2020-06-02 14:40:33.943886802 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-bibtexparser Version:1.1.0 Release:0 @@ -25,6 +26,8 @@ Group: Development/Languages/Python URL:https://github.com/sciunto-org/python-bibtexparser Source: https://github.com/sciunto-org/python-bibtexparser/archive/v%{version}.tar.gz#/python-bibtexparser-%{version}.tar.gz +# https://github.com/sciunto-org/python-bibtexparser/pull/259 +Patch0: python-bibtexparser-remove-unittest2.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -36,7 +39,9 @@ BuildRequires: %{python_module future >= 0.16.0} BuildRequires: %{python_module pyparsing >= 2.0.3} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module unittest2} +%if %{with python2} +BuildRequires: python-unittest2 +%endif # /SECTION %python_subpackages @@ -45,6 +50,7 @@ %prep %setup -q -n python-bibtexparser-%{version} +%patch0 -p1 sed -i -e '/^#!\//, 1d' bibtexparser/*.py %build ++ python-bibtexparser-remove-unittest2.patch ++ Index: python-bibtexparser-1.1.0/bibtexparser/tests/test_crossref_resolving.py === --- python-bibtexparser-1.1.0.orig/bibtexparser/tests/test_crossref_resolving.py 2019-01-17 16:31:34.0 +0100 +++ python-bibtexparser-1.1.0/bibtexparser/tests/test_crossref_resolving.py 2020-06-01 11:32:48.246219654 +0200 @@ -1,4 +1,7 @@ -import unittest2 as unittest +try: +import unittest2 as unittest +except ImportError: +import unittest from bibtexparser.bibdatabase import BibDatabase from bibtexparser.bparser import BibTexParser
commit python-bibtexparser for openSUSE:Factory
Hello community, here is the log from the commit of package python-bibtexparser for openSUSE:Factory checked in at 2020-04-15 19:56:55 Comparing /work/SRC/openSUSE:Factory/python-bibtexparser (Old) and /work/SRC/openSUSE:Factory/.python-bibtexparser.new.2738 (New) Package is "python-bibtexparser" Wed Apr 15 19:56:55 2020 rev:2 rq:794185 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-bibtexparser/python-bibtexparser.changes 2019-05-22 11:10:54.290597685 +0200 +++ /work/SRC/openSUSE:Factory/.python-bibtexparser.new.2738/python-bibtexparser.changes 2020-04-15 19:56:55.593682729 +0200 @@ -1,0 +2,5 @@ +Wed Apr 15 10:00:08 UTC 2020 - Matej Cepl + +- Switch from using nosetest runner to pytest + +--- Other differences: -- ++ python-bibtexparser.spec ++ --- /var/tmp/diff_new_pack.Re6s0x/_old 2020-04-15 19:56:56.089683102 +0200 +++ /var/tmp/diff_new_pack.Re6s0x/_new 2020-04-15 19:56:56.093683104 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bibtexparser # -# Copyright (c) 2019 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,32 +12,32 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bibtexparser Version:1.1.0 Release:0 -License:LGPL-3.0-only OR BSD-3-Clause Summary:Bibtex parser for python -Url:https://github.com/sciunto-org/python-bibtexparser +License:LGPL-3.0-only OR BSD-3-Clause Group: Development/Languages/Python +URL:https://github.com/sciunto-org/python-bibtexparser Source: https://github.com/sciunto-org/python-bibtexparser/archive/v%{version}.tar.gz#/python-bibtexparser-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-future >= 0.16.0 +Requires: python-pyparsing >= 2.0.3 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module future >= 0.16.0} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pyparsing >= 2.0.3} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module unittest2} # /SECTION -Requires: python-future >= 0.16.0 -Requires: python-pyparsing >= 2.0.3 -BuildArch: noarch - %python_subpackages %description @@ -55,8 +55,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export LANG=en_US.UTF-8 -%python_expand nosetests-%{$python_bin_suffix} +export LANG=C.utf8 +%pytest %files %{python_files} %doc README.rst CHANGELOG