From nobody Sun Jul 09 21:37:21 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzgTG2Rjpz4mhlW; Sun, 9 Jul 2023 21:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzgTG21NMz3jdv; Sun, 9 Jul 2023 21:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688938642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1bcUHXmKqyd41vbSBIS5qtVI8JqepWnbakl7ptv0qzU=; b=G+cTyMf4B1j9/4Mbv0md5pCs2zQBjr9LEssqiqQrv3ffVl/lV1qEzD1cvMvgOKIIf3bggL 7I0RX8ROP98OT4x7fYWmsp2+DA9ZysO8gk73S+MYEnCpyGtktD99oe0oX6fG5mii8gMLyy 2gu4oOOZ37yjEBdcIrAeoChDcuQDtHpEaAjEpXq3HRop0G1hfQdbAnHgwL52tR4hFU7Qdx r88sKJViHnLVHIQ3DWBmA5QI5CEseUnbusI5n+IVuoZt6Y6s1HiW/d6Dnw+L0pNItDmWaD nAXKjYqE/AYdIxmPHm3Ot5w15N/K0PLdeDtKRyg0iUdsi0z696DRvHD0ah3hjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688938642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1bcUHXmKqyd41vbSBIS5qtVI8JqepWnbakl7ptv0qzU=; b=Wslc1n2Z3hZxLJfzk9ogy8E0+cPPcgyjnW/sxR7KfzvGzbd2NwE1QprA/fs4JyG2Bpz4KM wLEtbR+iosE5aXgcjQPczACLPPrfOJSNVmJhFiUGv17X6E/hxomvb5j4lLqpqISuD3DgPm pRVTtiMuvy2EjJhM1ShpO8h8e8B/f9OKN4EU5DWb0QJ3Daq5A8V0kLKM06P/GsuLE0y3mN /ta3lKjkefWPPit0TW3BqJa5copS5TSJpCv/s1nTFeaUyEBTg4u7GClfFEevadr3AL7oaj /+zXrJdAWKOV2otFz8PgKaeY2UixIeDTrMjvAzWlUq3U0l0OJhJL45S4cQveDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688938642; a=rsa-sha256; cv=none; b=EX1xvp4gEKEUv6pKrSmSPDRlrSHYeB3g7e6+Mbnb/P/cg7d4S8p0HpXJlQwCkWFbwr2J7k toMqxpHCDcwX1NeaW0HzfznZF09YBDPC/ih1iJv3WTj3pXian80vqC+6M3tmUDk6eEflXf uzhjPDwK9mzfp4vbu5YSGA/YkgQ8xTHXdnNlbLMI0vIc39X/cUTh3DhfA3kseRqi/SFP4+ ZN249Sx2N44qn4fZVWswdOuDhlyE/oa4Y6ymwA1Uze01lfzmAd/nyeSsN+Vb3nYUgls6fq Dy9Gw+8C6DsL+lM4bZ5HT5FZ3rN5lhQ1qf33WmQcaKOv7FW0FpXQn55VR3pnwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QzgTG0zypzK1Z; Sun, 9 Jul 2023 21:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369LbLmJ070588; Sun, 9 Jul 2023 21:37:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369LbL9Z070587; Sun, 9 Jul 2023 21:37:21 GMT (envelope-from git) Date: Sun, 9 Jul 2023 21:37:21 GMT Message-Id: <202307092137.369LbL9Z070587@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c33e70ed0859 - main - x11-toolkits/p5-Test-Tk: Add p5-Test-Tk 3.01 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c33e70ed0859dc51843f93dda6e800a46632fb5a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c33e70ed0859dc51843f93dda6e800a46632fb5a commit c33e70ed0859dc51843f93dda6e800a46632fb5a Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 21:21:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 21:34:16 +0000 x11-toolkits/p5-Test-Tk: Add p5-Test-Tk 3.01 Test::Tk aims to assist in the testing of Perl/Tk widgets. createapp creates a MainWindow widget and places it in the variable $app. It sets a timer with delay $delay to start the internal test routine. starttesting launches the main loop and sets a timer with delay $delay to start the internal test routine. When testing is done the MainWindow is destroyed and the test script continues. You can set a command line parameter show to test command on the command line. eg perl -Mblib t/My-Test.t show. The application will not terminate so you can visually inspect it. It will perform two tests. You need to account for these when you set your number of tests. If you are not on Windows and no XServer is running, all tests will be skipped. --- x11-toolkits/Makefile | 1 + x11-toolkits/p5-Test-Tk/Makefile | 23 +++++++++++++++++++++++ x11-toolkits/p5-Test-Tk/distinfo | 3 +++ x11-toolkits/p5-Test-Tk/pkg-descr | 18 ++++++++++++++++++ x11-toolkits/p5-Test-Tk/pkg-plist | 2 ++ 5 files changed, 47 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index ddd78cc4e7e5..ad7921f00e9b 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -122,6 +122,7 @@ SUBDIR += p5-Gtk3-SimpleList SUBDIR += p5-Pango SUBDIR += p5-Prima + SUBDIR += p5-Test-Tk SUBDIR += p5-Tk SUBDIR += p5-Tk-Action SUBDIR += p5-Tk-Autoscroll diff --git a/x11-toolkits/p5-Test-Tk/Makefile b/x11-toolkits/p5-Test-Tk/Makefile new file mode 100644 index 000000000000..63b2f9eb4584 --- /dev/null +++ b/x11-toolkits/p5-Test-Tk/Makefile @@ -0,0 +1,23 @@ +PORTNAME= Test-Tk +PORTVERSION= 3.01 +CATEGORIES= x11-toolkits perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Testing Tk widgets +WWW= https://metacpan.org/dist/Test-Tk + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ + p5-Tk>=0:x11-toolkits/p5-Tk + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/x11-toolkits/p5-Test-Tk/distinfo b/x11-toolkits/p5-Test-Tk/distinfo new file mode 100644 index 000000000000..6e590acdfe9a --- /dev/null +++ b/x11-toolkits/p5-Test-Tk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688901999 +SHA256 (Test-Tk-3.01.tar.gz) = 4c6372679b73c3a89bb85d00f04d6b610e98f7acf222cbc7a327c53aafbe724e +SIZE (Test-Tk-3.01.tar.gz) = 4337 diff --git a/x11-toolkits/p5-Test-Tk/pkg-descr b/x11-toolkits/p5-Test-Tk/pkg-descr new file mode 100644 index 000000000000..a03fe2d35aad --- /dev/null +++ b/x11-toolkits/p5-Test-Tk/pkg-descr @@ -0,0 +1,18 @@ +Test::Tk aims to assist in the testing of Perl/Tk widgets. + +createapp creates a MainWindow widget and places it in the variable $app. It +sets a timer with delay $delay to start the internal test routine. + +starttesting launches the main loop and sets a timer with delay $delay to start +the internal test routine. + +When testing is done the MainWindow is destroyed and the test script continues. + +You can set a command line parameter show to test command on the command line. +eg perl -Mblib t/My-Test.t show. The application will not terminate so you can +visually inspect it. + +It will perform two tests. You need to account for these when you set your +number of tests. + +If you are not on Windows and no XServer is running, all tests will be skipped. diff --git a/x11-toolkits/p5-Test-Tk/pkg-plist b/x11-toolkits/p5-Test-Tk/pkg-plist new file mode 100644 index 000000000000..a67e2332b3b3 --- /dev/null +++ b/x11-toolkits/p5-Test-Tk/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/Tk.pm +%%PERL5_MAN3%%/Test::Tk.3.gz