Bug 177637 - [new port] devel/kyua-testers: pluggable test interfaces to Kyua
Summary: [new port] devel/kyua-testers: pluggable test interfaces to Kyua
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 00:20 UTC by Alan Somers
Modified: 2013-06-16 15:20 UTC (History)
0 users

See Also:


Attachments
file.shar (2.86 KB, text/plain)
2013-04-05 00:20 UTC, Alan Somers
no flags Details
kyua-testers.shar (2.59 KB, application/x-shar)
2013-04-25 20:18 UTC, Alan Somers
no flags Details
kyua-testers.shar (2.59 KB, application/x-shar)
2013-06-12 00:43 UTC, Alan Somers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2013-04-05 00:20:00 UTC
Pluggable test interfaces to Kyua.  I'm not certain why upstream packages
them separately, but they do.  It must be a separate port from kyua-cli
because it's a build-time dependency.

Fix: Patch attached with submission follows:
Comment 1 Alan Somers freebsd_committer freebsd_triage 2013-04-25 20:18:33 UTC
Updated the port with comments from Garrett.
* Switch Makefile headers to the new style
* Make use of EXAMPLESDIR, DOCSDIR, PORTDOCS, PORTEXAMPLES, and
PORTDATA where appropriate.
* Add support for the DOCS and EXAMPLES port options
* Minor cleanup
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-05-16 13:36:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 3 Alan Somers freebsd_committer freebsd_triage 2013-06-12 00:43:28 UTC
convert USE_PKGCONFIG to "use= pkg_config" and remove the conditionals
on PORTDOCS, PORTEXAMPLES, and  PORTDATA.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-06-16 15:10:43 UTC
Author: bdrewery
Date: Sun Jun 16 14:10:35 2013
New Revision: 321050
URL: http://svnweb.freebsd.org/changeset/ports/321050

Log:
  New port: devel/kyua-testers:
  
  Kyua (pronounced Q.A.) is a testing framework for both developers and
  users.  Kyua is different from most other testing frameworks in that it
  puts the end user experience before anything else.  There are multiple
  reasons for users to run the tests themselves, and Kyua ensures that
  they can do so in the most convenient way.
  
  This module, kyua-testers, provides scriptable interfaces to interact
  with test programs of various kinds.  The interface of such testers
  allows the caller to execute a single test case of a single test program
  in a controlled and homogeneous manner.
  
  WWW: https://code.google.com/p/kyua/
  
  PR:		ports/177637
  Submitted by:	asomers
  Reviewed by:	Garrett Cooper <yaneurabeya@gmail.com>

Added:
  head/devel/kyua-testers/
  head/devel/kyua-testers/Makefile   (contents, props changed)
  head/devel/kyua-testers/distinfo   (contents, props changed)
  head/devel/kyua-testers/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jun 16 13:54:02 2013	(r321049)
+++ head/devel/Makefile	Sun Jun 16 14:10:35 2013	(r321050)
@@ -914,6 +914,7 @@
     SUBDIR += kprof
     SUBDIR += kscope
     SUBDIR += kyra
+    SUBDIR += kyua-testers
     SUBDIR += lasi
     SUBDIR += lcov
     SUBDIR += leaktracer

Added: head/devel/kyua-testers/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/kyua-testers/Makefile	Sun Jun 16 14:10:35 2013	(r321050)
@@ -0,0 +1,40 @@
+# Created by: Alan Somers <asomers@freebsd.org>
+# $FreeBSD$
+
+PORTNAME=	kyua-testers
+PORTVERSION=	0.1
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+PROJECTHOST=	kyua
+
+MAINTAINER=	asomers@freebsd.org
+COMMENT=	Kyua (automated testing framework) - Testers
+
+LICENSE=	BSD
+
+GNU_CONFIGURE=	yes
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+CONFIGURE_ARGS+=	--docdir=${DOCSDIR}
+# TODO: install the tests, once FreeBSD has a system for ports to install tests
+CONFIGURE_ARGS+=	--without-atf
+
+PLIST_FILES=	libdata/pkgconfig/kyua-testers.pc libexec/kyua-atf-tester
+PLIST_FILES+=	libexec/kyua-plain-tester
+.if ! ${PORT_OPTIONS:MDOCS}
+MAKE_FLAGS+=	doc_DATA=
+.endif
+
+PORTDOCS=	AUTHORS COPYING NEWS README
+MAN1=	kyua-atf-tester.1 kyua-plain-tester.1 kyua-tester.1
+MAN5=	kyua-tester-list.5 kyua-tester-result.5
+MAN7=	kyua-atf-interface.7 kyua-plain-interface.7
+
+post-patch: .SILENT
+	@${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>

Added: head/devel/kyua-testers/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/kyua-testers/distinfo	Sun Jun 16 14:10:35 2013	(r321050)
@@ -0,0 +1,2 @@
+SHA256 (kyua-testers-0.1.tar.gz) = 08f30eef2c967c5451f858ed63c0c4647899d634fcb32dc5fe5fbdb3e0170e49
+SIZE (kyua-testers-0.1.tar.gz) = 165554

Added: head/devel/kyua-testers/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/kyua-testers/pkg-descr	Sun Jun 16 14:10:35 2013	(r321050)
@@ -0,0 +1,12 @@
+Kyua (pronounced Q.A.) is a testing framework for both developers and
+users.  Kyua is different from most other testing frameworks in that it
+puts the end user experience before anything else.  There are multiple
+reasons for users to run the tests themselves, and Kyua ensures that
+they can do so in the most convenient way.
+
+This module, kyua-testers, provides scriptable interfaces to interact
+with test programs of various kinds.  The interface of such testers
+allows the caller to execute a single test case of a single test program
+in a controlled and homogeneous manner.
+
+WWW: https://code.google.com/p/kyua/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2013-06-16 15:10:44 UTC
State Changed
From-To: open->closed

New port added. Thanks!