Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 14:41:08 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489974 - head/sysutils/py-pywatchman
Message-ID:  <201901111441.x0BEf8gE010858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jan 11 14:41:07 2019
New Revision: 489974
URL: https://svnweb.freebsd.org/changeset/ports/489974

Log:
  - 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.

Modified:
  head/sysutils/py-pywatchman/Makefile
  head/sysutils/py-pywatchman/distinfo

Modified: head/sysutils/py-pywatchman/Makefile
==============================================================================
--- head/sysutils/py-pywatchman/Makefile	Fri Jan 11 14:13:43 2019	(r489973)
+++ head/sysutils/py-pywatchman/Makefile	Fri Jan 11 14:41:07 2019	(r489974)
@@ -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>

Modified: head/sysutils/py-pywatchman/distinfo
==============================================================================
--- head/sysutils/py-pywatchman/distinfo	Fri Jan 11 14:13:43 2019	(r489973)
+++ head/sysutils/py-pywatchman/distinfo	Fri Jan 11 14:41:07 2019	(r489974)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901111441.x0BEf8gE010858>