Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pygit2 |
4 |
PORTNAME= pygit2 |
5 |
PORTVERSION= 0.24.0 |
5 |
PORTVERSION= 0.24.1 |
6 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 15-28
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
15 |
|
15 |
|
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi |
17 |
LIB_DEPENDS= libgit2.so:devel/libgit2 |
17 |
LIB_DEPENDS= libgit2.so:devel/libgit2 |
18 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
18 |
RUN_DEPENDS:= ${BUILD_DEPENDS} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six |
19 |
|
20 |
|
20 |
USES= python |
21 |
USES= python |
21 |
USE_PYTHON= autoplist distutils |
22 |
USE_PYTHON= autoplist distutils |
22 |
MAKE_ENV= LIBGIT2=${LOCALBASE} |
23 |
MAKE_ENV= LIBGIT2=${LOCALBASE} |
|
|
24 |
PYDISTUTILS_TEST_TARGET?= test |
23 |
|
25 |
|
24 |
regression-test: build |
26 |
do-test: |
25 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
27 |
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_TEST_TARGET} ${PYDISTUTILS_TESTARGS}) |
26 |
|
28 |
|
27 |
post-install: |
29 |
post-install: |
28 |
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so |
30 |
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so |