On 4/10/23 10:58, Rafael Sadowski wrote:
You forgot to remove patches/patch-src_test_ts_test_utils_erl, didn't
you?
Something like that. I cvs rm`d the patches directory because portcheck
... and then didn't notice that the removed patch was missing from the
resulting diff.
cheers,
VolkerIndex: Makefile
===
RCS file: /cvs/ports/benchmarks/tsung/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 18 Jan 2023 09:31:51 - 1.20
+++ Makefile 10 Apr 2023 16:26:20 -
@@ -1,18 +1,15 @@
COMMENT= multi-protocol distributed load testing tool
-V= 1.7.0
-DISTNAME= tsung-$V
-REVISION= 5
+V= 1.8.0
+GH_ACCOUNT= processone
+GH_PROJECT= tsung
+GH_TAGNAME= v${V}
CATEGORIES= benchmarks net
-HOMEPAGE= http://tsung.erlang-projects.org/
-
# GPLv2
PERMIT_PACKAGE= Yes
-MASTER_SITES= http://tsung.erlang-projects.org/dist/
-
MODULES= lang/erlang \
lang/python
MODERL_VERSION= 25
@@ -35,5 +32,11 @@ FAKE_FLAGS= CONFDIR="${PREFIX}/share/ex
MAN_DIR="${PREFIX}/man/man1/"
SUBST_VARS+= V
+
+post-install:
+ ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
+ ${PREFIX}/lib/tsung/tsung_plotter/__init__.py
+ ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
+ ${PREFIX}/lib/tsung/tsung_plotter/tsung.py
.include
Index: distinfo
===
RCS file: /cvs/ports/benchmarks/tsung/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 13 Feb 2020 20:32:48 - 1.3
+++ distinfo 10 Apr 2023 16:26:20 -
@@ -1,2 +1,2 @@
-SHA256 (tsung-1.7.0.tar.gz) = Y5REWGDvNPrt+MRtqVo8sga8FzARRbySAVEQf/os5So=
-SIZE (tsung-1.7.0.tar.gz) = 1572265
+SHA256 (tsung-1.8.0.tar.gz) = bFXfSLgvGF39YK5yceCbvCXGyLxWi7i/wM2wVtd8OJk=
+SIZE (tsung-1.8.0.tar.gz) = 972168
Index: patches/patch-src_test_ts_test_utils_erl
===
RCS file: patches/patch-src_test_ts_test_utils_erl
diff -N patches/patch-src_test_ts_test_utils_erl
--- patches/patch-src_test_ts_test_utils_erl 8 Jan 2023 05:45:18 - 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Pull in an upstream fix for a failing testcase with erlang >= 21
-https://github.com/processone/tsung/commit/e53a59d16df5a2d3781ef9d4f0171ad0ca5bc931
-Index: src/test/ts_test_utils.erl
src/test/ts_test_utils.erl.orig
-+++ src/test/ts_test_utils.erl
-@@ -48,7 +48,7 @@ mkey1search_string_test()->
- ?assertEqual(["bar","caps"],ts_utils:mkey1search(Data,"foo")).
-
- datestr_test()->
--?assertEqual(["2013","10","17",45,"19","41"],ts_utils:datestr({{2013,10,17},{19,41,29}})).
-+?assertEqual("20131017-1941",lists:flatten(ts_utils:datestr({{2013,10,17},{19,41,29}}))).
-
- export_text_test()->
- ?assertEqual("foo",ts_utils:export_text("foo")).
Index: pkg/PLIST
===
RCS file: /cvs/ports/benchmarks/tsung/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST 11 Mar 2022 18:21:42 - 1.5
+++ pkg/PLIST 10 Apr 2023 16:26:20 -
@@ -178,6 +178,7 @@ lib/tsung/tsung_controller-${V}/ebin/ts_
lib/tsung/tsung_controller-${V}/ebin/ts_file_server.beam
lib/tsung/tsung_controller-${V}/ebin/ts_interaction_server.beam
lib/tsung/tsung_controller-${V}/ebin/ts_job_notify.beam
+lib/tsung/tsung_controller-${V}/ebin/ts_local_file_server.beam
lib/tsung/tsung_controller-${V}/ebin/ts_match_logger.beam
lib/tsung/tsung_controller-${V}/ebin/ts_mon.beam
lib/tsung/tsung_controller-${V}/ebin/ts_msg_server.beam
@@ -236,6 +237,7 @@ lib/tsung/tsung_controller-${V}/src/ts_c
lib/tsung/tsung_controller-${V}/src/ts_file_server.erl
lib/tsung/tsung_controller-${V}/src/ts_interaction_server.erl
lib/tsung/tsung_controller-${V}/src/ts_job_notify.erl
+lib/tsung/tsung_controller-${V}/src/ts_local_file_server.erl
lib/tsung/tsung_controller-${V}/src/ts_match_logger.erl
lib/tsung/tsung_controller-${V}/src/ts_mon.erl
lib/tsung/tsung_controller-${V}/src/ts_msg_server.erl
@@ -252,6 +254,9 @@ lib/tsung/tsung_controller-${V}/src/ts_w
lib/tsung/tsung_controller-${V}/src/tsung_controller.erl
lib/tsung/tsung_plotter/
lib/tsung/tsung_plotter/__init__.py
+${MODPY_COMMENT}lib/tsung/tsung_plotter/${MODPY_PYCACHE}/
+lib/tsung/tsung_plotter/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/tsung/tsung_plotter/${MODPY_PYCACHE}tsung.${MODPY_PYC_MAGIC_TAG}pyc
lib/tsung/tsung_plotter/tsung.py
lib/tsung/tsung_recorder-${V}/
lib/tsung/tsung_recorder-${V}/ebin/