aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2016-03-03 07:38:20 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2016-03-03 07:38:20 +0000
commitbf462636f9ad620ae3eb3b9d25430f5c94512c9c (patch)
tree3913ae4a18c2c07f0c604e43811a2055707119a7 /devel
parente2f30c84be6c1e90834df81cf75f96c6e653e2ce (diff)
downloadports-bf462636f9ad620ae3eb3b9d25430f5c94512c9c.tar.gz
ports-bf462636f9ad620ae3eb3b9d25430f5c94512c9c.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/py-circuits/Makefile15
-rw-r--r--devel/py-circuits/distinfo4
2 files changed, 12 insertions, 7 deletions
diff --git a/devel/py-circuits/Makefile b/devel/py-circuits/Makefile
index f2457085480d..0d7d80bd065b 100644
--- a/devel/py-circuits/Makefile
+++ b/devel/py-circuits/Makefile
@@ -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>
diff --git a/devel/py-circuits/distinfo b/devel/py-circuits/distinfo
index ec0af190b076..0c1847f2f527 100644
--- a/devel/py-circuits/distinfo
+++ b/devel/py-circuits/distinfo
@@ -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