Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2011 16:46:58 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157797: [PATCH] update devel/rubygem-rspec to 2.6.0
Message-ID:  <201106121646.p5CGkwTo004552@red.freebsd.org>
Resent-Message-ID: <201106121650.p5CGo8Vv050682@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157797
>Category:       ports
>Synopsis:       [PATCH] update devel/rubygem-rspec to 2.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 12 16:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        
>Organization:
>Environment:
>Description:
rspec has been split into 3 separate components. this patch creates ports for them and updates rspec to include dependencies on them. This should supercede ports/157443 and allow ports/157787 to be committed. 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: devel/rubygem-rspec/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-rspec/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- devel/rubygem-rspec/Makefile	27 Dec 2010 15:10:28 -0000	1.12
+++ devel/rubygem-rspec/Makefile	12 Jun 2011 16:33:02 -0000
@@ -5,19 +5,22 @@
 # $FreeBSD: ports/devel/rubygem-rspec/Makefile,v 1.12 2010/12/27 15:10:28 pgollucci Exp $
 
 PORTNAME=	rspec
-PORTVERSION=	1.3.1
+PORTVERSION=	2.6.0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	romanbsd@yahoo.com
 COMMENT=	Behaviour Driven Development in Ruby
 
-PORTSCOUT=	limit:^1
-
 USE_RUBY=	yes
 USE_RAKE=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
-PLIST_FILES=	bin/spec bin/autospec
 
+BUILD_DEPENDS=	rubygem-rspec-core>=0:${PORTSDIR}/devel/rubygem-rspec-core \
+		rubygem-rspec-expectations>=0:${PORTSDIR}/devel/rubygem-rspec-expectations \
+		rubygem-rspec-mocks>=0:${PORTSDIR}/devel/rubygem-rspec-mocks
+RUN_DEPENDS=	rubygem-rspec-core>=0:${PORTSDIR}/devel/rubygem-rspec-core \
+		rubygem-rspec-expectations>=0:${PORTSDIR}/devel/rubygem-rspec-expectations \
+		rubygem-rspec-mocks>=0:${PORTSDIR}/devel/rubygem-rspec-mocks
 .include <bsd.port.mk>
Index: devel/rubygem-rspec/distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-rspec/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- devel/rubygem-rspec/distinfo	27 Dec 2010 15:10:28 -0000	1.8
+++ devel/rubygem-rspec/distinfo	12 Jun 2011 16:11:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (rubygem/rspec-1.3.1.gem) = 266599abc471df01c09506e4d88e667bb623f762e3c62d794852416ba7cc93c0
-SIZE (rubygem/rspec-1.3.1.gem) = 214528
+SHA256 (rubygem/rspec-2.6.0.gem) = 9638cad0d5a0c17ba7871e600df381ecf551dd3ab382d2032b35983803dc5ed4
+SIZE (rubygem/rspec-2.6.0.gem) = 5632
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-core/distinfo	2011-06-12 12:22:39.657149700 -0400
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rspec-core-2.6.0.gem) = 41336c746f5a0584c70bf3313107c27da853a2828ae206f794004d257e61b452
+SIZE (rubygem/rspec-core-2.6.0.gem) = 120832
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-core/Makefile	2011-06-12 12:29:10.488149935 -0400
@@ -0,0 +1,23 @@
+# New ports collection makefile for:	rubygem-rspec-core
+# Date created:		2011-06-12
+# Whom:			Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	rspec-core
+PORTVERSION=	2.6.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	RSpec Core provides the structure for writing executable examples
+
+USE_RUBY=	yes
+USE_RAKE=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+PLIST_FILES=	bin/autospec bin/rspec
+
+.include <bsd.port.mk>
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-core/pkg-descr	2011-06-12 12:15:49.922149834 -0400
@@ -0,0 +1,4 @@
+RSpec Core provides the structure for writing executable examples of how your
+code should behave.
+
+WWW:	https://github.com/rspec/rspec-core
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-expectations/distinfo	2011-06-12 12:25:33.662150639 -0400
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rspec-expectations-2.6.0.gem) = 8db3e4e34d163fc6d17ded378380ed2dd2495a9565869c4ef02b8de6434c5db1
+SIZE (rubygem/rspec-expectations-2.6.0.gem) = 61952
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-expectations/Makefile	2011-06-12 12:28:22.264149409 -0400
@@ -0,0 +1,24 @@
+# New ports collection makefile for:	rubygem-rspec-expectations
+# Date created:		2011-06-12
+# Whom:			Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	rspec-expectations
+PORTVERSION=	2.6.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Rspec-expectations adds should and should_not to every object
+
+BUILD_DEPENDS=	rubygem-diff-lcs>=0:${PORTSDIR}/textproc/rubygem-diff-lcs
+RUN_DEPENDS=	rubygem-diff-lcs>=0:${PORTSDIR}/textproc/rubygem-diff-lcs
+
+USE_RUBY=	yes
+USE_RAKE=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-expectations/pkg-descr	2011-06-12 12:34:13.711271064 -0400
@@ -0,0 +1,3 @@
+Rspec-expectations adds should and should_not to every object and includes RSpec::Matchers, a library of standard matchers.
+
+WWW:	https://github.com/rspec/rspec-expectations
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-mocks/pkg-descr	2011-06-12 12:34:45.375150118 -0400
@@ -0,0 +1,3 @@
+Rspec-mocks provides a test-double framework for rspec including support for method stubs, fakes, and message expectations.
+
+WWW:	https://github.com/rspec/rspec-mocks
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-mocks/Makefile	2011-06-12 12:26:57.377150670 -0400
@@ -0,0 +1,21 @@
+# New ports collection makefile for:	rubygem-rspec-mocks
+# Date created:		2011-06-12
+# Whom:			Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	rspec-mocks
+PORTVERSION=	2.6.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Rspec-mocks provides a test-double framework for rspec
+
+USE_RUBY=	yes
+USE_RAKE=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>
--- /dev/null	2011-06-12 12:41:09.000000000 -0400
+++ devel/rubygem-rspec-mocks/distinfo	2011-06-12 12:27:06.374146581 -0400
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rspec-mocks-2.6.0.gem) = 4bb704c8fcd857a1646ccbbfc131089d42c33abdf2382362bd81384672721690
+SIZE (rubygem/rspec-mocks-2.6.0.gem) = 49152


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106121646.p5CGkwTo004552>