Bug 280709 - devel/py-pygit2: Update to 1.15.1
Summary: devel/py-pygit2: Update to 1.15.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/libgit2/pygit2/blo...
Keywords:
Depends on:
Blocks: 280685
  Show dependency treegraph
 
Reported: 2024-08-09 14:59 UTC by Nuno Teixeira
Modified: 2024-10-18 19:00 UTC (History)
1 user (show)

See Also:
eduardo: maintainer-feedback+


Attachments
Update to 1.15.1 (1.70 KB, patch)
2024-08-09 18:19 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Teixeira freebsd_committer freebsd_triage 2024-08-09 14:59:20 UTC
n file included from src/diff.h:34:
src/types.h:37:2: error: You need a compatible libgit2 version (1.7.x)
   37 | #error You need a compatible libgit2 version (1.7.x)
      |  ^
src/blob.c:171:13: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  171 |             git_error_set(GIT_ERROR_OS, "failed to put chunk to queue");
      |             ^
src/blob.c:180:13: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  180 |             git_error_set(GIT_ERROR_OS, "failed to signal queue ready");
      |             ^
src/blob.c:205:9: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  205 |         git_error_set(GIT_ERROR_OS, "failed to signal writer closed");
      |         ^
src/blob.c:212:9: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  212 |         git_error_set(GIT_ERROR_OS, "failed to signal queue ready");
      |         ^
4 warnings and 1 error generated.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2024-08-09 18:19:52 UTC
Created attachment 252637 [details]
Update to 1.15.1

- Switch to pep517 build
- Add pytest

Notes to self:

- testunit OK
- builds fine with libgit2 1.8.1
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-10-18 18:57:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b987f3128e4416cb4458a3d1dfd40b254f06725

commit 9b987f3128e4416cb4458a3d1dfd40b254f06725
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-10-18 14:32:01 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-10-18 18:56:41 +0000

    devel/py-pygit2: Update to 1.15.1

    - Switch to pep517 build
    - Add pytest

    ChangeLog:      https://github.com/libgit2/pygit2/blob/master/CHANGELOG.md
    PR:             280709
    Approved by:    mfechner

 devel/py-pygit2/Makefile | 13 +++++--------
 devel/py-pygit2/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 11 deletions(-)
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-10-18 19:00:17 UTC
Committed, thanks.