pkgsrc/databases/p5-ORLite/Makefile

32 lines
1.1 KiB
Makefile
Raw Normal View History

2017-06-12 14:01:13 +02:00
# $NetBSD: Makefile,v 1.23 2017/06/12 12:01:13 maya Exp $
DISTNAME= ORLite-1.98
PKGNAME= p5-${DISTNAME}
PKGREVISION= 5
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/A/AD/ADAMK/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/ORLite/
COMMENT= Perl 5 extremely light weight SQLite-specific ORM
LICENSE= ${PERL5_LICENSE}
BUILD_DEPENDS+= p5-Test-Script>=1.06:../../devel/p5-Test-Script
Updating databases/p5-ORLite from 0.31 to 0.40 pkgsrc changes: - Adjust dependenies Upstream changes: 1.40 Mon 1 Fed 2010 - Fixed backwards test skipping logic 1.39 Fri 29 Jan 2010 - Typo in the tests, they now run >= instead of > 1.05 1.38 Thu 28 Jan 2010 - When using array => 1 on classes that we can create, add a ->set method for setting parameters in the object safely. 1.37 Thu 28 Jan 2010 - Adding experimental support for the array => 1 option. 1.36 Wed 27 Jan 2010 - Rolled back the Template::Tiny conversion as it ended up slowing down the code generation too much. I shall struggle on under the old method. 1.35 Wed 27 Jan 2010 - Adding experimental support for accelerated XS accessors using Class::XSAccessor. ORLite itself will not introduce a dependency on this module, consumers of this feature will need to do it themselves. 1.34 Tue 26 Jan 2010 - Major Change: Moved code generation from raw string appending to using Template::Tiny instead. This will enable some new and more complex improvements to the generated code. - Added tests for the cleanup code. 1.33 Sun 24 Jan 2010 - When in the Perl debugger and on Perl 5.8.9 or newer, use the $^P | 0800 in preference to dval (and always use it even when $DEBUG is off). 1.32 Fri 15 Jan 2010 - Each generated class now cleans up its own persistant connection, rather than allowing it to fall through to the deeper DBI cleanup. - To allow for persistant connections to readonly database, we now always built transaction support for all databases. However, for readonly databases we do not build the commit method and you may only use the rollback method to end them. - Significantly expanded the Pod documentation to provide documentation on all of the import options. - Add support for a cleanup option to import, which is single explicit statement to be called on the database when the process is shutting down. This should typically be used ensure that a SQLite database is VACUUM'ed regularly (and at a time when it hopefully won't impact the user much).
2010-02-02 23:11:49 +01:00
DEPENDS+= p5-DBD-SQLite>=1.27:../../databases/p5-DBD-SQLite
#DEPENDS+= {perl>=5.12.0,p5-File-Path>=2.08}:../../devel/p5-File-Path
DEPENDS+= p5-File-Remove>=1.40:../../sysutils/p5-File-Remove
#DEPENDS+= {perl>=5.10.1,p5-File-Temp>=0.20}:../../devel/p5-File-Temp
Updating package for CPAN module ORLite in databases/p5-ORLite from 1.51nb1 to 1.97. pkgsrc changes: - fix dependencies upstream changes: 1.97 Mon 21 May 2012 - Use reproducible longdouble in tests (HMBRAND) 1.96 Mon 27 Feb 2012 - Fixed a crash in the legacy delete emulation where the condition clause provided was a constant or read-only. 1.95 Mon 27 Feb 2012 - Fixed a fatal rowid big when generating in array mode 1.94 Mon 27 Feb 2012 - Fixed a fatal rowid bug when a table had a single non-INTEGER primary key. - Fixed bug in affinity detection code to now set REAL and NUMERIC affinity correctly. 1.93 Mon 27 Feb 2012 - The previous release 1.92 was done with a missing commit, this release restores that missing code. 1.92 Mon 27 Feb 2012 - Add the ->delete_where method for bulk deletion - Always do the initial metadata scan using ReadOnly => 1. - When generating readonly, DBI connections use ReadOnly => 1 too. - Quote identifiers more correctly via $dbh->quote_identifier. - Temporarily restory the static delete call to prevent breaking Padre and other applications still using the old version of delete. 1.91 Thu 23 Feb 2012 - Calculate column affinity types in the metadata preparation phase - Throw an exception when tables contain BLOB types and the database is unicode, as the blob data will be corrupted. - Improved testing for blobs and unicode, and TODO a known problem 1.90 Tue 21 Feb 2012 - Removed x_rowid parameter and make the rowid logic compulsory. - Removed x_update parameter and make update method compulsory at the table level but do not generate on the root level. - As a result, ORLite now supports creating and updating objects even when they come from tables without primary keys. - Pending release as 2.00 once clarifying documentation is written. 1.54 Tue 21 Feb 2012 - Added experimental x_rowid parameter to maintain SQLite rowids in the objects 1.53 Tue 21 Feb 2012 - Add a ->id convenience method alias when table 'foo' has a single numeric primary key 'foo_id' so you can use $foo->id 1.52 Sat 21 Jan 2012 - Added initial unicode => 1 support (MEMOWE) - Bumped Params::Util dependency to 1.0 for *LIKE fixes (ADAMK)
2012-09-11 10:48:11 +02:00
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.607
2017-06-12 14:01:13 +02:00
USE_LANGUAGES= # empty
MAKE_ENV+= PERL_USE_UNSAFE_INC=1
PERL5_PACKLIST= auto/ORLite/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"