1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/py-pygit2/Makefile
Sunpoet Po-Chuan Hsieh 5263613a31 - Update to 0.23.2
- Strip shared library
- Do not silence installation message
- Update pkg-descr

Changes:	https://pypi.python.org/pypi/pygit2#changelog
PR:		204864
Submitted by:	sunpoet (myself)
Approved by:	wg (maintainer)
2015-11-28 16:04:56 +00:00

31 lines
762 B
Makefile

# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$
PORTNAME= pygit2
PORTVERSION= 0.23.2
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:${PORTSDIR}/devel/py-cffi
LIB_DEPENDS= libgit2.so:${PORTSDIR}/devel/libgit2
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python
USE_PYTHON= autoplist distutils
MAKE_ENV= LIBGIT2=${LOCALBASE}
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so
.include <bsd.port.mk>