pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pygit2



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Sep 22 09:21:57 UTC 2025

Modified Files:
        pkgsrc/devel/py-pygit2: Makefile PLIST distinfo

Log Message:
py-pygit2: updated to 1.18.2

1.18.2 (2025-08-16)

- Add support for almost all global options
- Now it's possible to set `Submodule.url = url`
- New `RemoteCallbacks.push_negotiation(...)`
- New optional boolean argument `connect` in `Remote.ls_remotes(...)`
- New `Remote.list_heads(...)` returns a list of `RemoteHead` objects
- Documentation fixes
- Typing improvements

Deprecations:

- `Remote.ls_remotes(...)` is deprecated, use `Remote.list_heads(...)`:

      # Before
      for head in remote.ls_remotes():
          head['name']
          head['oid']
          head['loid']  # None when local is False
          head['local']
          head['symref_target']

      # Now
      for head in remote.list_heads():
          head.name
          head.oid
          head.loid  # The zero oid when local is False
          head.local
          head.symref_target

1.18.1 (2025-07-26)

- Update wheels to libgit2 1.9.1 and OpenSSL 3.3
- New `Index.remove_directory(...)`
- New `Index.add_conflict(...)`
- Now `Repository.merge_file_from_index(...)` returns a `MergeFileResult` object when
  called with `use_deprecated=False`
- Typing improvements

Deprecations:

- Update your code:

      # Before
      contents = Repository.merge_file_from_index(...)

      # Now
      result = Repository.merge_file_from_index(..., use_deprecated=False)
      contents = result.contents

  At some point in the future `use_deprecated=False` will be the default.

1.18.0 (2025-04-24)

- Upgrade Linux Glibc wheels to `manylinux_2_28`
- Add `RemoteCallbacks.push_transfer_progress(...)` callback
- New `bool(oid)`
- Now `Repository.merge(...)` accepts a commit or reference object
- New `threads` optional argument in `Remote.push(...)`
- New `proxy` optional argument in `clone_repository(...)`
- New optional arguments `context_lines` and `interhunk_lines` in `Blob.diff(...)` ; and
  now `Repository.diff(...)` honors these two arguments when the objects diffed are blobs.
- Now `Tree.diff_to_workdir(...)` accepts keyword arguments, not just positional.
- Fix when a reference name has non UTF-8 chars
- Fix condition check in `Repository.remotes.rename(...)`
- Add codespell workflow, fix a number of typos
- Documentation and typing
- CI: Use ARM runner for tests and wheels
- Build and CI updates

Deprecations:

- Passing str to `Repository.merge(...)` is deprecated,
  instead pass an oid object (or a commit, or a reference)

Breaking changes:

- Keyword argument `flag` has been renamed to `flags` in `Blob.diff(...)` and
  `Blob.diff_to_buffer(...)`


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/py-pygit2/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-pygit2/PLIST
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-pygit2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pygit2/Makefile
diff -u pkgsrc/devel/py-pygit2/Makefile:1.42 pkgsrc/devel/py-pygit2/Makefile:1.43
--- pkgsrc/devel/py-pygit2/Makefile:1.42        Thu Apr 24 07:01:17 2025
+++ pkgsrc/devel/py-pygit2/Makefile     Mon Sep 22 09:21:57 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2025/04/24 07:01:17 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2025/09/22 09:21:57 adam Exp $
 
-DISTNAME=      pygit2-1.16.0
+DISTNAME=      pygit2-1.18.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygit2/}
 
@@ -20,7 +19,7 @@ FORCE_C_STD=  c99
 
 PYTHON_VERSIONS_INCOMPATIBLE=  39
 
-BUILDLINK_API_DEPENDS.libgit2+=        libgit2>=1.8
+BUILDLINK_API_DEPENDS.libgit2+=        libgit2>=1.9
 .include "../../devel/libgit2/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-pygit2/PLIST
diff -u pkgsrc/devel/py-pygit2/PLIST:1.14 pkgsrc/devel/py-pygit2/PLIST:1.15
--- pkgsrc/devel/py-pygit2/PLIST:1.14   Thu Apr 24 07:01:17 2025
+++ pkgsrc/devel/py-pygit2/PLIST        Mon Sep 22 09:21:57 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2025/04/24 07:01:17 wiz Exp $
+@comment $NetBSD: PLIST,v 1.15 2025/09/22 09:21:57 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -53,6 +53,7 @@ ${PYSITELIB}/pygit2/decl/indexer.h
 ${PYSITELIB}/pygit2/decl/merge.h
 ${PYSITELIB}/pygit2/decl/net.h
 ${PYSITELIB}/pygit2/decl/oid.h
+${PYSITELIB}/pygit2/decl/options.h
 ${PYSITELIB}/pygit2/decl/pack.h
 ${PYSITELIB}/pygit2/decl/proxy.h
 ${PYSITELIB}/pygit2/decl/refspec.h
@@ -82,6 +83,9 @@ ${PYSITELIB}/pygit2/index.pyo
 ${PYSITELIB}/pygit2/legacyenums.py
 ${PYSITELIB}/pygit2/legacyenums.pyc
 ${PYSITELIB}/pygit2/legacyenums.pyo
+${PYSITELIB}/pygit2/options.py
+${PYSITELIB}/pygit2/options.pyc
+${PYSITELIB}/pygit2/options.pyo
 ${PYSITELIB}/pygit2/packbuilder.py
 ${PYSITELIB}/pygit2/packbuilder.pyc
 ${PYSITELIB}/pygit2/packbuilder.pyo

Index: pkgsrc/devel/py-pygit2/distinfo
diff -u pkgsrc/devel/py-pygit2/distinfo:1.31 pkgsrc/devel/py-pygit2/distinfo:1.32
--- pkgsrc/devel/py-pygit2/distinfo:1.31        Mon Oct 14 14:53:17 2024
+++ pkgsrc/devel/py-pygit2/distinfo     Mon Sep 22 09:21:57 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2024/10/14 14:53:17 adam Exp $
+$NetBSD: distinfo,v 1.32 2025/09/22 09:21:57 adam Exp $
 
-BLAKE2s (pygit2-1.16.0.tar.gz) = 5d1d8a1a91fdbf6e351afd0ce84ab0a07ae1e3091307200135a92b8abbf6a835
-SHA512 (pygit2-1.16.0.tar.gz) = 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278
-Size (pygit2-1.16.0.tar.gz) = 768597 bytes
+BLAKE2s (pygit2-1.18.2.tar.gz) = 35318374ec872bf89ab41f294477bddfa538df4288448b5f06632a13fa28cd46
+SHA512 (pygit2-1.18.2.tar.gz) = 81b0a2fbf57d1a9bb6eb8c29a7cb614a2d3e097518b2ea4510e2e59c2354510906d5063f2b94635a69e20a95473b1139146e29b9f21fcfd2f96ab0afa32ac7fe
+Size (pygit2-1.18.2.tar.gz) = 797200 bytes
 SHA1 (patch-build.sh) = 93046157c4d93b4cadf0ffaad77b4f393e07f03e



Home | Main Index | Thread Index | Old Index