Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 07:38:20 +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: r410013 - head/devel/py-circuits
Message-ID:  <201603030738.u237cKsY042817@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Mar  3 07:38:20 2016
New Revision: 410013
URL: https://svnweb.freebsd.org/changeset/ports/410013

Log:
  devel/py-circuits: Update to 3.1.0, Modernize
  
  - Update PORTVERSION and distinfo checksum (3.1.0)
  - Add LICENCE_FILE
  - Sort USE_PYTHON values
  - Update test target
  - Remove __pycache__ dirs from sdist causing test failures [1]
  
  [1] https://github.com/circuits/circuits/issues/155

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

Modified: head/devel/py-circuits/Makefile
==============================================================================
--- head/devel/py-circuits/Makefile	Thu Mar  3 07:09:00 2016	(r410012)
+++ head/devel/py-circuits/Makefile	Thu Mar  3 07:38:20 2016	(r410013)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	circuits
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	3.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +11,19 @@ MAINTAINER=	koobs@FreeBSD.org
 COMMENT=	Asynchronous Component-based Event Application Framework
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
-regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+NO_ARCH=	yes
+
+post-extract:
+	${FIND} ${WRKSRC} -type d -name __pycache__ -exec ${RM} -r {} +
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests
 
 .include <bsd.port.mk>

Modified: head/devel/py-circuits/distinfo
==============================================================================
--- head/devel/py-circuits/distinfo	Thu Mar  3 07:09:00 2016	(r410012)
+++ head/devel/py-circuits/distinfo	Thu Mar  3 07:38:20 2016	(r410013)
@@ -1,2 +1,2 @@
-SHA256 (circuits-2.1.0.tar.gz) = 9da4b1a92bc12d5a56b72f2c345847e8991595003a3a0076e55ac9f1b52404e6
-SIZE (circuits-2.1.0.tar.gz) = 1346805
+SHA256 (circuits-3.1.0.tar.gz) = 637b411fd5843d7bdbebafbf1c0683b9ec3e56ce5c87545ccac02d48592b774b
+SIZE (circuits-3.1.0.tar.gz) = 2106769



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