pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/ruby-gdbm-gem



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jan 16 13:23:06 UTC 2022

Added Files:
        pkgsrc/databases/ruby-gdbm-gem: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ruby-gdbm-gem/DESCR \
    pkgsrc/databases/ruby-gdbm-gem/Makefile \
    pkgsrc/databases/ruby-gdbm-gem/PLIST \
    pkgsrc/databases/ruby-gdbm-gem/distinfo

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

Added files:

Index: pkgsrc/databases/ruby-gdbm-gem/DESCR
diff -u /dev/null pkgsrc/databases/ruby-gdbm-gem/DESCR:1.1
--- /dev/null   Sun Jan 16 13:23:06 2022
+++ pkgsrc/databases/ruby-gdbm-gem/DESCR        Sun Jan 16 13:23:06 2022
@@ -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.
Index: pkgsrc/databases/ruby-gdbm-gem/Makefile
diff -u /dev/null pkgsrc/databases/ruby-gdbm-gem/Makefile:1.1
--- /dev/null   Sun Jan 16 13:23:06 2022
+++ pkgsrc/databases/ruby-gdbm-gem/Makefile     Sun Jan 16 13:23:06 2022
@@ -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"
Index: pkgsrc/databases/ruby-gdbm-gem/PLIST
diff -u /dev/null pkgsrc/databases/ruby-gdbm-gem/PLIST:1.1
--- /dev/null   Sun Jan 16 13:23:06 2022
+++ pkgsrc/databases/ruby-gdbm-gem/PLIST        Sun Jan 16 13:23:06 2022
@@ -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
Index: pkgsrc/databases/ruby-gdbm-gem/distinfo
diff -u /dev/null pkgsrc/databases/ruby-gdbm-gem/distinfo:1.1
--- /dev/null   Sun Jan 16 13:23:06 2022
+++ pkgsrc/databases/ruby-gdbm-gem/distinfo     Sun Jan 16 13:23:06 2022
@@ -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