Hello community, here is the log from the commit of package python-pygit2 for openSUSE:Factory checked in at 2019-03-28 22:48:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygit2 (Old) and /work/SRC/openSUSE:Factory/.python-pygit2.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygit2" Thu Mar 28 22:48:16 2019 rev:18 rq:688613 version:0.28.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygit2/python-pygit2.changes 2018-05-29 10:35:11.894024974 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygit2.new.25356/python-pygit2.changes 2019-03-28 22:48:23.371057971 +0100 @@ -1,0 +2,27 @@ +Sat Mar 23 11:32:34 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Drop the pygit2-0.28-Remove-pycparser-constraint.patch and replace + it with shorter sed +- Switch to pytest testing: + * Fails now but that is pycparser bug https://github.com/eliben/pycparser/issues/305 +- Disable tests temporarily as per above + +------------------------------------------------------------------- +Wed Mar 20 20:40:34 UTC 2019 - Neal Gompa <ngomp...@gmail.com> + +- Update to 0.28.0 + * Update to libgit2 v0.28 + * New ``pygit2.Mailmap`` + * New ``Repository.apply(...)`` wraps ``git_apply(..)`` + * Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter + * Now ``Repository.add_worktree(...)`` accepts an optional reference parameter + * Now it's possible to set SSL certificate locations + * Test and documentation improvements + * Now ``worktree.path`` returns the path to the worktree directory + * Remove undocumented ``worktree.git_path`` +- Remove unneeded patch to fix issues on i586: + * pygit2-i586.patch +- Add patch to remove unneeded constraint on pycparser + * pygit2-0.28-Remove-pycparser-constraint.patch + +------------------------------------------------------------------- Old: ---- pygit2-0.27.0.tar.gz pygit2-i586.patch New: ---- pygit2-0.28.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygit2.spec ++++++ --- /var/tmp/diff_new_pack.TbVR3N/_old 2019-03-28 22:48:23.807057892 +0100 +++ /var/tmp/diff_new_pack.TbVR3N/_new 2019-03-28 22:48:23.811057891 +0100 @@ -1,7 +1,8 @@ # # spec file for package python-pygit2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 Neal Gompa <ngomp...@gmail.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +13,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-pygit2 -Version: 0.27.0 +Version: 0.28.0 Release: 0 Summary: Python bindings for libgit2 License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/libgit2/pygit2 Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz -Patch0: pygit2-i586.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pycparser} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: ca-certificates +BuildRequires: ca-certificates-mozilla BuildRequires: fdupes BuildRequires: libgit2-devel >= %{version} BuildRequires: libopenssl-devel BuildRequires: python-rpm-macros +Requires: python-pycparser Requires: python-six %requires_eq python-cffi %python_subpackages @@ -43,7 +48,10 @@ %prep %setup -q -n pygit2-%{version} -%patch0 -p1 +# do not hardcode version +sed -i -e 's:pycparser<2.18:pycparser:g' setup.py +# do not add options to pytest +rm pytest.ini %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -54,7 +62,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +# disable tests for now until https://github.com/libgit2/pygit2/issues/846 +# gets fixed; upstream https://github.com/eliben/pycparser/issues/305 +#%%pytest_arch %files %{python_files} %license COPYING ++++++ pygit2-0.27.0.tar.gz -> pygit2-0.28.0.tar.gz ++++++ ++++ 10200 lines of diff (skipped)