Compare commits

...

6 Commits

Author SHA256 Message Date
9c9879d7d1 Clean up spec file to enable building on leap 2025-03-06 10:41:54 -08:00
052219c0fc Remove upstreamed const-parents.patch. 2025-03-06 10:41:51 -08:00
Markéta Calábková
cd37398006 update to 1.17.0 2025-03-06 10:41:03 -08:00
088468fed2 Update to 1.16.0:
- Add support for Python 3.13
  - Drop support for Python 3.9
  - New Repository.hashfile(...)
  - New Option.GET_MWINDOW_FILE_LIMIT and
    Option.SET_MWINDOW_FILE_LIMIT
  - Fix overriding certificate_check(...) callback via argument
    to RemoteCallbacks(...)
  - Add py.typed
  - Fix discover_repository(...) annotation
Add const-parents.patch to fix FTBFS (gh#libgit2/pygit2!1324).
2025-03-06 10:39:26 -08:00
2329f0566b Ignore _scmsync.obsinfo 2025-03-06 10:37:03 -08:00
2ba852cf70 Clean up spec file to enable building on leap 2024-10-18 17:38:54 -07:00
5 changed files with 51 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
.osc
_scmsync.obsinfo
pygit2-*/

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1fe8b85053d9713043c81eccc74132f9e5b603f209e80733d7955eafd22eb9d
size 768818

BIN
pygit2-1.17.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Mar 6 00:36:13 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Drop %if section in %prep. Patches were dropped in commit
ffc7350c5c, and build now fails against 15.6
-------------------------------------------------------------------
Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Remove upstreamed const-parents.patch.
-------------------------------------------------------------------
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 1.17.0
* Upgrade to libgit2 1.9
* Add certificate_check callback to Remote.ls_remotes(...)
* Fix build with GCC 14
* Documentation: fix typo in Repository.status(...) docstring
* Fix tests with Python 3.13.1
-------------------------------------------------------------------
Tue Nov 5 10:50:38 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 1.16.0:
- Add support for Python 3.13
- Drop support for Python 3.9
- New Repository.hashfile(...)
- New Option.GET_MWINDOW_FILE_LIMIT and
Option.SET_MWINDOW_FILE_LIMIT
- Fix overriding certificate_check(...) callback via argument
to RemoteCallbacks(...)
- Add py.typed
- Fix discover_repository(...) annotation
- Add const-parents.patch to fix FTBFS (gh#libgit2/pygit2!1324).
-------------------------------------------------------------------
Sat Oct 19 00:36:13 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Drop %if section in %prep. Patches were dropped in commit
ffc7350c5c, and build now fails against 15.6
-------------------------------------------------------------------
Mon Aug 5 11:21:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -19,14 +19,15 @@
%{?sle15_python_module_pythons}
Name: python-pygit2
Version: 1.15.1
Version: 1.17.0
Release: 0
Summary: Python bindings for libgit2
License: GPL-2.0-only
URL: https://github.com/libgit2/pygit2
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module cached-property}
BuildRequires: %{python_module cffi >= 1.16.0}
BuildRequires: %{python_module cffi >= 1.17.0}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@ -39,7 +40,7 @@ BuildRequires: libgit2-devel >= 1.1
BuildRequires: libopenssl-devel
BuildRequires: python-rpm-macros
Requires: python-cached-property
%requires_eq python-cffi
Requires: python-cffi >= 1.17.0
%python_subpackages
%description
@ -47,12 +48,6 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
%prep
%autosetup -p1 -n pygit2-%{version}
%if %{?pkg_vcmp:%pkg_vcmp libgit2-devel < 1.8}%{!?pkg_vcmp:1}
%patch -P 3 -p1 -R
%patch -P 2 -p1 -R
%patch -P 1 -p1 -R
%patch -P 0 -p1 -R
%endif
# do not add options to pytest
rm pytest.ini