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:   wiz
Date:           Tue Sep  6 09:26:28 UTC 2022

Modified Files:
        pkgsrc/devel/py-pygit2: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-pygit2/patches: patch-build.sh
Removed Files:
        pkgsrc/devel/py-pygit2/patches: patch-src_types.h

Log Message:
py-pygit2: update to 1.10.1.

1.10.1 (2022-08-28)
-------------------------

- 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>`_

1.10.0 (2022-07-24)
-------------------------

- 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>`_

1.9.2 (2022-05-24)
-------------------------

- New ``Repository.create_commit_string(...)`` and
  ``Repository.create_commit_with_signature(...)``
  `#1142 <https://github.com/libgit2/pygit2/pull/1142>`_

- Linux and macOS wheels updated to libgit2 v1.4.3

- Remove redundant line
  `#1139 <https://github.com/libgit2/pygit2/pull/1139>`_

1.9.1 (2022-03-22)
-------------------------

- Type hints: added to C code and Branches/References
  `#1121 <https://github.com/libgit2/pygit2/pull/1121>`_
  `#1132 <https://github.com/libgit2/pygit2/pull/1132>`_

- New ``Signature`` supports ``str()`` and ``repr()``
  `#1135 <https://github.com/libgit2/pygit2/pull/1135>`_

- Fix ODB backend's read in big endian architectures
  `#1130 <https://github.com/libgit2/pygit2/pull/1130>`_

- Fix install with poetry
  `#1129 <https://github.com/libgit2/pygit2/pull/1129>`_
  `#1128 <https://github.com/libgit2/pygit2/issues/1128>`_

- Wheels: update to libgit2 v1.4.2

- Tests: fix testing ``parse_diff``
  `#1131 <https://github.com/libgit2/pygit2/pull/1131>`_

- CI: various fixes after migration to libgit2 v1.4

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>`_

- Windows wheels for Python 3.10
  `#1103 <https://github.com/libgit2/pygit2/pull/1103>`_

- Changed: now ``DiffDelta.is_binary`` returns ``None`` if the file data has
  not yet been loaded, cf. `#962 <https://github.com/libgit2/pygit2/issues/962>`_

- Document ``Repository.get_attr(...)`` and update theme
  `#1017 <https://github.com/libgit2/pygit2/issues/1017>`_
  `#1105 <https://github.com/libgit2/pygit2/pull/1105>`_

1.7.0 (2021-10-08)
-------------------------

- Upgrade to libgit2 1.3.0
  `#1089 <https://github.com/libgit2/pygit2/pull/1089>`_

- Linux wheels now bundled with libssh2 1.10.0 (instead of 1.9.0)

- macOS wheels now include libssh2

- Add support for Python 3.10
  `#1092 <https://github.com/libgit2/pygit2/pull/1092>`_
  `#1093 <https://github.com/libgit2/pygit2/pull/1093>`_

- Drop support for Python 3.6

- New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
  `#1087 <https://github.com/libgit2/pygit2/pull/1087>`_

- New optional argument ``location`` in ``Repository.applies(..)`` and
  ``Repository.apply(..)``
  `#1091 <https://github.com/libgit2/pygit2/pull/1091>`_

- Fix: Now the `flags` argument in `Repository.blame()` is passed through
  `#1083 <https://github.com/libgit2/pygit2/pull/1083>`_

- CI: Stop using Travis, move to GitHub actions

Caveats:

- Windows wheels for Python 3.10 not yet available.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-pygit2/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-pygit2/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-pygit2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pygit2/patches/patch-build.sh
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/py-pygit2/patches/patch-src_types.h

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.24 pkgsrc/devel/py-pygit2/Makefile:1.25
--- pkgsrc/devel/py-pygit2/Makefile:1.24        Tue Jan  4 20:53:23 2022
+++ pkgsrc/devel/py-pygit2/Makefile     Tue Sep  6 09:26:27 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2022/01/04 20:53:23 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2022/09/06 09:26:27 wiz Exp $
 
-DISTNAME=      pygit2-1.6.1
+DISTNAME=      pygit2-1.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygit2/}
 

Index: pkgsrc/devel/py-pygit2/PLIST
diff -u pkgsrc/devel/py-pygit2/PLIST:1.8 pkgsrc/devel/py-pygit2/PLIST:1.9
--- pkgsrc/devel/py-pygit2/PLIST:1.8    Wed Feb  3 13:51:31 2021
+++ pkgsrc/devel/py-pygit2/PLIST        Tue Sep  6 09:26:27 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/02/03 13:51:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/09/06 09:26:27 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,6 +12,7 @@ ${PYSITELIB}/pygit2/_build.py
 ${PYSITELIB}/pygit2/_build.pyc
 ${PYSITELIB}/pygit2/_build.pyo
 ${PYSITELIB}/pygit2/_libgit2.abi3.so
+${PYSITELIB}/pygit2/_pygit2.pyi
 ${PYSITELIB}/pygit2/_pygit2.so
 ${PYSITELIB}/pygit2/_run.py
 ${PYSITELIB}/pygit2/_run.pyc
@@ -34,6 +35,7 @@ ${PYSITELIB}/pygit2/decl/buffer.h
 ${PYSITELIB}/pygit2/decl/callbacks.h
 ${PYSITELIB}/pygit2/decl/checkout.h
 ${PYSITELIB}/pygit2/decl/clone.h
+${PYSITELIB}/pygit2/decl/commit.h
 ${PYSITELIB}/pygit2/decl/common.h
 ${PYSITELIB}/pygit2/decl/config.h
 ${PYSITELIB}/pygit2/decl/describe.h

Index: pkgsrc/devel/py-pygit2/distinfo
diff -u pkgsrc/devel/py-pygit2/distinfo:1.19 pkgsrc/devel/py-pygit2/distinfo:1.20
--- pkgsrc/devel/py-pygit2/distinfo:1.19        Tue Oct 26 10:18:48 2021
+++ pkgsrc/devel/py-pygit2/distinfo     Tue Sep  6 09:26:27 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 10:18:48 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/09/06 09:26:27 wiz Exp $
 
-BLAKE2s (pygit2-1.6.1.tar.gz) = c34ccbc33d34ad392423098f98fc7281f0f278de95861d20b88d0d9a4033bd5f
-SHA512 (pygit2-1.6.1.tar.gz) = 67a78313493ba096cbae6805bda861495f33644fd180b5fb1cd99dcd226ef5a09ee85bd27d04d0697ef15503a4e902aa1384980870551f430fd9560ac949fe2f
-Size (pygit2-1.6.1.tar.gz) = 258338 bytes
-SHA1 (patch-src_types.h) = a7134bfd2a566832a7c62b96d11248fc17130213
+BLAKE2s (pygit2-1.10.1.tar.gz) = a4866c2f85882686bc66c718fe41d24618cb01272531d8a5d061ebc728b86e25
+SHA512 (pygit2-1.10.1.tar.gz) = 41ef33c446ff0b5962f829a37f4c290121e8c0ec2813bbdba7865ed29feb8897c6ebf64387ae48925d3501d073902b4098ecbdd1c41fe6dda25d94fdb7c7d3c4
+Size (pygit2-1.10.1.tar.gz) = 730943 bytes
+SHA1 (patch-build.sh) = 162b527ed785cdd64aa60cdf5563360c8e316bb6

Added files:

Index: pkgsrc/devel/py-pygit2/patches/patch-build.sh
diff -u /dev/null pkgsrc/devel/py-pygit2/patches/patch-build.sh:1.1
--- /dev/null   Tue Sep  6 09:26:28 2022
+++ pkgsrc/devel/py-pygit2/patches/patch-build.sh       Tue Sep  6 09:26:28 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-build.sh,v 1.1 2022/09/06 09:26:28 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- build.sh.orig      2022-08-28 09:11:54.262747800 +0000
++++ build.sh
+@@ -249,6 +249,6 @@ if [ "$1" = "stubtest" ]; then
+     shift
+     $PREFIX/bin/pip install mypy
+     PYTHONPATH=. $PREFIX/bin/stubtest --mypy-config-file mypy-stubtest.ini pygit2._pygit2
+-    [ $? == 0 ] && echo "stubtest OK"
++    [ $? = 0 ] && echo "stubtest OK"
+ fi
+ 



Home | Main Index | Thread Index | Old Index