From 4fc96e902ab0e76fbf400e3ba0814e9318213e5b Mon Sep 17 00:00:00 2001 From: he Date: Wed, 17 Dec 2008 01:45:44 +0000 Subject: Update from version 0.08nb1 to 0.12. Pkgsrc changes: o Canonicalize HOMEPAGE o Adjust dependencies to match the new requirements o Add substitution so that sqlite3 can be picked up by the tests Upstream changes: 0.12 22 Nov 2008 * add missing req in Makefile.PL * add IPC::Cmd dep so we can test for sqlite3 in tests 0.11 18 Nov 2008 * base controller no longer sets current_view * copy all static/css/crud/*.css files for CX::CRUD::YUI 0.008 0.10 29 Sept 2008 * added missing req to Makefile.PL 0.09 11 Sept 2008 * add real tests with example schema supplied by laust from #catalyst 0.09_05 27 Aug 2008 * fix UTF-8 encoding bug where JSON:XS utf8() flag was incorrectly set to 'on'. * move bulk of the code into smaller packages: CatalystX::CRUD::YUI Rose::HTMLx::Form::Related Rose::DBx::Object::MoreHelpers This refactoring means that DBIC users can use all the YUI interface and RHTMLO goodness as well. * changed the default root/ to 'crud' instead of 'rdgc' IF YOU ARE UPGRADING, you can symlink or rename rdgc => crud 0.09_04 11 Aug 2008 * update .tt and .pm files to support multi-column PKs 0.09_03 31 July 2008 * split up rdgc/footer.tt into yui_footer.tt * add default_sort_by() to Form::Metadata * toggle rowsPerPage via select popup * throw_error if !can_read in autocomplete() * support on* attributes for js in autocomplete * added RDGC::Excel for .xls output * refactor the takes_object_as_argument feature * link_panel now uses same YAHOO ResizePanel widget as addRowPanel * use double ;; in primary_key_uri_escaped() to match CatalystX::CRUD 0.28 0.09_02 30 June 2008 * several small bug fixes with .tt files * allow for related_field mapping at init time * fix autocomplete CSS 0.09_01 13 Jun 2008 * use column as label if not defined in form * add support for file upload fields in form.tt * add support for alternate relationship labels in base Form class * add support for alternate relationship labels in show_relationships.tt * tweek the base RDBO flatten() method * added pseudo_field_labels() method in Form base class * no 'remove' button if in view mode * fix bug in yui_datatable_count.tt where js was getting NaN values if there were no results. * add 'New' link for each related matrix in show_relationships.tt * complete refactor of all .tt code to move much of it into YUI and YUI::DataTable * complete refactor of all generated code to move much of it into real base classes and installed .tt --- databases/p5-Rose-DBx-Garden-Catalyst/Makefile | 28 +++++++++++++++++----- databases/p5-Rose-DBx-Garden-Catalyst/distinfo | 9 +++---- .../p5-Rose-DBx-Garden-Catalyst/patches/patch-aa | 13 ++++++++++ 3 files changed, 40 insertions(+), 10 deletions(-) create mode 100644 databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa (limited to 'databases/p5-Rose-DBx-Garden-Catalyst') diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/Makefile b/databases/p5-Rose-DBx-Garden-Catalyst/Makefile index dbca6ecdda4..4705120789a 100644 --- a/databases/p5-Rose-DBx-Garden-Catalyst/Makefile +++ b/databases/p5-Rose-DBx-Garden-Catalyst/Makefile @@ -1,18 +1,25 @@ -# $NetBSD: Makefile,v 1.2 2008/10/19 19:17:46 he Exp $ +# $NetBSD: Makefile,v 1.3 2008/12/17 01:45:44 he Exp $ -DISTNAME= Rose-DBx-Garden-Catalyst-0.08 +DISTNAME= Rose-DBx-Garden-Catalyst-0.12 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Rose/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://search.cpan.org/perldoc?Rose::DBx::Garden::Catalyst +HOMEPAGE= http://search.cpan.org/dist/Rose-DBx-Garden-Catalyst/ COMMENT= Create Catalyst components that use RDBO and RHTMLO +DEPENDS+= p5-Catalyst-Runtime>=5.7:../../www/p5-Catalyst-Runtime +DEPENDS+= p5-Catalyst-Plugin-ConfigLoader>=0:../../www/p5-Catalyst-Plugin-ConfigLoader +DEPENDS+= p5-Catalyst-Plugin-Static-Simple>=0:../../www/p5-Catalyst-Plugin-Static-Simple +DEPENDS+= p5-CatalystX-CRUD-YUI>=0.009:../../www/p5-CatalystX-CRUD-YUI + +DEPENDS+= p5-Rose-HTMLx-Form-Related>=0.12:../../www/p5-Rose-HTMLx-Form-Related +DEPENDS+= p5-Rose-DBx-Object-MoreHelpers>=0.06:../../databases/p5-Rose-DBx-Object-MoreHelpers +DEPENDS+= p5-Rose-DBx-AutoReconnect>=0:../../databases/p5-Rose-DBx-AutoReconnect +DEPENDS+= p5-Rose-DB-Object>=0.77:../../databases/p5-Rose-DB-Object DEPENDS+= p5-Rose-DBx-Garden>=0.11:../../databases/p5-Rose-DBx-Garden DEPENDS+= p5-YAML-Syck>=0:../../textproc/p5-YAML-Syck -DEPENDS+= p5-Catalyst-Runtime>=0:../../www/p5-Catalyst-Runtime DEPENDS+= p5-JSON>=>2.00:../../converters/p5-JSON DEPENDS+= p5-JSON-XS>=>2.00:../../converters/p5-JSON-XS DEPENDS+= p5-Data-Dump>=0:../../devel/p5-Data-Dump @@ -22,10 +29,19 @@ DEPENDS+= p5-Path-Class>=0:../../devel/p5-Path-Class DEPENDS+= p5-Template-Toolkit>=0:../../www/p5-Template-Toolkit DEPENDS+= p5-Catalyst-View-TT>=0:../../www/p5-Catalyst-View-TT DEPENDS+= p5-CatalystX-CRUD>=0:../../databases/p5-CatalystX-CRUD -DEPENDS+= p5-CatalystX-CRUD-Model-RDBO>=0.10:../../databases/p5-CatalystX-CRUD-Model-RDBO +DEPENDS+= p5-CatalystX-CRUD-Model-RDBO>=0.16:../../databases/p5-CatalystX-CRUD-Model-RDBO DEPENDS+= p5-CatalystX-CRUD-Controller-RHTMLO>=0.10:../../www/p5-CatalystX-CRUD-Controller-RHTMLO DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils +# For tests: +BUILD_DEPENDS+= sqlite3>=0:../../databases/sqlite3 + +SUBST_CLASSES+= sqlite3 +SUBST_MESSAGE.sqlite3= Fixing sqlite3-using test +SUBST_STAGE.sqlite3= post-configure +SUBST_FILES.sqlite3= t/lib/MyDB.pm +SUBST_SED.sqlite3= -e "s!system(\"sqlite3!system(\"${PREFIX}/bin/sqlite3!" + USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Rose/DBx/Garden/Catalyst/.packlist diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/distinfo b/databases/p5-Rose-DBx-Garden-Catalyst/distinfo index c498a001af3..b186b0aa2e6 100644 --- a/databases/p5-Rose-DBx-Garden-Catalyst/distinfo +++ b/databases/p5-Rose-DBx-Garden-Catalyst/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/07/15 09:14:31 abs Exp $ +$NetBSD: distinfo,v 1.2 2008/12/17 01:45:44 he Exp $ -SHA1 (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 4a3ce1865b3cb341e4db2b14e7e170f104b95e40 -RMD160 (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 2f8359138772de3c0284e5f44cbd0c4782552543 -Size (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 29849 bytes +SHA1 (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 4ff1bfd5402a8e60ff11e68f2fdc6d2ff50ccbe7 +RMD160 (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 792034129df64b843f6714737919cf753e240c7b +Size (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 18133 bytes +SHA1 (patch-aa) = 9e7581161ce7cc3dcfcbda89fb60a61f33609fc9 diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa b/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa new file mode 100644 index 00000000000..66061df294d --- /dev/null +++ b/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2008/12/17 01:45:44 he Exp $ + +--- t/lib/MyDB.pm.orig 2008-12-17 02:30:18.000000000 +0100 ++++ t/lib/MyDB.pm +@@ -27,7 +27,7 @@ $db = Path::Class::File->new( $base_pat + + # create the db if it does not yet exist + if ( !-s $db ) { +- system("sqlite3 $db < $sql") and die "can't create $db with $sql: $!"; ++ system("sqlite3 $db < $sql") or die "can't create $db with $sql: $!"; + } + + if ( !$db or !-s $db ) { -- cgit v1.2.3