aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-pywatchman/Makefile
blob: 055f4b1c2445e90a694071ad5a2f2d8cf0555254 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

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:3.6+
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

post-install:
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" \
		-exec ${STRIP_CMD} {} +

do-test:
	cd ${WRKSRC} ; ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>