Lines 1-24
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= pywatchman |
3 |
PORTNAME= pywatchman |
4 |
PORTVERSION= 1.3.0 |
4 |
PORTVERSION= 4.9.0 |
5 |
PORTREVISION= 1 |
5 |
DISTVERSIONPREFIX=v |
6 |
CATEGORIES= sysutils python |
6 |
CATEGORIES= sysutils python |
7 |
MASTER_SITES= CHEESESHOP |
|
|
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
8 |
|
10 |
MAINTAINER= linpct@gmail.com |
9 |
MAINTAINER= linpct@gmail.com |
11 |
COMMENT= Watchman client for Python |
10 |
COMMENT= Watchman client for Python |
12 |
|
11 |
|
13 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE MIT |
|
|
13 |
LICENSE_COMB= multi |
14 |
|
14 |
|
|
|
15 |
BROKEN_mips= Depends on watchman, which needs c++11-libs |
16 |
BROKEN_mips64= Depends on watchman, which needs c++11-libs |
17 |
|
15 |
RUN_DEPENDS= watchman>=4:sysutils/watchman |
18 |
RUN_DEPENDS= watchman>=4:sysutils/watchman |
16 |
|
19 |
|
17 |
USES= python:2.7 |
20 |
USES= python |
18 |
USE_PYTHON= autoplist distutils |
21 |
USE_PYTHON= autoplist concurrent distutils |
19 |
|
22 |
|
|
|
23 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= facebook |
25 |
GH_PROJECT= watchman |
26 |
|
27 |
WRKSRC_SUBDIR= python |
28 |
|
29 |
.include <bsd.port.options.mk> |
30 |
|
31 |
.if ${ARCH} == "armv6" || ${ARCH} == "aarch64" |
32 |
USES= python:2.7 |
33 |
.endif |
34 |
|
20 |
post-install: |
35 |
post-install: |
21 |
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ |
36 |
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pywatchman/bser.so |
22 |
-name '*.so' -exec ${STRIP_CMD} {} + |
|
|
23 |
|
37 |
|
|
|
38 |
do-test: |
39 |
cd ${WRKSRC} ; ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
40 |
|
24 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |