- Update to 4.9.0

- Add missing LICENSE info
- Support python36 for i386/amd64
- Fallback on armv6,aarch64 to py27
- Switch to github

PR:		230283
Submitted by:	ndowens@yahoo.com
Approved by:	maintainer
Sponsored by:	iXsystems Inc.
This commit is contained in:
Martin Wilke 2019-01-11 14:41:07 +00:00
parent 532e50a2cf
commit 1982cb35fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489974
2 changed files with 29 additions and 10 deletions

View File

@ -1,24 +1,42 @@
# $FreeBSD$
PORTNAME= pywatchman
PORTVERSION= 1.3.0
PORTREVISION= 1
PORTVERSION= 4.9.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= linpct@gmail.com
COMMENT= Watchman client for Python
LICENSE= BSD3CLAUSE
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
RUN_DEPENDS= watchman>=4:sysutils/watchman
USES= python:2.7
USE_PYTHON= autoplist distutils
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}${PYTHONPREFIX_SITELIBDIR} \
-name '*.so' -exec ${STRIP_CMD} {} +
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" \
-exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC} ; ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (pywatchman-1.3.0.tar.gz) = c3d5be183b5b04f6ad575fc71b06dd196185dea1558d9f4d0598ba9beaab8245
SIZE (pywatchman-1.3.0.tar.gz) = 16873
TIMESTAMP = 1536195383
SHA256 (facebook-watchman-v4.9.0_GH0.tar.gz) = 1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322
SIZE (facebook-watchman-v4.9.0_GH0.tar.gz) = 3507999