BSD Ports

devel/py-pygit2 1.20.0nb1 NetBSD

Python bindings to libgit2

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
License
gnu-gpl-v2
Categories
devel, python
Package size
309.4 KiB, 1941.7 KiB installed

Description

pygit2 is a set of Python bindings to the libgit2 linkable C Git library.

In the other systems

SystemPortVersion
NetBSDdevel/py-pygit21.20.0nb1
FreeBSDdevel/py-pygit21.20.1
DragonFlydevel/py-pygit21.16.0_1
HardenedBSDdevel/py-pygit21.20.1
GhostBSDdevel/py-pygit21.20.1

Install

Binary package:

pkgin install py311-pygit2

From pkgsrc:

cd /usr/pkgsrc/devel/py-pygit2 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.20.0nb1
NetBSD 10.1 aarch641.19.2
SmartOS / illumos x86_641.20.1nb2
macOS 15 arm641.20.1nb2

Dependencies

Run dependencies 3

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pygit2-1.20.0nb1, py313-pygit2-1.20.0nb1, py314-pygit2-1.20.0nb1

Commit history 5

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
c4d90ad6ca adam py-pygit2: updated to 1.20.1
1.20.1 (2026-09-12) - Update wheels to libgit2 1.9.7 - New exception hierarchy: `AlreadyExistsError`, `InvalidSpecError`, `InvalidError`, `NotFoundError`, `AmbiguousError`, `AuthError`, and `CertificateError` all inherit from `GitError` and the appropriate Python built-in exception (`ValueError`/`KeyError`) for backward compatibility - Fix `DiffDelta.is_binary` and `DiffDelta.flags` returning stale values for deltas obtained from `Diff.deltas`; flags are now loaded lazily - Fix `repo.submodules.get()` and `name in repo.submodules` raising `AlreadyExistsError` when a repository exists at the submodule path but was never registered as a submodule; they now return `None` and `False` respectively as documented - Fix `BlobIO` cleanup deadlock on partial reads …
5e4aea17e2 wiz *: recursive bump for pcre2 10.48
a678c97bd8 adam py-pygit2: updated to 1.20.0
1.20.0 (2026-08-08) - New `RemoteCallbacks.custom_headers()` - New rebase API: `Repository.rebase_init(...)`, `Repository.rebase_open(...)`, `Rebase`, and `RebaseOperation` - Fix `Config.snapshot()` for non-repository configs, allow `PathLike` in `Config.__init__()`, and improve config documentation - Fix `UnicodeDecodeError` with non-UTF-8 file paths in `Repository.status()`, `DiffFile.path`, index paths, checkout callbacks, and related APIs - Fix `enums.CheckoutStrategy.CONFLICT_STYLE_ZDIFF3`, which was mistakenly bound to the `DIFF3` constant - Fix crashes and reference-lifetime bugs in custom refdb backends - Update wheels to libgit2 1.9.6 and OpenSSL 3.5.7 - Add riscv64 wheels