pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/ruby-gdbm-gem databases/ruby-gdbm-gem: add p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d195418a5ed4
branches:  trunk
changeset: 371896:d195418a5ed4
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 16 13:23:06 2022 +0000

description:
databases/ruby-gdbm-gem: add package version 2.1.0

Add gdbm gem as ruby-gdbm-gem package version 2.1.0.

Note:

* Ruby 2.6 contains gdbm 2.0.0.
* Ruby 2.7 and Ruby 3.0 contains gdbm 2.1.0, but no conflict.
* Ruby 3.1 dose not contain gdbm.


GDBM

GNU dbm is a library for simple databases.  A database is a file that stores
key-value pairs.  Gdbm allows the user to store, retrieve, and delete data
by key.  It furthermore allows a non-sorted traversal of all key-value
pairs.  A gdbm database thus provides the same functionality as a hash.  As
with objects of the Hash class, elements can be accessed with [].
Furthermore, GDBM mixes in the Enumerable module, thus providing convenient
methods such as #find, #collect, #map, etc.

A process is allowed to open several different databases at the same time.
A process can open a database as a "reader" or a "writer".  Whereas a reader
has only read-access to the database, a writer has read- and write-access.
A database can be accessed either by any number of readers or by exactly one
writer at the same time.

diffstat:

 databases/ruby-gdbm-gem/DESCR    |  15 +++++++++++++++
 databases/ruby-gdbm-gem/Makefile |  14 ++++++++++++++
 databases/ruby-gdbm-gem/PLIST    |   8 ++++++++
 databases/ruby-gdbm-gem/distinfo |   5 +++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r bb6fa85a843e -r d195418a5ed4 databases/ruby-gdbm-gem/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-gdbm-gem/DESCR     Sun Jan 16 13:23:06 2022 +0000
@@ -0,0 +1,15 @@
+GDBM
+
+GNU dbm is a library for simple databases.  A database is a file that stores
+key-value pairs.  Gdbm allows the user to store, retrieve, and delete data
+by key.  It furthermore allows a non-sorted traversal of all key-value
+pairs.  A gdbm database thus provides the same functionality as a hash.  As
+with objects of the Hash class, elements can be accessed with [].
+Furthermore, GDBM mixes in the Enumerable module, thus providing convenient
+methods such as #find, #collect, #map, etc.
+
+A process is allowed to open several different databases at the same time.
+A process can open a database as a "reader" or a "writer".  Whereas a reader
+has only read-access to the database, a writer has read- and write-access.
+A database can be accessed either by any number of readers or by exactly one
+writer at the same time.
diff -r bb6fa85a843e -r d195418a5ed4 databases/ruby-gdbm-gem/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-gdbm-gem/Makefile  Sun Jan 16 13:23:06 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2022/01/16 13:23:06 taca Exp $
+
+DISTNAME=      gdbm-2.1.0
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/gdbm/gdbm-gem/}
+CATEGORIES=    databases
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ruby/gdbm
+COMMENT=       Ruby extension for GNU dbm
+LICENSE=       2-clause-bsd
+
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bb6fa85a843e -r d195418a5ed4 databases/ruby-gdbm-gem/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-gdbm-gem/PLIST     Sun Jan 16 13:23:06 2022 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/16 13:23:06 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gdbm.${RUBY_DLEXT}
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_LIBDIR}/ext/gdbm/extconf.rb
+${GEM_LIBDIR}/ext/gdbm/gdbm.c
+${GEM_LIBDIR}/lib/gdbm.${RUBY_DLEXT}
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r bb6fa85a843e -r d195418a5ed4 databases/ruby-gdbm-gem/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-gdbm-gem/distinfo  Sun Jan 16 13:23:06 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/16 13:23:06 taca Exp $
+
+BLAKE2s (gdbm-2.1.0.gem) = b286c87493b52a73900d8cd9dbcd7a29cea3ef71a15812326377520e1879b85a
+SHA512 (gdbm-2.1.0.gem) = 155dabd9ed795e481dd7df0dad0ad7ac8b2cc5b14b37f5c5b17a8e601a8d366cab0f79f919a6a6df615d879b230306bd4b416f5b8be1c966256e1d8be38bcba9
+Size (gdbm-2.1.0.gem) = 11264 bytes



Home | Main Index | Thread Index | Old Index