summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-02-28 09:38:32 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2026-02-28 09:38:38 -0800
commitc2cf8c19e605c452f0369369983e6e2dcf69dcc4 (patch)
tree33c0ba1c6aed6ee11c99cd9b23b7343f07743059
parentmath/universal: update 3.97 → 4.2.0 (diff)
finance/py-bt: update 1.1.2 → 1.1.3
Reported by: portscout
-rw-r--r--finance/py-bt/Makefile13
-rw-r--r--finance/py-bt/distinfo6
2 files changed, 13 insertions, 6 deletions
diff --git a/finance/py-bt/Makefile b/finance/py-bt/Makefile
index 49af7cbea6bc..e1ba58c61500 100644
--- a/finance/py-bt/Makefile
+++ b/finance/py-bt/Makefile
@@ -1,7 +1,6 @@
PORTNAME= bt
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.2
-PORTREVISION= 1
+DISTVERSION= 1.1.3
CATEGORIES= finance python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -28,6 +27,14 @@ GH_ACCOUNT= pmorissette
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bt/core${PYTHON_TAG}.so
-# tests as of 1.1.2: 157 passed, 1 warning in 24.95s
+do-test: # needed to prevent failures due to -k and -r arguments
+ @cd ${TEST_WRKSRC} && \
+ ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests/ -rs -v -o addopts= ${TEST_ARGS:NDESTDIR=*}
+
+# tests as of 1.1.3: see https://github.com/pmorissette/bt/issues/499
+# Results (103.72s):
+# 1 failed
+# 488 passed
+# 149 warnings
.include <bsd.port.mk>
diff --git a/finance/py-bt/distinfo b/finance/py-bt/distinfo
index e678fd0f7cee..7eff7d9e965a 100644
--- a/finance/py-bt/distinfo
+++ b/finance/py-bt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744526430
-SHA256 (pmorissette-bt-v1.1.2_GH0.tar.gz) = 00cf878559bcd666ef0246a185050ab270d9e5986117117990852facfff9a6f0
-SIZE (pmorissette-bt-v1.1.2_GH0.tar.gz) = 9950892
+TIMESTAMP = 1772298148
+SHA256 (pmorissette-bt-v1.1.3_GH0.tar.gz) = 3741097d6d13d6d3d2640c465f59887d70c3187209ef4c8baeb69db0b350cf44
+SIZE (pmorissette-bt-v1.1.3_GH0.tar.gz) = 9952004