svn commit: r543008 - in head/databases: . p5-SQL-Abstract-Classic

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Jul 24 07:07:49 UTC 2020


Author: sunpoet
Date: Fri Jul 24 07:07:48 2020
New Revision: 543008
URL: https://svnweb.freebsd.org/changeset/ports/543008

Log:
  Add p5-SQL-Abstract-Classic 1.91
  
  SQL::Abstract::Classic was inspired by the excellent DBIx::Abstract. However, in
  using that module I found that what I really wanted to do was generate SQL, but
  still retain complete control over my statement handles and use the DBI
  interface. So, I set out to create an abstract SQL generation module.
  
  While based on the concepts used by DBIx::Abstract, there are several important
  differences, especially when it comes to WHERE clauses. I have modified the
  concepts used to make the SQL easier to generate from Perl data structures and,
  IMO, more intuitive. The underlying idea is for this module to do what you mean,
  based on the data structures you provide it. The big advantage is that you don't
  have to modify your code every time your data changes, as this module figures it
  out.
  
  WWW: https://metacpan.org/release/SQL-Abstract-Classic

Added:
  head/databases/p5-SQL-Abstract-Classic/
  head/databases/p5-SQL-Abstract-Classic/Makefile   (contents, props changed)
  head/databases/p5-SQL-Abstract-Classic/distinfo   (contents, props changed)
  head/databases/p5-SQL-Abstract-Classic/pkg-descr   (contents, props changed)
  head/databases/p5-SQL-Abstract-Classic/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Fri Jul 24 07:07:25 2020	(r543007)
+++ head/databases/Makefile	Fri Jul 24 07:07:48 2020	(r543008)
@@ -472,6 +472,7 @@
     SUBDIR += p5-Rose-DBx-Object-MoreHelpers
     SUBDIR += p5-Rose-DBx-Object-Renderer
     SUBDIR += p5-SQL-Abstract
+    SUBDIR += p5-SQL-Abstract-Classic
     SUBDIR += p5-SQL-Abstract-Limit
     SUBDIR += p5-SQL-Abstract-More
     SUBDIR += p5-SQL-Abstract-Plugin-InsertMulti

Added: head/databases/p5-SQL-Abstract-Classic/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-SQL-Abstract-Classic/Makefile	Fri Jul 24 07:07:48 2020	(r543008)
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	SQL-Abstract-Classic
+PORTVERSION=	1.91
+CATEGORIES=	databases perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Generate SQL from Perl data structures
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-MRO-Compat>=0.12:devel/p5-MRO-Compat \
+		p5-SQL-Abstract>=1.79:databases/p5-SQL-Abstract
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/databases/p5-SQL-Abstract-Classic/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-SQL-Abstract-Classic/distinfo	Fri Jul 24 07:07:48 2020	(r543008)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595416503
+SHA256 (SQL-Abstract-Classic-1.91.tar.gz) = 4e3d1dfd095b2123268586bb06b86929ea571388d4e941acccbdcda1e108ef28
+SIZE (SQL-Abstract-Classic-1.91.tar.gz) = 78466

Added: head/databases/p5-SQL-Abstract-Classic/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-SQL-Abstract-Classic/pkg-descr	Fri Jul 24 07:07:48 2020	(r543008)
@@ -0,0 +1,14 @@
+SQL::Abstract::Classic was inspired by the excellent DBIx::Abstract. However, in
+using that module I found that what I really wanted to do was generate SQL, but
+still retain complete control over my statement handles and use the DBI
+interface. So, I set out to create an abstract SQL generation module.
+
+While based on the concepts used by DBIx::Abstract, there are several important
+differences, especially when it comes to WHERE clauses. I have modified the
+concepts used to make the SQL easier to generate from Perl data structures and,
+IMO, more intuitive. The underlying idea is for this module to do what you mean,
+based on the data structures you provide it. The big advantage is that you don't
+have to modify your code every time your data changes, as this module figures it
+out.
+
+WWW: https://metacpan.org/release/SQL-Abstract-Classic

Added: head/databases/p5-SQL-Abstract-Classic/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-SQL-Abstract-Classic/pkg-plist	Fri Jul 24 07:07:48 2020	(r543008)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/SQL/Abstract/Classic.pm
+%%SITE_PERL%%/SQL/Abstract/Util.pm
+%%PERL5_MAN3%%/SQL::Abstract::Classic.3.gz
+%%PERL5_MAN3%%/SQL::Abstract::Util.3.gz


More information about the svn-ports-all mailing list