aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-pywatchman/Makefile
blob: 61e28db1d04388a757819202d5fe8100bf9dcbd9 (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
PORTNAME=	pywatchman
DISTVERSIONPREFIX=v
DISTVERSION=	2024.03.25.00
CATEGORIES=	sysutils python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	p.mousavizadeh@protonmail.com
COMMENT=	Watchman client for Python
WWW=		https://pypi.org/project/pywatchman/

LICENSE=	BSD3CLAUSE MIT
LICENSE_COMB=	multi

BROKEN_mips=	depends on watchman, which needs c++11-libs
BROKEN_mips64=	depends on watchman, which needs c++11-libs

RUN_DEPENDS=	watchman>=4:sysutils/watchman

USES=		python
USE_GITHUB=	yes
GH_ACCOUNT=	facebook
GH_PROJECT=	watchman
USE_PYTHON=	autoplist concurrent distutils

WRKSRC_SUBDIR=	watchman/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>