diff options
author | taca <taca@pkgsrc.org> | 2022-01-16 13:23:06 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2022-01-16 13:23:06 +0000 |
commit | f63a61bb91cc056937db0687f24b38f02b8f01cc (patch) | |
tree | 0aec02d00d57380801b2ffc91820a985686d6a36 /databases/ruby-gdbm-gem | |
parent | 43b8cd2b053198eaaaa924fe535be5917dcf8bef (diff) | |
download | pkgsrc-f63a61bb91cc056937db0687f24b38f02b8f01cc.tar.gz |
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 (limited to 'databases/ruby-gdbm-gem')
-rw-r--r-- | databases/ruby-gdbm-gem/DESCR | 15 | ||||
-rw-r--r-- | databases/ruby-gdbm-gem/Makefile | 14 | ||||
-rw-r--r-- | databases/ruby-gdbm-gem/PLIST | 8 | ||||
-rw-r--r-- | databases/ruby-gdbm-gem/distinfo | 5 |
4 files changed, 42 insertions, 0 deletions
diff --git a/databases/ruby-gdbm-gem/DESCR b/databases/ruby-gdbm-gem/DESCR new file mode 100644 index 00000000000..44f50ed1077 --- /dev/null +++ b/databases/ruby-gdbm-gem/DESCR @@ -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 --git a/databases/ruby-gdbm-gem/Makefile b/databases/ruby-gdbm-gem/Makefile new file mode 100644 index 00000000000..70552e32ff2 --- /dev/null +++ b/databases/ruby-gdbm-gem/Makefile @@ -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 +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 --git a/databases/ruby-gdbm-gem/PLIST b/databases/ruby-gdbm-gem/PLIST new file mode 100644 index 00000000000..04a5a7841aa --- /dev/null +++ b/databases/ruby-gdbm-gem/PLIST @@ -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 --git a/databases/ruby-gdbm-gem/distinfo b/databases/ruby-gdbm-gem/distinfo new file mode 100644 index 00000000000..ab41002401e --- /dev/null +++ b/databases/ruby-gdbm-gem/distinfo @@ -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 |