1
0
forked from pool/python-pygit2

Compare commits

104 Commits

Author SHA256 Message Date
a5914906ea Merge pull request 'update_to_1.17.0' (#3) from mcepl/python-pygit2:update_to_1.17.0 into factory 2025-02-04 09:51:21 +01:00
d67fc87079 Remove upstreamed const-parents.patch. 2025-01-29 14:53:03 +01:00
Markéta Calábková
b0fca1d393 update to 1.17.0 2025-01-28 12:40:31 +01:00
c0760b117f Merge pull request 'Update to 1.16.0' (#2) from mcepl/python-pygit2:factory into factory 2024-11-05 15:42:17 +01:00
8f774c3b9f 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).
2024-11-05 12:32:54 +01:00
288f56c161 Ignore _scmsync.obsinfo 2024-09-24 12:21:18 +02:00
5ddd6ee66d Accepting request 1191651 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=40
2024-08-05 15:24:04 +00:00
fd073f52b5 Accepting request 1181735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=39
2024-06-20 14:47:12 +00:00
ffc7350c5c - Update to 1.15.1
* Many deprecated features have been removed, see below
  * Upgrade to libgit2 v1.8.1
  * New `push_options` optional argument in `Repository.push(...)`
  * New support comparison of `Oid` with text string
  * Fix `CheckoutNotify.IGNORED`
  * Use default error handler when decoding/encoding paths
  * Remove setuptools runtime dependency
  * Coding style with ruff
  * Add wheels for ppc64le
  * Fix tests on EPEL8 builds for s390x
  * Deprecate `IndexEntry.hex`, use `str(IndexEntry.id)`
  * Remove deprecated `oid.hex`, use `str(oid)`
  * Remove deprecated `object.hex`, use `str(object.id)`
  * Remove deprecated `object.oid`, use `object.id`
  * Remove deprecated `Repository.add_submodule(...)`, use `Repository.submodules.add(...)`
  * Remove deprecated `Repository.lookup_submodule(...)`, use `Repository.submodules[...]`
  * Remove deprecated `Repository.init_submodules(...)`, use `Repository.submodules.init(...)`
  * Remove deprecated `Repository.update_submodule(...)`, use `Repository.submodules.update(...)`
  * Remove deprecated constants `GIT_OBJ_XXX`, use `ObjectType`
  * Remove deprecated constants `GIT_REVPARSE_XXX`, use `RevSpecFlag`
  * Remove deprecated constants `GIT_REF_XXX`, use `ReferenceType`
  * Remove deprecated `ReferenceType.OID`, use instead `ReferenceType.DIRECT`
  * Remove deprecated `ReferenceType.LISTALL`, use instead `ReferenceType.ALL`
  * Remove deprecated support for passing dicts to repository\'s `merge(...)`,
    `merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFlag` for `flags`, and
    `MergeFileFlag` for `file_flags`.
  * Remove deprecated support for passing a string for the favor argument to repository\'s
    `merge(...)`, `merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFavor`.
- Drop patches for issues fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=93
2024-06-19 11:29:50 +00:00
1ddbf52680 Accepting request 1174862 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1174862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=38
2024-05-22 19:29:43 +00:00
bb9bb2c788 Accepting request 1174830 from devel:Factory:git-workflow
- add  pygit2-Upgrade_to_libgit2_v1_8_1-2.patch
  pygit2-Upgrade_to_libgit2_v1_8_1.patch: support libgit2 1.8.1

OBS-URL: https://build.opensuse.org/request/show/1174830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=91
2024-05-17 13:15:37 +00:00
39ece02537 Accepting request 1171422 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1171422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=37
2024-05-02 21:48:44 +00:00
df69bb9251 Accepting request 1171336 from home:michals
- Fix build with gcc 14
  * Fix-CI.patch
  * Fix-leaks-in-fetch_refspecs-and-push_refspecs.patch

OBS-URL: https://build.opensuse.org/request/show/1171336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=89
2024-05-02 16:40:21 +00:00
eddbf61f0a Accepting request 1164267 from devel:languages:python
- Added patch:
  * pygit2-Upgrade_to_libgit2_v1_8_0.patch (gh#libgit2/pygit2@6d539d76b53b)
    + Backport of upstream commit to build with libgit2 1.8.x
    + Apply only if libgit2-devel >= 1.8
    + Fixes build in Factory

OBS-URL: https://build.opensuse.org/request/show/1164267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=36
2024-04-03 15:20:55 +00:00
dc52473b03 - Add upstream patch link to spec and changes files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=87
2024-04-03 06:09:33 +00:00
9ca5fe6c63 Accepting request 1163862 from home:fstrba:branches:devel:languages:python
Fix build in factory with libgit2 1.8.x

OBS-URL: https://build.opensuse.org/request/show/1163862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=86
2024-04-03 06:06:11 +00:00
d9d9e7c6ed Accepting request 1153847 from devel:languages:python
- update to 1.14.1:
  * Now `Object.filemode` returns `enums.FileMode` and
    `Reference.type` returns `enums.ReferenceType`
  * Fix tests on Fedora 40
  * Deprecate `ReferenceType.OID`, use `ReferenceType.DIRECT`
  * Deprecate `ReferenceType.LISTALL`, use `ReferenceType.ALL`

OBS-URL: https://build.opensuse.org/request/show/1153847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=35
2024-03-01 22:37:46 +00:00
e6cad68a57 - update to 1.14.1:
* Now `Object.filemode` returns `enums.FileMode` and
    `Reference.type` returns `enums.ReferenceType`
  * Fix tests on Fedora 40
  * Deprecate `ReferenceType.OID`, use `ReferenceType.DIRECT`
  * Deprecate `ReferenceType.LISTALL`, use `ReferenceType.ALL`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=84
2024-03-01 10:14:54 +00:00
9db20ba5d6 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
2024-01-31 22:54:24 +00:00
5e36294a53 - 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/package/show/devel:languages:python/python-pygit2?expand=0&rev=82
2024-01-30 18:13:05 +00:00
5cd60e2f23 Accepting request 1137305 from devel:languages:python
- update to 1.13.3:
  * New API for filters in Python #1237 #1244
  * Shallow repositories: New depth optional argument for
    clone_repository(...) and Remote.fetch(...) #1245 #1246
  * New submodule init(...), update(...) and reload(...)
    functions #1248
  * Release GIL in Walker.__next__ #1249
  * Type hints for submodule functions in Repository #1247
  * Support Python 3.12
  * Documentation updates #1242
  * Fix crash in reference rename #1233
  * Upgrade to libgit2 v1.7.1
  * Don't distribute wheels for pypy, only universal wheels for
    macOS
  * New Repository.remotes.create_anonymous(url) #1229
  * docs: update links to pypi, pygit2.org #1228
  * Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)

  * Add missing newline at end of pygit2/decl/pack.h #1163
  * Remove redundant line #1139
  *  Added mwindow_mapped_limit, cached_memory, enable_caching,

OBS-URL: https://build.opensuse.org/request/show/1137305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=33
2024-01-07 20:39:53 +00:00
cce0cea461 - update to 1.13.3:
* New API for filters in Python #1237 #1244
  * Shallow repositories: New depth optional argument for
    clone_repository(...) and Remote.fetch(...) #1245 #1246
  * New submodule init(...), update(...) and reload(...)
    functions #1248
  * Release GIL in Walker.__next__ #1249
  * Type hints for submodule functions in Repository #1247
  * Support Python 3.12
  * Documentation updates #1242
  * Fix crash in reference rename #1233
  * Upgrade to libgit2 v1.7.1
  * Don't distribute wheels for pypy, only universal wheels for
    macOS
  * New Repository.remotes.create_anonymous(url) #1229
  * docs: update links to pypi, pygit2.org #1228
  * Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
  * Add missing newline at end of pygit2/decl/pack.h #1163
  * Remove redundant line #1139
  *  Added mwindow_mapped_limit, cached_memory, enable_caching,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=80
2024-01-06 21:01:04 +00:00
4839da7457 Accepting request 1100661 from devel:languages:python
- Update to version 1.12.2:
  + Update wheels to bundle libssh2 1.11.0 and OpenSSL 3.0.9.
    Remove obsolete Remote.save().
- Changes from version 1.12.1:
  + Fix segfault in signature when encoding is incorrect.
  + Typing improvements.
  + Update wheels to libgit2 v1.6.4.
- Changes from version 1.12.0:
  + Upgrade to libgit2 v1.6.3.
  + Update Linux wheels to bundle OpenSSL 3.0.8.
  + Downgrade Linux wheels to manylinux2014.
  + New ConflictCollection.__contains__.1
  + New Repository.references.iterator(...).
  + New favor, flags and file_flags optional arguments for
    Repository.merge(...).
  + New keep_all and paths optional arguments for
    Repository.stash(...).
  + New Respository.state().
  + Improve Repository.write_archive(...) performance.
  + Sync type annotations.
- Drop support-libgit2-1.6.patch: fixed upstream.
- Add support-libgit2-1.7.patch: support libgit2 1.7.0.

OBS-URL: https://build.opensuse.org/request/show/1100661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=32
2023-07-26 11:24:13 +00:00
72c8418897 add patch info
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=78
2023-07-25 15:03:09 +00:00
372385db80 Accepting request 1100659 from home:dimstar:Factory
Fix build in openSUSE:Factory; support libgit2 1.7

OBS-URL: https://build.opensuse.org/request/show/1100659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=77
2023-07-25 14:59:33 +00:00
f68c127087 Accepting request 1073635 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1073635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=31
2023-03-26 18:19:58 +00:00
017f481103 Accepting request 1073520 from home:dgarcia:branches:devel:languages:python
- Add support-libgit2-1.6.patch to make it work with the latest
  libgit2 release gh#libgit2/pygit2#1200

OBS-URL: https://build.opensuse.org/request/show/1073520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=75
2023-03-21 20:35:02 +00:00
f4450f52f9 Accepting request 1040007 from devel:languages:python
- Update to version 1.11.1 (2022-11-09)
  * Fix Linux wheels, downgrade to manylinux 2_24 #1176
  * Windows wheels for Python 3.11 #1177
  * CI: Use 3.11 final release for testing #1178
  * Drop support for Python 3.7
  * Update Linux wheels to manylinux 2_28 #1136
  * Fix crash in signature representation #1162
  * Fix memory leak in Signature #1173
  * New optional argument raise_error in Repository.applies(...) #1166
  * New notify/progress callbacks for checkout and stash #1167 #1169
  * New Repository.remotes.names() #1159
  * Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
  * Add missing newline at end of pygit2/decl/pack.h #1163

OBS-URL: https://build.opensuse.org/request/show/1040007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=30
2022-12-05 17:00:44 +00:00
e80915fa35 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=73 2022-12-04 14:55:39 +00:00
2897b9a787 Accepting request 1039869 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.11.1 (2022-11-09)
  * Fix Linux wheels, downgrade to manylinux 2_24 #1176
  * Windows wheels for Python 3.11 #1177
  * CI: Use 3.11 final release for testing #1178
- Update to versino 1.11.0 (2022-11-06)
  * Drop support for Python 3.7
  * Update Linux wheels to manylinux 2_28 #1136
  * Fix crash in signature representation #1162
  * Fix memory leak in Signature #1173
  * New optional argument raise_error in Repository.applies(...) #1166
  * New notify/progress callbacks for checkout and stash #1167 #1169
  * New Repository.remotes.names() #1159
  * Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
  * Add missing newline at end of pygit2/decl/pack.h #1163 

- Update to version

OBS-URL: https://build.opensuse.org/request/show/1039869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=72
2022-12-04 14:55:17 +00:00
59b989d5ab Accepting request 1004951 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1004951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=29
2022-09-20 17:24:09 +00:00
ca524fcc3d Accepting request 1004945 from home:coolo:branches:openSUSE:Factory
- Update to 1.10.1
  - Fix segfault in ``Signature`` repr
    `#1155 <https://github.com/libgit2/pygit2/pull/1155>`_
  - Linux and macOS wheels for Python 3.11
    `#1154 <https://github.com/libgit2/pygit2/pull/1154>`_
  - Upgrade to libgit2 1.5
  - Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and
    ``GIT_OPT_SET_OWNER_VALIDATION``
    `#1150 <https://github.com/libgit2/pygit2/pull/1150>`_
  - New ``untracked_files`` and ``ignored`` optional arguments for
    ``Repository.status(...)``
    `#1151 <https://github.com/libgit2/pygit2/pull/1151>`_
- Remove support-libgit-1.5.patch no longer needed

OBS-URL: https://build.opensuse.org/request/show/1004945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=70
2022-09-20 12:05:41 +00:00
c4f2dc55b7 Accepting request 990575 from devel:languages:python
- Update to 1.9.2:
  * New Repository.create_commit_string(...) and
    Repository.create_commit_with_signature(...) #1142
  * Linux and macOS wheels updated to libgit2 v1.4.3
  * Remove redundant line #1139 
- Add patch support-libgit-1.5.patch:
  * Suppot libgit 1.5.0

OBS-URL: https://build.opensuse.org/request/show/990575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=28
2022-07-22 17:21:13 +00:00
2792e03e4c - Add patch support-libgit-1.5.patch:
* Suppot libgit 1.5.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=68
2022-07-21 14:45:28 +00:00
f911a1ee67 - Update to 1.9.2:
* New Repository.create_commit_string(...) and
    Repository.create_commit_with_signature(...) #1142
  * Linux and macOS wheels updated to libgit2 v1.4.3
  * Remove redundant line #1139

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=67
2022-07-21 14:18:07 +00:00
75cacf6c74 Accepting request 965070 from devel:languages:python
- update to 1.9.1:
  - Type hints: added to C code and Branches/References
  - New ``Signature`` supports ``str()`` and ``repr()``
  - Fix ODB backend's read in big endian architectures
  - Fix install with poetry
  - Wheels: update to libgit2 v1.4.2
  - Tests: fix testing ``parse_diff``
  - CI: various fixes after migration to libgit2 v1.4

OBS-URL: https://build.opensuse.org/request/show/965070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=27
2022-03-26 21:32:10 +00:00
5e5f79d1ac - update to 1.9.1:
- Type hints: added to C code and Branches/References
  - New ``Signature`` supports ``str()`` and ``repr()``
  - Fix ODB backend's read in big endian architectures
  - Fix install with poetry
  - Wheels: update to libgit2 v1.4.2
  - Tests: fix testing ``parse_diff``
  - CI: various fixes after migration to libgit2 v1.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=65
2022-03-26 18:53:24 +00:00
f06b92e0e7 Accepting request 958025 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/958025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=26
2022-02-28 18:43:49 +00:00
257e6e388d Accepting request 957975 from home:pgajdos:python
- version update to 1.9.0
  1.9.0 (2022-02-22)
  -------------------------
  - Upgrade to libgit2 v1.4
  - Documentation, new recipes for committing and cloning
    `#1125 <https://github.com/libgit2/pygit2/pull/1125>`_
  1.8.0 (2022-02-04)
  -------------------------
  - Rename ``RemoteCallbacks.progress(...)`` callback to ``.sideband_progress(...)``
    `#1120 <https://github.com/libgit2/pygit2/pull/1120>`_
  - New ``Repository.merge_base_many(...)`` and ``Repository.merge_base_octopus(...)``
    `#1112 <https://github.com/libgit2/pygit2/pull/1112>`_
  - New ``Repository.listall_stashes()``
    `#1117 <https://github.com/libgit2/pygit2/pull/1117>`_
  - Code cleanup
    `#1118 <https://github.com/libgit2/pygit2/pull/1118>`_
  Backward incompatible changes:
  - The ``RemoteCallbacks.progress(...)`` callback has been renamed to
    ``RemoteCallbacks.sideband_progress(...)``. This matches the documentation,
    but may break existing code that still uses the old name.
  1.7.2 (2021-12-06)
  -------------------------
  - Universal wheels for macOS
    `#1109 <https://github.com/libgit2/pygit2/pull/1109>`_
  1.7.1 (2021-11-19)
  -------------------------
  - New ``Repository.amend_commit(...)``
    `#1098 <https://github.com/libgit2/pygit2/pull/1098>`_
  - New ``Commit.message_trailers``
    `#1101 <https://github.com/libgit2/pygit2/pull/1101>`_

OBS-URL: https://build.opensuse.org/request/show/957975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=64
2022-02-28 11:02:51 +00:00
0d78a55ee4 Accepting request 926495 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/926495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=25
2021-10-23 21:14:04 +00:00
51b70e4430 Accepting request 926494 from home:mcepl:branches:devel:libraries:c_c++
- Update to 1.7.0:
  - Upgrade to libgit2 1.3.0
  - Add support for Python 3.10
  - Drop support for Python 3.6
  - New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
  - New optional argument ``location`` in
    ``Repository.applies(..)`` and ``Repository.apply(..)``
  - Fix: Now the `flags` argument in `Repository.blame()` is
    passed through
  - CI: Stop using Travis, move to GitHub actions
  - Fix a number of reference leaks
  - Review custom object backends
  - In custom backends the callbacks have been renamed from ``read`` to
    ``read_cb``, ``write`` to ``write_cb``, and so on.
  - New optional ``proxy`` argument in ``Remote`` methods
  - New GIT_MERGE_PREFERENCE constants
  - Don't require cached-property with Python 3.8 or later
  - Refactored build and CI, new ``build.sh`` script
  - Remove deprecated ``GIT_CREDTYPE_XXX`` contants, use
    ``GIT_CREDENTIAL_XXX`` instead.
  - Remove deprecated ``Patch.patch`` getter, use ``Patch.text``
    instead.
  - New ``PackBuilder`` class and ``Repository.pack(...)``
  - New ``Config.delete_multivar(...)``
  - New ``Repository.is_shallow``
  - New optional ``message`` argument in
    ``Repository.create_reference(...)``
  - Fix truncated diff when there are nulls
  - Fix ``Index.add(...)`` raise ``TypeError`` instead of
    ``AttributeError`` when arguments are of unexpected type
  - Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant
  - Drop support for PyPy3 7.2
  - New optional ``flags`` argument in ``Repository.__init__(...)``,
    new ``GIT_REPOSITORY_OPEN_*`` constants
- Remove upstreamed libgit2_1.patch.

OBS-URL: https://build.opensuse.org/request/show/926494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=63
2021-10-20 09:10:02 +00:00
fada16a7d8 Accepting request 845686 from devel:languages:python
- Add libgit2_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0
  * New Repository.applies, Repository.revparse, Repository.revparse_ext,
    Repository.add_submodule, Repository.raw_listall_branches, and
    Repository.raw_listall_references
  * New optional flags and file_flags arguments in
    Repository.merge_commits and Repository.merge_trees
  * New Reference.raw_target
  * Allow bytes in Repository.lookup_branch and Repository.diff
  * New GIT_BLAME_FIRST_PARENT and GIT_BLAME_USE_MAILMAP constants
  * New IndexEntry supports repr(), str(), == and !=
  * New Object supports repr()
  * New accept tuples of strings (not only lists) in a number of places
  * Fix compatibility with old macOS 10.9
  * Fix check argument type in Repository.apply(...)
  * Fix raise exception if error in Repository.listall_submodules()
  * Fix a couple of refcount errors in OdbBackend.refresh() and
    Worktree_is_prunable

OBS-URL: https://build.opensuse.org/request/show/845686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=24
2020-11-03 14:16:59 +00:00
e8d7e2c65f fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=61
2020-11-03 09:02:39 +00:00
1ba22b36f4 Accepting request 845218 from home:jayvdb:branches:devel:libraries:c_c++
- Add libgit2_1_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0

OBS-URL: https://build.opensuse.org/request/show/845218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=60
2020-11-02 15:43:22 +00:00
4ee70f3a8f Accepting request 800601 from devel:languages:python
- Update to 1.2.1:
  * Drop python2 support
  * Various crash fixes

OBS-URL: https://build.opensuse.org/request/show/800601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=23
2020-05-07 12:50:04 +00:00
Tomáš Chvátal
211b658785 - Update to 1.2.1:
* Drop python2 support
  * Various crash fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=58
2020-05-06 08:08:09 +00:00
bffe0e3581 Accepting request 753142 from devel:languages:python
- Fix building for s390x (bsc#1158198)

OBS-URL: https://build.opensuse.org/request/show/753142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=22
2019-12-03 11:43:30 +00:00
Tomáš Chvátal
eab5ca171b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=56 2019-12-03 09:47:18 +00:00
Tomáš Chvátal
a17653abbb Accepting request 753135 from home:juliogonzalezgil:branches:devel:languages:python
- Fix building for s390x (bsc#1158198)

NOTE: SLE15SP2 build results are only possible by copypacking libgit2

OBS-URL: https://build.opensuse.org/request/show/753135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=55
2019-12-03 09:46:47 +00:00
Ludwig Nussel
fd202464a7 Accepting request 730403 from devel:languages:python
- Update to 0.28.2:
  * Fix crash in reflog iteration #901
  * Support symbolic references in branches.with_commit(..) #910
  * Documentation updates #909
  * Test updates #911

OBS-URL: https://build.opensuse.org/request/show/730403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=21
2019-09-13 13:01:20 +00:00
Tomáš Chvátal
5adc76ce40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=53 2019-09-12 12:59:59 +00:00
Tomáš Chvátal
838326e593 - Update to 0.28.2:
* Fix crash in reflog iteration #901
  * Support symbolic references in branches.with_commit(..) #910
  * Documentation updates #909
  * Test updates #911

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=52
2019-07-23 08:46:18 +00:00
b0ffd0e097 Accepting request 703238 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=20
2019-05-16 20:09:15 +00:00
Tomáš Chvátal
6778612787 Accepting request 703237 from home:gary_smith:branches:devel:languages:python
- Update to 0.28.1
  * Removed patch pycparser.patch as it is no longer needed
  * Now works with pycparser 2.18 and above
  * Now ``Repository.write_archive(..)`` keeps the file mode
  * New ``Patch.data`` returns the raw contents of the patch as a byte string
  * New ``Patch.text`` returns the contents of the patch as a text string,

OBS-URL: https://build.opensuse.org/request/show/703237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=50
2019-05-15 18:35:11 +00:00
ec46c55897 Accepting request 692230 from devel:languages:python
- Add patch to fix the pycparser issues as per bellow:
  * pycparser.patch

OBS-URL: https://build.opensuse.org/request/show/692230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=19
2019-05-06 11:21:18 +00:00
Tomáš Chvátal
c1adf547c6 - Add patch to fix the pycparser issues as per bellow:
* pycparser.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=48
2019-04-08 08:30:13 +00:00
d5b82c5ff8 Accepting request 688613 from devel:languages:python
- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/688613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=18
2019-03-28 21:48:16 +00:00
Tomáš Chvátal
4493705311 - Disable tests temporarily as per above
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=46
2019-03-26 09:11:29 +00:00
Tomáš Chvátal
7ea1c3f2fc - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=45
2019-03-23 11:40:49 +00:00
Tomáš Chvátal
7abfe8db2a Accepting request 687891 from home:Pharaoh_Atem:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/687891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=44
2019-03-23 11:27:24 +00:00
4528bcaab1 Accepting request 610890 from devel:languages:python
- Add patch to fix issues on i586 arch:
  * pygit2-i586.patch

OBS-URL: https://build.opensuse.org/request/show/610890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=17
2018-05-29 08:35:08 +00:00
Tomáš Chvátal
6f380ee367 - Add patch to fix issues on i586 arch:
* pygit2-i586.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=42
2018-05-21 08:34:38 +00:00
b235d7a7a2 Accepting request 610062 from devel:languages:python
- Update to 0.27.0:
  * Update to libgit2 v0.27 #783
  * Fix for GCC 4 #786

OBS-URL: https://build.opensuse.org/request/show/610062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=16
2018-05-17 16:05:48 +00:00
Tomáš Chvátal
e265214141 - Update to 0.27.0:
* Update to libgit2 v0.27 #783
  * Fix for GCC 4 #786

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=40
2018-05-17 12:13:49 +00:00
7c8cae2e52 Accepting request 518568 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/518568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=15
2017-08-29 09:44:01 +00:00
Todd R
dcc6728618 Accepting request 518566 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.26.0
  * Update to libgit2 v0.26
  * Drop support for Python 3.2, add support for cffi 1.10
  * New ``Repository.revert_commit(...)``
  * New ``Branch.is_checked_out()``
  * Various fixes

OBS-URL: https://build.opensuse.org/request/show/518566
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=38
2017-08-24 16:16:36 +00:00
806613ec5a Accepting request 486850 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/486850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=14
2017-05-06 16:26:51 +00:00
Todd R
b3e1b15069 Accepting request 486849 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.25.0.
- Implement singlespec version.

OBS-URL: https://build.opensuse.org/request/show/486849
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=36
2017-04-08 19:04:55 +00:00
0b9190e0a2 Accepting request 449839 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/449839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=13
2017-01-23 10:34:53 +00:00
f2d4a8b426 Accepting request 449745 from home:AndreasStieger:branches:devel:languages:python
pygit 0.24.2

OBS-URL: https://build.opensuse.org/request/show/449745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=34
2017-01-12 12:19:25 +00:00
218ca46908 Accepting request 438238 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/438238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=12
2016-11-05 20:25:34 +00:00
Thomas Bechtold
420d206c48 Accepting request 438236 from home:kwk:branches:devel:languages:python
- Fix Url link (old one was dead).

OBS-URL: https://build.opensuse.org/request/show/438236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=32
2016-11-02 09:32:38 +00:00
b05a9b2b6c Accepting request 419419 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/419419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=11
2016-08-17 10:05:12 +00:00
Jan Matejek
9cd8652ecd Accepting request 419057 from home:tbechtold:branches:devel:languages:python
- require the cffi version it was built against
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/419057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=30
2016-08-15 14:23:37 +00:00
40c7e47dc0 Accepting request 386205 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/386205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=10
2016-04-11 07:14:26 +00:00
ed2f2feae6 Accepting request 385998 from home:Zaitor:branches:devel:languages:python
Fix build in factory.

OBS-URL: https://build.opensuse.org/request/show/385998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=28
2016-04-08 09:48:27 +00:00
6db6cdd951 Accepting request 334933 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/334933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=9
2015-10-01 07:29:32 +00:00
Todd R
fed868479c Accepting request 334932 from home:TheBlackCat:branches:devel:languages:python
Update to version 0.23.1

OBS-URL: https://build.opensuse.org/request/show/334932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=26
2015-09-30 09:54:35 +00:00
Denisart Benjamin
4f33cfcee0 Accepting request 331689 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/331689
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=25
2015-09-17 12:03:24 +00:00
97bd89d389 Accepting request 283924 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/283924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=8
2015-02-05 10:00:06 +00:00
Denisart Benjamin
7ca7e83303 Accepting request 283921 from home:dimstar:Factory
update to 0.22.0

OBS-URL: https://build.opensuse.org/request/show/283921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=23
2015-02-03 16:09:25 +00:00
Stephan Kulow
0cdc2d0ca8 Accepting request 247301 from devel:languages:python
Fix build for Factory

OBS-URL: https://build.opensuse.org/request/show/247301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=7
2014-09-06 10:18:02 +00:00
Denisart Benjamin
89d9f25bc6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=22 2014-09-02 18:47:26 +00:00
Denisart Benjamin
36449f1ea4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=21 2014-09-02 18:46:36 +00:00
Denisart Benjamin
5b98e4c1bc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=20 2014-09-02 18:41:30 +00:00
Denisart Benjamin
50e9fb3a23 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=19 2014-09-02 18:22:34 +00:00
Denisart Benjamin
f6ba6e7a05 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=18 2014-09-02 18:20:13 +00:00
Denisart Benjamin
5c6e4f7257 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=17 2014-09-02 18:19:48 +00:00
Denisart Benjamin
8800b60f54 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=16 2014-09-02 18:19:22 +00:00
Todd R
95251d4726 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=15 2014-07-16 09:44:57 +00:00
Todd R
0f72482320 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=14 2014-07-16 09:44:48 +00:00
Todd R
26ab973619 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=13 2014-07-16 09:44:29 +00:00
Stephan Kulow
5a290adb7d Accepting request 210103 from devel:languages:python
- Update to version 0.20.0
  + Upstream provides no changelog, but you can check
    https://github.com/libgit2/pygit2/compare/v0.19.0...v0.20.0
- Fix build on openSUSE >= 12.3 and SLE11SP3
- Remove obsolete conditionnal macros (forwarded request 210102 from posophe)

OBS-URL: https://build.opensuse.org/request/show/210103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=5
2013-12-10 16:45:32 +00:00
Denisart Benjamin
2f5ac8c80b Accepting request 210102 from home:posophe:branches:devel:languages:python
- Update to version 0.20.0
  + Upstream provides no changelog, but you can check
    https://github.com/libgit2/pygit2/compare/v0.19.0...v0.20.0
- Fix build on openSUSE >= 12.3 and SLE11SP3
- Remove obsolete conditionnal macros

OBS-URL: https://build.opensuse.org/request/show/210102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=11
2013-12-10 02:38:39 +00:00
Tomáš Chvátal
e522f5f352 Accepting request 195542 from devel:languages:python
Update to 0.19.0 for openSUSE >= 12.3 (forwarded request 195541 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/195542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=3
2013-08-19 11:31:00 +00:00
Todd R
b0767b5501 Accepting request 195541 from home:TheBlackCat:branches:devel:languages:python
Update to 0.19.0 for openSUSE >= 12.3

OBS-URL: https://build.opensuse.org/request/show/195541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=9
2013-08-18 13:52:59 +00:00
Todd R
494708aafe OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=8 2013-08-18 13:23:39 +00:00
Todd R
9a9b7587df OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=7 2013-08-18 13:23:13 +00:00
Stephan Kulow
d7f1f01f7b Accepting request 147370 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/147370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=1
2013-01-07 16:34:05 +00:00
Ismail Dönmez
ff101b1b0d Accepting request 146457 from home:babelworx:ldig:branches:devel:languages:python
license update: GPL-2.0
See COPYING (and the majority of the source code files). Not sure why Apache-2.0 was chosen as license here - there is absolutely no indication of Apache style licensing in the package

OBS-URL: https://build.opensuse.org/request/show/146457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=5
2012-12-27 20:15:39 +00:00
Sascha Peilicke
8eb2f7c606 - Update to version 0.17.3:
+ Upstream provides no changelog, but you can check
    https://github.com/libgit2/pygit2/compare/v0.17.2...v0.17.3
- Changes from previous versions:
  + https://github.com/libgit2/pygit2/compare/v0.16.1...v0.17.2
- Enable testsuite again
- Package file COPYING
  + Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=4
2012-12-18 10:57:33 +00:00
Sascha Peilicke
7eebcfb115 - Update to version 0.16.1:
- No changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=3
2012-04-24 09:14:51 +00:00
Sascha Peilicke
4e1e87afc7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=2 2011-12-09 12:10:44 +00:00
Sascha Peilicke
d281e2cab7 Accepting request 59191 from home:saschpe
OBS-URL: https://build.opensuse.org/request/show/59191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=1
2011-02-02 12:49:39 +00:00
6 changed files with 39 additions and 15 deletions

2
.gitignore vendored
View File

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

BIN
pygit2-1.15.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pygit2-1.15.1.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
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).
-------------------------------------------------------------------
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