svn commit: r410013 - head/devel/py-circuits
Kubilay Kocak
koobs at FreeBSD.org
Thu Mar 3 07:38:22 UTC 2016
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 at 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
More information about the svn-ports-all
mailing list