Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2015 05:52:15 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403841 - head/devel/py-yappi
Message-ID:  <201512160552.tBG5qFjH089814@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Dec 16 05:52:15 2015
New Revision: 403841
URL: https://svnweb.freebsd.org/changeset/ports/403841

Log:
  devel/py-yappi: Update to 0.94
  
  * Update PORTVERSION and distinfo checksum (0.94) [1]
  * Enable USE_PYTHON=concurrent support
  * Add NO_ARCH
  * Convert DOCS post-install target to OPTION helper
  * Add do-test target. PyPI sdist doesn't currently contain tests [1]
  * Strip shared library
  
  [1] https://bitbucket.org/sumerc/yappi/issues/7
  
  Based on:
  
  PR:		205113 [1]
  Submitted by:	Johannes Jost Meixner <xmj chaot net> [1]

Modified:
  head/devel/py-yappi/Makefile
  head/devel/py-yappi/distinfo

Modified: head/devel/py-yappi/Makefile
==============================================================================
--- head/devel/py-yappi/Makefile	Wed Dec 16 05:47:20 2015	(r403840)
+++ head/devel/py-yappi/Makefile	Wed Dec 16 05:52:15 2015	(r403841)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	yappi
-PORTVERSION=	0.92
+PORTVERSION=	0.94
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +13,22 @@ COMMENT=	Yet Another Python Profiler
 LICENSE=	MIT
 
 OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	*
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils concurrent autoplist
 
-post-install:
+NO_ARCH=	yes
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_yappi.so
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
 .include <bsd.port.mk>

Modified: head/devel/py-yappi/distinfo
==============================================================================
--- head/devel/py-yappi/distinfo	Wed Dec 16 05:47:20 2015	(r403840)
+++ head/devel/py-yappi/distinfo	Wed Dec 16 05:52:15 2015	(r403841)
@@ -1,2 +1,2 @@
-SHA256 (yappi-0.92.tar.gz) = 6b8b1b222dbd6b6c1e64433ee085e0f86b0fd368f73d6cd19563a842b24cf000
-SIZE (yappi-0.92.tar.gz) = 24442
+SHA256 (yappi-0.94.tar.gz) = 15cc17dba1252ecaae29ced1e96c216165d93fd3e9ea05dff1f5e5866f16bd59
+SIZE (yappi-0.94.tar.gz) = 25173



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