FreeBSD Bugzilla – Attachment 39032 Details for
Bug 61633
New Port: databases/p5-T2, Object Relational mapping system.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
p5-T2.shar
p5-T2.shar (text/plain), 3.86 KB, created by
Scott McWhirter
on 2004-01-20 15:00:33 UTC
(
hide
)
Description:
p5-T2.shar
Filename:
MIME Type:
Creator:
Scott McWhirter
Created:
2004-01-20 15:00:33 UTC
Size:
3.86 KB
patch
obsolete
># 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: ># ># p5-T2 ># p5-T2/distinfo ># p5-T2/pkg-descr ># p5-T2/Makefile ># p5-T2/files ># p5-T2/files/patch-Makefile.PL ># p5-T2/pkg-plist ># >echo c - p5-T2 >mkdir -p p5-T2 > /dev/null 2>&1 >echo x - p5-T2/distinfo >sed 's/^X//' >p5-T2/distinfo << 'END-of-p5-T2/distinfo' >XMD5 (T2-0.06.tar.gz) = ee1ef478629ffb1bbb690a0391141a8a >END-of-p5-T2/distinfo >echo x - p5-T2/pkg-descr >sed 's/^X//' >p5-T2/pkg-descr << 'END-of-p5-T2/pkg-descr' >XThe T2 module is a base for the refactoring of the now quite stable >XTangram Object-Relational mapper. >X >XIn a nutshell, it lets you store objects - which have to be described to a >Xsimilar level that you would describe a database to store them - into any >XSQL store. Currently, this is tested on PostgreSQL, MySQL, Oracle and >XSybase a lot, though in general database-specific extensions to SQL, such >Xas triggers, stored procedures, etc are avoided. So, if DBI installs and >Xtests successfully with your database, there is a good chance that T2 will >Xwork with it too. >X >XThe only current requirement is that objects that have tables associated >Xwith them are implemented via hashes. You also have to be able to describe >Xall of the fields for those root objects. Individual fields of stored >Xobjects may be arbitrarily complex. >X >XIf you are familiar with DBI, it is somewhat similar to bless'ing the >Xstructures returned by $dbh->fetchrow_hashref, except that references and >Xcollections to other objects in the store are loaded `on demand' (aka >XLazy-loading). >X >XWWW: http://search.cpan.org/dist/T2/ >END-of-p5-T2/pkg-descr >echo x - p5-T2/Makefile >sed 's/^X//' >p5-T2/Makefile << 'END-of-p5-T2/Makefile' >X# New ports collection makefile for: p5-T2 >X# Date created: 19 January 2004 >X# Whom: Scott McWhirter <scott@surreytech.co.uk> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= T2 >XPORTVERSION= 0.06 >XCATEGORIES= databases perl5 >XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} >XMASTER_SITE_SUBDIR= Tangram/SAMV >XPKGNAMEPREFIX= p5- >X >XMAINTAINER= scott@surreytech.co.uk >XCOMMENT= Object Relational mapping system >X >XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object \ >X ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ >X ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ >X ${SITE_PERL}/Tangram.pm:${PORTSDIR}/databases/p5-Tangram \ >X ${SITE_PERL}/Class/Tangram.pm:${PORTSDIR}/devel/p5-Class-Tangram >XRUN_DEPENDS= ${BUILD_DEPENDS} >X >XPERL_CONFIGURE= yes >X >XMAN3= T2.3 T2::Association.3 T2::Attribute.3 T2::Class.3 \ >X T2::Schema.3 T2::Storage.3 >X >X >X.include <bsd.port.mk> >END-of-p5-T2/Makefile >echo c - p5-T2/files >mkdir -p p5-T2/files > /dev/null 2>&1 >echo x - p5-T2/files/patch-Makefile.PL >sed 's/^X//' >p5-T2/files/patch-Makefile.PL << 'END-of-p5-T2/files/patch-Makefile.PL' >X--- Makefile.PL.orig Mon Apr 8 15:33:42 2002 >X+++ Makefile.PL Mon Apr 8 15:35:06 2002 >X@@ -24,7 +24,7 @@ >X print q{Do you plan to run the regression tests? >X (you will need to set up an *EMPTY* database)}; >X >X-goto NOTESTS unless yes(); >X+goto NOTESTS; >X >X my $configured; >X >END-of-p5-T2/files/patch-Makefile.PL >echo x - p5-T2/pkg-plist >sed 's/^X//' >p5-T2/pkg-plist << 'END-of-p5-T2/pkg-plist' >Xbin/t2-db-info.pl >Xbin/t2-fsck-schema.pl >Xbin/t2-migrate-db.pl >Xbin/t2-write-js.pl >Xlib/perl5/site_perl/5.8.2/T2.pm >Xlib/perl5/site_perl/5.8.2/T2/Association.pm >Xlib/perl5/site_perl/5.8.2/T2/Attribute.pm >Xlib/perl5/site_perl/5.8.2/T2/Class.pm >Xlib/perl5/site_perl/5.8.2/T2/Method.pm >Xlib/perl5/site_perl/5.8.2/T2/Schema.pm >Xlib/perl5/site_perl/5.8.2/T2/Storage.pm >Xlib/perl5/site_perl/5.8.2/mach/auto/T2/.packlist >X@dirrm lib/perl5/site_perl/5.8.2/mach/auto/T2 >X@dirrm lib/perl5/site_perl/5.8.2/T2 >END-of-p5-T2/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 61633
: 39032