1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/devel/py-pygit2/Makefile
William Grzybowski 9410e0ec81 devel/py-pygit2: update to 0.24.1
PR:		213821
Submitted by:	jbeich
2016-10-27 12:00:21 +00:00

33 lines
875 B
Makefile

# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$
PORTNAME= pygit2
PORTVERSION= 0.24.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Python bindings for libgit2
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi
LIB_DEPENDS= libgit2.so:devel/libgit2
RUN_DEPENDS:= ${BUILD_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
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})
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so
.include <bsd.port.mk>