1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/sysutils/py-pywatchman/Makefile
Antoine Brodin 63f5eeef8a Bump a few PORTREVISIONs after r498529
With hat:	portmgr
2019-04-10 06:18:31 +00:00

44 lines
859 B
Makefile

# $FreeBSD$
PORTNAME= pywatchman
PORTVERSION= 4.9.0
PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= linpct@gmail.com
COMMENT= Watchman client for Python
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
RUN_DEPENDS= watchman>=4:sysutils/watchman
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= facebook
GH_PROJECT= watchman
BROKEN_mips= Depends on watchman, which needs c++11-libs
BROKEN_mips64= Depends on watchman, which needs c++11-libs
WRKSRC_SUBDIR= python
.include <bsd.port.options.mk>
.if ${ARCH} == "armv6" || ${ARCH} == "aarch64"
USES= python:2.7
.endif
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" \
-exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC} ; ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>