aboutsummaryrefslogblamecommitdiff
path: root/sysutils/py-pywatchman/Makefile
blob: 0dd7eae7382e7efcfa4786f5b03ac9e92eb5f308 (plain) (tree)
1
2
3
4
5
6
7
8
9
                          
                   
                             
                               

                                       
                                             
                                          
                                                    
 

                              
 

                                                           
 
                                             
 
                      


                        
                                              
 
                               
 
             




                                                              

                      
PORTNAME=	pywatchman
DISTVERSIONPREFIX=v
DISTVERSION=	2023.05.01.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>