forked from pool/python-pygit2
Accepting request 1142846 from devel:languages:python
- update to 1.14.0: * Drop support for Python 3.8 * New `Repository.submodules` namespace * New `Repository.listall_mergeheads()`, `Repository.message`, `Repository.raw_message` and `Repository.remove_message()` * New `pygit2.enums` supersedes the `GIT_` constants * Now `Repository.status()`, `Repository.status_file()`, `Repository.merge_analysis()`, `DiffFile.flags`, `DiffFile.mode`, `DiffDelta.flags` and `DiffDelta.status` return enums * Now repository\'s `merge()`, `merge_commits()` and `merge_trees()` take enums/flags for their `favor`, `flags` and `file_flags` arguments. * Fix crash in filter cleanup * Documentation fixes * Remove deprecated `Repository.create_remote(...)` function, use instead `Repository.remotes.create(...)` * Deprecate `Repository.add_submodule(...)`, use `Repository.submodules.add(...)` * Deprecate `Repository.lookup_submodule(...)`, use `Repository.submodules[...]` * Deprecate `Repository.init_submodules(...)`, use `Repository.submodules.init(...)` * Deprecate `Repository.update_submodule(...)`, use `Repository.submodules.update(...)` * Deprecate `GIT_*` constants, use `pygit2.enums` * Passign dicts to repository\'s `merge(...)`, `merge_commits(...)` and `merge_trees(...)` is deprecated. Instead pass `MergeFavor` for the `favor` argument, `MergeFlag` OBS-URL: https://build.opensuse.org/request/show/1142846 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=34
This commit is contained in:
commit
9db20ba5d6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0257c626011e4afb99bdb20875443f706f84201d4c92637f02215b98eac13ded
|
||||
size 752098
|
3
pygit2-1.14.0.tar.gz
Normal file
3
pygit2-1.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f529ed9660edbf9b625ccae7e51098ef73662e61496609009772d4627a826aa8
|
||||
size 765357
|
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 30 18:11:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.14.0:
|
||||
* Drop support for Python 3.8
|
||||
* New `Repository.submodules` namespace
|
||||
* New `Repository.listall_mergeheads()`,
|
||||
`Repository.message`,
|
||||
`Repository.raw_message` and `Repository.remove_message()`
|
||||
* New `pygit2.enums` supersedes the `GIT_` constants
|
||||
* Now `Repository.status()`, `Repository.status_file()`,
|
||||
`Repository.merge_analysis()`, `DiffFile.flags`,
|
||||
`DiffFile.mode`,
|
||||
`DiffDelta.flags` and `DiffDelta.status` return enums
|
||||
* Now repository\'s `merge()`, `merge_commits()` and
|
||||
`merge_trees()` take enums/flags for their `favor`,
|
||||
`flags` and `file_flags` arguments.
|
||||
* Fix crash in filter cleanup
|
||||
* Documentation fixes
|
||||
* Remove deprecated `Repository.create_remote(...)` function,
|
||||
use instead `Repository.remotes.create(...)`
|
||||
* Deprecate `Repository.add_submodule(...)`, use
|
||||
`Repository.submodules.add(...)`
|
||||
* Deprecate `Repository.lookup_submodule(...)`, use
|
||||
`Repository.submodules[...]`
|
||||
* Deprecate `Repository.init_submodules(...)`, use
|
||||
`Repository.submodules.init(...)`
|
||||
* Deprecate `Repository.update_submodule(...)`, use
|
||||
`Repository.submodules.update(...)`
|
||||
* Deprecate `GIT_*` constants, use `pygit2.enums`
|
||||
* Passign dicts to repository\'s `merge(...)`,
|
||||
`merge_commits(...)` and `merge_trees(...)` is deprecated.
|
||||
Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`
|
||||
for `flags`, and `MergeFileFlag` for `file_flags`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 6 20:59:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pygit2
|
||||
Version: 1.13.3
|
||||
Version: 1.14.0
|
||||
Release: 0
|
||||
Summary: Python bindings for libgit2
|
||||
License: GPL-2.0-only
|
||||
@ -28,8 +28,10 @@ Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.4.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: ca-certificates-mozilla
|
||||
BuildRequires: fdupes
|
||||
@ -51,10 +53,10 @@ rm pytest.ini
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/pygit2/decl/
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
@ -66,8 +68,8 @@ rm -rf pygit2
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%{python_sitearch}/pygit2
|
||||
%{python_sitearch}/pygit2-%{version}*-info
|
||||
%{python_sitearch}/pygit2-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user