From owner-svn-ports-all@freebsd.org Sun Dec 4 10:44:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E337EC66612; Sun, 4 Dec 2016 10:44:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2401144A; Sun, 4 Dec 2016 10:44:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB4Ahxe4049122; Sun, 4 Dec 2016 10:43:59 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB4AhxSR049121; Sun, 4 Dec 2016 10:43:59 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612041043.uB4AhxSR049121@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 4 Dec 2016 10:43:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427765 - in head/devel/py-gevent: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 10:44:01 -0000 Author: sunpoet Date: Sun Dec 4 10:43:59 2016 New Revision: 427765 URL: https://svnweb.freebsd.org/changeset/ports/427765 Log: - Fix _util_py2 build failure with Python 3 - Bump PORTREVISION for package change Deleted: head/devel/py-gevent/files/ Modified: head/devel/py-gevent/Makefile Modified: head/devel/py-gevent/Makefile ============================================================================== --- head/devel/py-gevent/Makefile Sun Dec 4 10:30:47 2016 (r427764) +++ head/devel/py-gevent/Makefile Sun Dec 4 10:43:59 2016 (r427765) @@ -3,6 +3,7 @@ PORTNAME= gevent PORTVERSION= 1.1.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,7 +27,15 @@ TEST_WRKSRC= ${WRKSRC}/greentest USE_PYTHON= autoplist concurrent distutils USES= localbase python +.include + +.if ${PYTHON_REL} >= 3000 +post-patch: + @${RM} ${WRKSRC}/gevent/_util_py2.py + @${REINPLACE_CMD} -e '/gevent._util_py2/d' ${WRKSRC}/gevent/hub.py +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gevent/*.so -.include +.include