From 33e202f03d38deda04628f8c18ebe4869327a2a9 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Sat, 5 Dec 2020 20:41:30 +0000 Subject: [PATCH] Update databases/p5-SQL-Statement to 1.414 --- databases/p5-SQL-Statement/Makefile | 14 +++++++------- databases/p5-SQL-Statement/distinfo | 4 ++-- databases/p5-SQL-Statement/pkg/DESCR | 24 +++++++++++++++++++----- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/databases/p5-SQL-Statement/Makefile b/databases/p5-SQL-Statement/Makefile index 86fb9227035..4250716f323 100644 --- a/databases/p5-SQL-Statement/Makefile +++ b/databases/p5-SQL-Statement/Makefile @@ -1,27 +1,27 @@ -# $OpenBSD: Makefile,v 1.21 2020/07/03 21:44:38 sthen Exp $ +# $OpenBSD: Makefile,v 1.22 2020/12/05 20:41:30 afresh1 Exp $ COMMENT = SQL parsing and processing engine MODULES = cpan PKG_ARCH = * -DISTNAME = SQL-Statement-1.412 +DISTNAME = SQL-Statement-1.414 CATEGORIES = databases -REVISION = 0 -MAINTAINER = Andrew Fresh +MAINTAINER = Andrew Hewus Fresh -# perl_5 +# Perl PERMIT_PACKAGE = Yes RUN_DEPENDS = devel/p5-Clone>=0.30 \ devel/p5-Module-Runtime \ - devel/p5-Params-Util>=1.00 + devel/p5-Params-Util>=1.0 # An optional run dependency but makes one function work RUN_DEPENDS += devel/p5-Math-Base-Convert TEST_DEPENDS = devel/p5-Math-Base-Convert \ - devel/p5-Test-Deep + devel/p5-Test-Deep \ + textproc/p5-Text-Soundex>=3.04 .include diff --git a/databases/p5-SQL-Statement/distinfo b/databases/p5-SQL-Statement/distinfo index a79b707f6f4..cc217b4cd15 100644 --- a/databases/p5-SQL-Statement/distinfo +++ b/databases/p5-SQL-Statement/distinfo @@ -1,2 +1,2 @@ -SHA256 (SQL-Statement-1.412.tar.gz) = ZchwiDN5wRtT8Z6tEKqsJBzMhqkLurd/Y3b+dQcg5cg= -SIZE (SQL-Statement-1.412.tar.gz) = 154608 +SHA256 (SQL-Statement-1.414.tar.gz) = 3ei9z6ahNu7doGUZug8++uwIXDnbDfnEctwOxs14Gkk= +SIZE (SQL-Statement-1.414.tar.gz) = 159512 diff --git a/databases/p5-SQL-Statement/pkg/DESCR b/databases/p5-SQL-Statement/pkg/DESCR index 00d23e2bce6..582cc3418c3 100644 --- a/databases/p5-SQL-Statement/pkg/DESCR +++ b/databases/p5-SQL-Statement/pkg/DESCR @@ -1,5 +1,19 @@ -The SQL::Statement module implements a small, abstract SQL engine. By -parsing an SQL query you create an SQL::Statement instance. This instance -offers methods for retrieving syntax, for WHERE clause and statement -evaluation. The implementation is designed to work with the DBI driver -DBD::CSV, and should be easily extensible. +The SQL::Statement module implements a pure Perl SQL parsing and +execution engine. While it by no means implements full ANSI standard, +it does support many features including column and table aliases, +built-in and user-defined functions, implicit and explicit joins, +complex nested search conditions, and other features. + +SQL::Statement is a small embeddable Database Management System +(DBMS). This means that it provides all of the services of a simple +DBMS except that instead of a persistent storage mechanism, it has +two things: 1) an in-memory storage mechanism that allows you to +prepare, execute, and fetch from SQL statements using temporary +tables and 2) a set of software sockets where any author can plug +in any storage mechanism. + +There are three main uses for SQL::Statement. One or another +(hopefully not all) may be irrelevant for your needs: 1) to access +and manipulate data in CSV, XML, and other formats 2) to build your +own DBD for a new data source 3) to parse and examine the structure +of SQL statements.