mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
Changelog: https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst 1.8.0 (2022-02-04) Rename RemoteCallbacks.progress(...) callback to .sideband_progress(...) #1120 New Repository.merge_base_many(...) and Repository.merge_base_octopus(...) #1112 New Repository.listall_stashes() #1117 Code cleanup #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
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# Created by: William Grzybowski <wg@FreeBSD.org>
|
|
|
|
# Also update devel/libgit2, devel/libgit2-glib, devel/rubygem-rugged
|
|
|
|
PORTNAME= pygit2
|
|
PORTVERSION= 1.8.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mfechner@FreeBSD.org
|
|
COMMENT= Python bindings for libgit2
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>1.0:devel/py-cffi@${PY_FLAVOR}
|
|
BUILD_DEPENDS= ${MY_DEPENDS}
|
|
LIB_DEPENDS= libgit2.so:devel/libgit2
|
|
RUN_DEPENDS= ${MY_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python:3.8+
|
|
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})
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_*git2*.so \
|
|
|
|
.include <bsd.port.mk>
|