Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 08:45:11 GMT
From:      Eric Freeman <freebsdports@chillibear.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150775: New port: devel/rubygem-deprecated2 (Legacy v2 of this lib to help deal with deprecated code)
Message-ID:  <201009210845.o8L8jBGe088332@www.freebsd.org>
Resent-Message-ID: <201009210850.o8L8o327092419@freefall.freebsd.org>

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

>Number:         150775
>Category:       ports
>Synopsis:       New port: devel/rubygem-deprecated2  (Legacy v2 of this lib to help deal with deprecated code)
>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:   Tue Sep 21 08:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eric Freeman
>Release:        7.2
>Organization:
>Environment:
FreeBSD localhost 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This new port is part of the fix for ports/147809

The rubygem-deprecated is a small library intended to aid developers working with deprecated code. The idea comes from the 'D' programming language, where developers can mark certain code as deprecated, and then allow/disallow the ability to execute deprecated code.

Version 3 of this library is already in ports (see devel/rubygem-deprecated), however it would appear from ports/147809 that the interface to the Gem changed significantly between v2 and v3 - one could say v2 was deprecated ;)

The ruby-dbi database interface makes us of the deprecated gem and breaks with v3 of the gem.  I will submit patches to ruby-dbi after this PR.
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rubygem-deprecated2
#	rubygem-deprecated2/Makefile
#	rubygem-deprecated2/distinfo
#	rubygem-deprecated2/pkg-descr
#
echo c - rubygem-deprecated2
mkdir -p rubygem-deprecated2 > /dev/null 2>&1
echo x - rubygem-deprecated2/Makefile
sed 's/^X//' >rubygem-deprecated2/Makefile << 'd00735c25095ee70968d8bfbb2e2c270'
X# New ports collection makefile for:	rubygem-deprecated
X# Date created:				20 Sept 2010
X# Whom:					Eric Freeman <freebsdports@chillibear.com>
X#
X# Created because the gem interface changed significantly with v3
X#
X# $FreeBSD$
X#
X
XPORTNAME=	deprecated
XPORTVERSION=	2.0.1
XCATEGORIES=	devel rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	ruby@FreeBSD.org
XCOMMENT=	Version 2 of this library intended to aid working with deprecated code
X
XLATEST_LINK?=	deprecated2
X
XUSE_RUBY=		yes
XUSE_RUBYGEMS=		yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
d00735c25095ee70968d8bfbb2e2c270
echo x - rubygem-deprecated2/distinfo
sed 's/^X//' >rubygem-deprecated2/distinfo << '06b9b0ca29115fb3c1b8d6848cfc40e0'
XMD5 (rubygem/deprecated-2.0.1.gem) = 238d298ae7113d28121f1a509e070924
XSHA256 (rubygem/deprecated-2.0.1.gem) = 5648e9f7a15760b661cc09f2f62f328c0f6428b033982a173a3c745eb9f1e79c
XSIZE (rubygem/deprecated-2.0.1.gem) = 6144
06b9b0ca29115fb3c1b8d6848cfc40e0
echo x - rubygem-deprecated2/pkg-descr
sed 's/^X//' >rubygem-deprecated2/pkg-descr << 'd0832bb601c06a64b3ed448fe94f1e6c'
Xrubygem-deprecated is a small library intended to aid developers working
Xwith deprecated code. The idea comes from the 'D' programming language,
Xwhere developers can mark certain code as deprecated, and then
Xallow/disallow the ability to execute deprecated code.
X
XThis is a legacy copy in ports of the 2.x series for compatibility with
Xsome other Ruby ports.
X
XWWW:	http://rubyforge.org/projects/deprecated/
d0832bb601c06a64b3ed448fe94f1e6c
exit

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



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