Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 14:21:55 -0600 (MDT)
From:      "Aaron Dalton" <aaron@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98236: Update Port: devel/p5-Class-AutoClass 0.09->1.01
Message-ID:  <200605312021.k4VKLtbt005339@moondance.itsy-bitsy.net>
Resent-Message-ID: <200605312030.k4VKUCXZ073092@freefall.freebsd.org>

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

>Number:         98236
>Category:       ports
>Synopsis:       Update Port: devel/p5-Class-AutoClass 0.09->1.01
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 31 20:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.itsy-bitsy.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
- Updated from v0.09 to v1.01
- Updated pkg-plist
- Update Makefile and pkg-descr to reflect vendor's change of distname
- Restricted to Perl 5.8 instead of Perl 5.6 due to unresolved errors with 
'make test.'  Hopefully this restriction will be lifted soon.

0.091 Mon Apr 18 09:22:47 PDT 2005
	- removed Data::Dumper dependency
	- removed versions from dependencies in Makefil.PL
0.092 Tue May 31 17:40:32 PDT 2005
	- changed AutoDB require in AutoClass.pm to AutoDB::Object (bug: 
utility classes were forced to 'use Class::AutoDB::Object'
	- changed prereq syntax in Makefile.pl to just check for lib 
existance
0.093 Tue Oct 25 16:02:24 PDT 2005
	- new override capability (for returning an instance of another 
object) and tests to cover new functionality
	- added nullable functionality, so that an AutoClass object can 
return undef
0.1   Wed Jan  4 15:05:53 PST 2006
	- initialization strategy changed. instead of init'ing class by 
class down the hierarchy, it's now done all at once
	- fixed many bugs in default initialization
	- set_attributes always calls setter method
	- added check for super classes not yet 'used'.  caution: this 
only works if people follow the Perl convention of placing module Foo in 
file Foo.pm.  Else, there's no easy way to translate a classname into a 
string that can be 'used'
	- fixed bug to auto-register subclasses that did not set %AUTODB 
>How-To-Repeat:
	
>Fix:

	

--- submission.txt begins here ---
? submission.txt
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Class-AutoClass/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1 Dec 2004 12:00:23 -0000	1.2
+++ Makefile	31 May 2006 20:20:26 -0000
@@ -1,4 +1,3 @@
-# vim:ts=8
 # New ports collection makefile for:	p5-Class-AutoClass
 # Date created:				25 November 2004
 # Whom:					Fernan Aguero <fernan@iib.unsam.edu.ar>
@@ -7,19 +6,37 @@
 #
 
 PORTNAME=	Class-AutoClass
-PORTVERSION=	0.09
+PORTVERSION=	1.01
 CATEGORIES=	devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Class
+MASTER_SITE_SUBDIR=	../../authors/id/C/CC/CCAVNOR
 PKGNAMEPREFIX=	p5-
+DISTNAME=	autoclass_v1_01
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	fernan@iib.unsam.edu.ar
-COMMENT=	Automatically define simple get and set methods in an inheritance structure
+COMMENT=	Auto-define simple get and set methods in an inheritance structure
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
+RUN_DEPENDS=	${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		${SITE_PERL}/Test/Deep.pm:${PORTSDIR}/devel/p5-Test-Deep
 
 PERL_CONFIGURE=	yes
+WRKSRC=		${WRKDIR}/AutoClass
 
-MAN3=		Class::AutoClass::Root.3 Class::AutoClass.3 Class::AutoClass::Args.3
+MAN3=	Class::AutoClass.3 \
+	Class::AutoClass::Args.3 \
+	Class::AutoClass::Root.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.if ${PERL_LEVEL} < 500800
+IGNORE=	currently only supports Perl 5.8+.  This will hopefully change.  For now, please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Class-AutoClass/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	22 Jan 2006 08:28:44 -0000	1.2
+++ distinfo	31 May 2006 20:20:26 -0000
@@ -1,3 +1,3 @@
-MD5 (Class-AutoClass-0.09.tar.gz) = cf18b2614abb488c709ae62ea3796ff6
-SHA256 (Class-AutoClass-0.09.tar.gz) = 5b234e6656c599d749bb20154bb7c974fb0a9fa4cfe3b6e39ded38528f504dc5
-SIZE (Class-AutoClass-0.09.tar.gz) = 16738
+MD5 (autoclass_v1_01.tgz) = 5f04fa29d6cd01b4d1b707ed79edb8e6
+SHA256 (autoclass_v1_01.tgz) = a1b89d90e468fdd70ccba928b8aac68430aeaee890915da5e09ef091d2ebcf36
+SIZE (autoclass_v1_01.tgz) = 32115
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Class-AutoClass/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	26 Nov 2004 00:58:23 -0000	1.1
+++ pkg-descr	31 May 2006 20:20:26 -0000
@@ -4,3 +4,7 @@
 	initilaization, 
   - object initialization is handled correctly (in top-down order), even
 	in the presence of multiple inheritance
+
+WWW: http://search.cpan.org/dist/autoclass
+Authors: Christopher Cavnor <ccavnor@systemsbiology.net>
+         Nat Goodman <natg@shore.net>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Class-AutoClass/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	22 Jan 2006 01:47:05 -0000	1.2
+++ pkg-plist	31 May 2006 20:20:27 -0000
@@ -1,7 +1,7 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/AutoClass/.packlist
 %%SITE_PERL%%/Class/AutoClass.pm
-%%SITE_PERL%%/Class/AutoClass/Root.pm
 %%SITE_PERL%%/Class/AutoClass/Args.pm
+%%SITE_PERL%%/Class/AutoClass/Root.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/AutoClass/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/AutoClass
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
 @dirrm %%SITE_PERL%%/Class/AutoClass
--- submission.txt ends here ---


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



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