pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

p5-DBIx-Class-ResultSet-RecursiveUpdate: new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Sep 7 20:48:43 2020 +0200
Changeset:	3762664b8b2a69f1713fdb0fc00f94c534455361

Modified Files:
	Makefile
Added Files:
	p5-DBIx-Class-ResultSet-RecursiveUpdate/DESCR
	p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile
	p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo

Log Message:
p5-DBIx-Class-ResultSet-RecursiveUpdate: new package

You can feed the ->create method of DBIx::Class with a recursive
datastructure and have the related records created. Unfortunately
you cannot do a similar thing with update_or_create. This module
tries to fill that void until DBIx::Class has an api itself.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3762664b8b2a69f1713fdb0fc00f94c534455361

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                         |  5 ++--
 p5-DBIx-Class-ResultSet-RecursiveUpdate/DESCR    |  4 +++
 p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile | 31 ++++++++++++++++++++++++
 p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo |  6 +++++
 4 files changed, 44 insertions(+), 2 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 8d323d2a4c..e98beffa34 100644
--- a/Makefile
+++ b/Makefile
@@ -146,6 +146,7 @@ SUBDIR+=	ap2-auth-pam
 SUBDIR+=	ap2-evasive
 SUBDIR+=	ap2-jk2
 SUBDIR+=	ap2-macro
+SUBDIR+=	ap2-mpm-itk
 SUBDIR+=	ap2-passenger
 SUBDIR+=	ap2-zeroconf
 SUBDIR+=	apache-commons-beanutils
@@ -2123,7 +2124,6 @@ SUBDIR+=	mat
 SUBDIR+=	matanza
 SUBDIR+=	mathopd
 SUBDIR+=	matiec-hg
-SUBDIR+=	matrix-synapse
 SUBDIR+=	mattermost-server
 SUBDIR+=	mawk-libc
 SUBDIR+=	mawk-onig
@@ -2596,6 +2596,7 @@ SUBDIR+=	p5-Class-Date
 SUBDIR+=	p5-Config-YAML
 SUBDIR+=	p5-Crypt-CAST5
 SUBDIR+=	p5-Crypt-Serpent
+SUBDIR+=	p5-DBIx-Class-ResultSet-RecursiveUpdate
 SUBDIR+=	p5-DBIx-Easy
 SUBDIR+=	p5-DBIx-Simple
 SUBDIR+=	p5-Dancer-Plugin-Database
@@ -5009,8 +5010,8 @@ SUBDIR+=	xalan-c
 SUBDIR+=	xalan-c-1.10
 SUBDIR+=	xapps
 SUBDIR+=	xar
-SUBDIR+=	xargon-git
 SUBDIR+=	xaralx-bin
+SUBDIR+=	xargon-git
 SUBDIR+=	xbase
 SUBDIR+=	xbelmark
 SUBDIR+=	xbnbt
diff --git a/p5-DBIx-Class-ResultSet-RecursiveUpdate/DESCR b/p5-DBIx-Class-ResultSet-RecursiveUpdate/DESCR
new file mode 100644
index 0000000000..a994927eb0
--- /dev/null
+++ b/p5-DBIx-Class-ResultSet-RecursiveUpdate/DESCR
@@ -0,0 +1,4 @@
+You can feed the ->create method of DBIx::Class with a recursive
+datastructure and have the related records created. Unfortunately
+you cannot do a similar thing with update_or_create. This module
+tries to fill that void until DBIx::Class has an api itself.
diff --git a/p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile b/p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile
new file mode 100644
index 0000000000..cb8fc060db
--- /dev/null
+++ b/p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.20 2020/08/31 18:07:02 wiz Exp $
+
+DISTNAME=	DBIx-Class-ResultSet-RecursiveUpdate-0.42
+PKGNAME=	p5-${DISTNAME}
+CATEGORIES=	databases perl5
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=DBIx/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://metacpan.org/pod/DBIx-Class-ResultSet-RecursiveUpdate
+COMMENT=	Like update_or_create - but recursive
+LICENSE=	${PERL5_LICENSE}
+
+DEPENDS+=	p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
+DEPENDS+=	p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
+DEPENDS+=	p5-DBIx-Class-[0-9]*:../../databases/p5-DBIx-Class
+DEPENDS+=	p5-DBIx-Class-IntrospectableM2M-[0-9]*:../../databases/p5-DBIx-Class-IntrospectableM2M
+DEPENDS+=	p5-Data-Dumper-Concise-[0-9]*:../../devel/p5-Data-Dumper-Concise
+DEPENDS+=	p5-DateTime-[0-9]*:../../time/p5-DateTime
+DEPENDS+=	p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+DEPENDS+=	p5-SQL-Translator-[0-9]*:../../databases/p5-SQL-Translator
+#TEST_DEPENDS+=	p5-Test-DBIC-ExpectedQueries-[0-9]*:../../devel/p5-Test-DBIC-ExpectedQueries
+TEST_DEPENDS+=	p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+TEST_DEPENDS+=	p5-Test-Trap-[0-9]*:../../devel/p5-Test-Trap
+TEST_DEPENDS+=	p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
+TEST_DEPENDS+=	p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
+
+USE_LANGUAGES=	# empty
+PERL5_PACKLIST=	auto/DBIx/Class/ResultSet/RecursiveUpdate/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo b/p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo
new file mode 100644
index 0000000000..3caeec5b36
--- /dev/null
+++ b/p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2016/02/27 07:39:37 wen Exp $
+
+SHA1 (DBIx-Class-ResultSet-RecursiveUpdate-0.42.tar.gz) = f4b3943873b73d0ce8fd2084d5d7568492c9b4d0
+RMD160 (DBIx-Class-ResultSet-RecursiveUpdate-0.42.tar.gz) = 8214a6624a9ff65931d2eedb0f7d39a7632a006d
+SHA512 (DBIx-Class-ResultSet-RecursiveUpdate-0.42.tar.gz) = 4ff07e0d36102081459aec74191a05d3a741d98b5fc14aca46057fa0a1b604ae9eec8e329ae785e76223bf79e8ecdf6fcebfcf865a2e10eb7fa9b2a27ef0b346
+Size (DBIx-Class-ResultSet-RecursiveUpdate-0.42.tar.gz) = 84068 bytes


Home | Main Index | Thread Index | Old Index