commit python-pybtex for openSUSE:Factory

2024-05-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pybtex for openSUSE:Factory 
checked in at 2024-05-17 20:06:29

Comparing /work/SRC/openSUSE:Factory/python-pybtex (Old)
 and  /work/SRC/openSUSE:Factory/.python-pybtex.new.1880 (New)


Package is "python-pybtex"

Fri May 17 20:06:29 2024 rev:19 rq:1174785 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pybtex/python-pybtex.changes  
2023-03-08 14:53:34.963006077 +0100
+++ /work/SRC/openSUSE:Factory/.python-pybtex.new.1880/python-pybtex.changes
2024-05-17 20:07:50.085175217 +0200
@@ -1,0 +2,6 @@
+Thu May 16 15:09:04 UTC 2024 - Dominique Leuenberger 
+
+- Use %autosetup macro: allows us to eliminate usage of deprecated
+  %patchN syntax.
+
+---



Other differences:
--
++ python-pybtex.spec ++
--- /var/tmp/diff_new_pack.0b8eOv/_old  2024-05-17 20:07:50.809201379 +0200
+++ /var/tmp/diff_new_pack.0b8eOv/_new  2024-05-17 20:07:50.809201379 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pybtex
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2010 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -40,7 +40,7 @@
 Requires:   python-latexcodec
 Requires:   python-pyparsing
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -55,8 +55,7 @@
 process the above formats.
 
 %prep
-%setup -q -n %{oname}-%{version}
-%patch0 -p1
+%autosetup -p1 -n %{oname}-%{version}
 
 %build
 %python_build


commit python-pybtex for openSUSE:Factory

2023-03-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pybtex for openSUSE:Factory 
checked in at 2023-03-08 14:53:32

Comparing /work/SRC/openSUSE:Factory/python-pybtex (Old)
 and  /work/SRC/openSUSE:Factory/.python-pybtex.new.31432 (New)


Package is "python-pybtex"

Wed Mar  8 14:53:32 2023 rev:18 rq:1070072 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pybtex/python-pybtex.changes  
2021-10-06 19:50:12.864063838 +0200
+++ /work/SRC/openSUSE:Factory/.python-pybtex.new.31432/python-pybtex.changes   
2023-03-08 14:53:34.963006077 +0100
@@ -1,0 +2,8 @@
+Tue Mar  7 08:29:25 UTC 2023 - pgaj...@suse.com
+
+- do not require python-six
+- added patches
+  fix 
https://bitbucket.org/pybtex-devs/pybtex/commits/6afabe217af95995d595de493cf9bc5120f85ca7
+  + python-pybtex-no-six.patch
+
+---

New:

  python-pybtex-no-six.patch



Other differences:
--
++ python-pybtex.spec ++
--- /var/tmp/diff_new_pack.rCKu19/_old  2023-03-08 14:53:35.459008778 +0100
+++ /var/tmp/diff_new_pack.rCKu19/_new  2023-03-08 14:53:35.467008821 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pybtex
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2010 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,18 +27,18 @@
 Group:  Productivity/Publishing/TeX/Utilities
 URL:https://pybtex.org/
 Source0:
https://files.pythonhosted.org/packages/source/p/pybtex/pybtex-%{version}.tar.gz
+# 
https://bitbucket.org/pybtex-devs/pybtex/commits/6afabe217af95995d595de493cf9bc5120f85ca7
+Patch0: python-pybtex-no-six.patch
 BuildRequires:  %{python_module PyYAML >= 3.0.1}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module latexcodec}
 BuildRequires:  %{python_module pyparsing}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-latexcodec
 Requires:   python-pyparsing
-Requires:   python-six
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 BuildArch:  noarch
@@ -56,6 +56,7 @@
 
 %prep
 %setup -q -n %{oname}-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ python-pybtex-no-six.patch ++
 1127 lines (skipped)


commit python-pybtex for openSUSE:Factory

2021-10-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pybtex for openSUSE:Factory 
checked in at 2021-10-06 19:50:00

Comparing /work/SRC/openSUSE:Factory/python-pybtex (Old)
 and  /work/SRC/openSUSE:Factory/.python-pybtex.new.2443 (New)


Package is "python-pybtex"

Wed Oct  6 19:50:00 2021 rev:17 rq:923516 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pybtex/python-pybtex.changes  
2020-10-02 17:41:41.238895478 +0200
+++ /work/SRC/openSUSE:Factory/.python-pybtex.new.2443/python-pybtex.changes
2021-10-06 19:50:12.864063838 +0200
@@ -1,0 +2,21 @@
+Thu Sep 30 02:49:50 UTC 2021 - Steve Kowalik 
+
+- Update to 0.24.0:
+  * Added support for sup and sub tags to LaTeX and Markdown backends.
+  * Added support for @online entries and the urldate field.
+  * Fixed bugs in the example plugin.
+  * Fixed bad get_default_encoding() call.
+  * Reimplemented pybtex.utils.OrderedCaseInsensitiveDict using
+collections.OrderedDict (so it has a __delitem__).
+  * unsrt.py now supports type when formatting phdthesis.
+  * Added from_string to pybtex.database.BibliographyData.
+  * Added from_string and to_string to pybtex.database.Entry.
+  * Preserve order in pybtex.utils.OrderedCaseInsensitiveDict.__repr__.
+  * Fixed entries with duplicate keys being removed during sorting.
+  * Fixed handling of duplicate person fields
+  * Use xml.etree.ElementTree instead of the deprecated cElementTree.
+  * Import base classes from collections.abc instead of collections.
+  * Use __iter__ instead of deprecated Element.getchildren().
+- Switch to using pytest to run tests, and run the testsuite.
+
+---

Old:

  pybtex-0.22.2.tar.gz

New:

  pybtex-0.24.0.tar.gz



Other differences:
--
++ python-pybtex.spec ++
--- /var/tmp/diff_new_pack.pfAsF7/_old  2021-10-06 19:50:13.392064327 +0200
+++ /var/tmp/diff_new_pack.pfAsF7/_new  2021-10-06 19:50:13.392064327 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pybtex
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2010 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oname   pybtex
 Name:   python-pybtex
-Version:0.22.2
+Version:0.24.0
 Release:0
 Summary:BibTeX-compatible Bibliography Processor in Python
 License:MIT
@@ -30,8 +30,8 @@
 BuildRequires:  %{python_module PyYAML >= 3.0.1}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module latexcodec}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pyparsing}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
@@ -40,7 +40,7 @@
 Requires:   python-pyparsing
 Requires:   python-six
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -75,6 +75,9 @@
 %python_clone -a %{buildroot}%{_bindir}/%{oname}-convert
 %python_clone -a %{buildroot}%{_bindir}/%{oname}
 
+%check
+%pytest
+
 %post
 %python_install_alternative %{oname}-format.1
 %python_install_alternative %{oname}-convert.1

++ pybtex-0.22.2.tar.gz -> pybtex-0.24.0.tar.gz ++
 6129 lines of diff (skipped)