From owner-svn-ports-all@freebsd.org Mon Dec 21 18:33:44 2015 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 92049A4E807; Mon, 21 Dec 2015 18:33:44 +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 5B6D012EA; Mon, 21 Dec 2015 18:33:44 +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 tBLIXhn3056916; Mon, 21 Dec 2015 18:33:43 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBLIXhBi056915; Mon, 21 Dec 2015 18:33:43 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201512211833.tBLIXhBi056915@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 21 Dec 2015 18:33:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404147 - 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.20 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: Mon, 21 Dec 2015 18:33:44 -0000 Author: sunpoet Date: Mon Dec 21 18:33:43 2015 New Revision: 404147 URL: https://svnweb.freebsd.org/changeset/ports/404147 Log: - Add LICENSE_FILE - Use libraries from ports tree instead of bundled one - Strip shared library in post-install: - Bump PORTREVISION for dependency and 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 Mon Dec 21 18:33:38 2015 (r404146) +++ head/devel/py-gevent/Makefile Mon Dec 21 18:33:43 2015 (r404147) @@ -3,6 +3,7 @@ PORTNAME= gevent PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,18 +12,22 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python co-routine networking library based on greenlet LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libcares.so:${PORTSDIR}/dns/c-ares \ + libev.so:${PORTSDIR}/devel/libev RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.7:${PORTSDIR}/devel/py-greenlet TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.7:${PORTSDIR}/devel/py-greenlet \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 DO_MAKE_TEST= ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} +MAKE_ENV= CARES_EMBED=0 LIBEV_EMBED=0 TEST_TARGET= testrunner.py TEST_WRKSRC= ${WRKSRC}/greentest USE_PYTHON= autoplist distutils -USES= python:2 +USES= localbase python:2 -post-build: - @${STRIP_CMD} ${WRKSRC}/gevent/_semaphore.so ${WRKSRC}/gevent/_util.so ${WRKSRC}/gevent/ares.so ${WRKSRC}/gevent/core.so +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gevent/*.so .include