git: 9b987f3128e4 - main - devel/py-pygit2: Update to 1.15.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Oct 2024 18:56:57 UTC
The branch main has been updated by eduardo:
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(-)
diff --git a/devel/py-pygit2/Makefile b/devel/py-pygit2/Makefile
index dbfa5dc46981..034ec770edb1 100644
--- a/devel/py-pygit2/Makefile
+++ b/devel/py-pygit2/Makefile
@@ -1,7 +1,7 @@
# Also update devel/libgit2, devel/libgit2-glib, devel/rubygem-rugged
PORTNAME= pygit2
-PORTVERSION= 1.14.1
+PORTVERSION= 1.15.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,17 +14,14 @@ WWW= https://www.pygit2.org \
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.0:devel/py-cffi@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.0:devel/py-cffi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libgit2.so:devel/libgit2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.0:devel/py-cffi@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
-MAKE_ENV= LIBGIT2=${LOCALBASE}
-PYDISTUTILS_TEST_TARGET?= test
-
-do-test:
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_TEST_TARGET} ${PYDISTUTILS_TESTARGS})
+USE_PYTHON= autoplist pep517 pytest
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_*git2*.so \
diff --git a/devel/py-pygit2/distinfo b/devel/py-pygit2/distinfo
index 5f21665c0039..86fcb7bd45a2 100644
--- a/devel/py-pygit2/distinfo
+++ b/devel/py-pygit2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707636970
-SHA256 (pygit2-1.14.1.tar.gz) = ec5958571b82a6351785ca645e5394c31ae45eec5384b2fa9c4e05dde3597ad6
-SIZE (pygit2-1.14.1.tar.gz) = 765621
+TIMESTAMP = 1723226788
+SHA256 (pygit2-1.15.1.tar.gz) = e1fe8b85053d9713043c81eccc74132f9e5b603f209e80733d7955eafd22eb9d
+SIZE (pygit2-1.15.1.tar.gz) = 768818