pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-dotenv Kdevel/ruby-dotenv: add package vers...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2924b8a57218
branches: trunk
changeset: 391387:2924b8a57218
user: taca <taca%pkgsrc.org@localhost>
date: Mon Jan 09 05:18:49 2023 +0000
description:
Kdevel/ruby-dotenv: add package version 2.8.1
Required by forthcoming sysutils/ruby-repofetch pacakge.
dotenv
Shim to load environment variables from .env into ENV in development.
Storing configuration in the environment is one of the tenets of a
twelve-factor app. Anything that is likely to change between
deployment environments -- such as resource handles for databases or
credentials for external services -- should be extracted from the code
into environment variables.
But it is not always practical to set environment variables on development
machines or continuous integration servers where multiple projects are run.
dotenv loads variables from a .env file into ENV when the environment is
bootstrapped.
diffstat:
devel/ruby-dotenv/ALTERNATIVES | 1 +
devel/ruby-dotenv/DESCR | 14 ++++++++++++++
devel/ruby-dotenv/Makefile | 16 ++++++++++++++++
devel/ruby-dotenv/PLIST | 18 ++++++++++++++++++
devel/ruby-dotenv/distinfo | 5 +++++
5 files changed, 54 insertions(+), 0 deletions(-)
diffs (74 lines):
diff -r 9ae0ce3a3c76 -r 2924b8a57218 devel/ruby-dotenv/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-dotenv/ALTERNATIVES Mon Jan 09 05:18:49 2023 +0000
@@ -0,0 +1,1 @@
+bin/dotenv @PREFIX@/bin/dotenv@RUBY_SUFFIX@
diff -r 9ae0ce3a3c76 -r 2924b8a57218 devel/ruby-dotenv/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-dotenv/DESCR Mon Jan 09 05:18:49 2023 +0000
@@ -0,0 +1,14 @@
+dotenv
+
+Shim to load environment variables from .env into ENV in development.
+
+Storing configuration in the environment is one of the tenets of a
+twelve-factor app. Anything that is likely to change between
+deployment environments -- such as resource handles for databases or
+credentials for external services -- should be extracted from the code
+into environment variables.
+
+But it is not always practical to set environment variables on development
+machines or continuous integration servers where multiple projects are run.
+dotenv loads variables from a .env file into ENV when the environment is
+bootstrapped.
diff -r 9ae0ce3a3c76 -r 2924b8a57218 devel/ruby-dotenv/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-dotenv/Makefile Mon Jan 09 05:18:49 2023 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.4 2023/01/09 05:18:49 taca Exp $
+
+DISTNAME= dotenv-2.8.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/bkeepers/dotenv
+COMMENT= Loads environment variables from .env
+LICENSE= mit
+
+USE_LANGUAGES= # empty
+
+RUBYGEM_OPTIONS+= --format-executable
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9ae0ce3a3c76 -r 2924b8a57218 devel/ruby-dotenv/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-dotenv/PLIST Mon Jan 09 05:18:49 2023 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.3 2023/01/09 05:18:49 taca Exp $
+bin/dotenv${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/bin/dotenv
+${GEM_LIBDIR}/lib/dotenv.rb
+${GEM_LIBDIR}/lib/dotenv/cli.rb
+${GEM_LIBDIR}/lib/dotenv/environment.rb
+${GEM_LIBDIR}/lib/dotenv/load.rb
+${GEM_LIBDIR}/lib/dotenv/missing_keys.rb
+${GEM_LIBDIR}/lib/dotenv/parser.rb
+${GEM_LIBDIR}/lib/dotenv/substitutions/command.rb
+${GEM_LIBDIR}/lib/dotenv/substitutions/variable.rb
+${GEM_LIBDIR}/lib/dotenv/tasks.rb
+${GEM_LIBDIR}/lib/dotenv/template.rb
+${GEM_LIBDIR}/lib/dotenv/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 9ae0ce3a3c76 -r 2924b8a57218 devel/ruby-dotenv/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-dotenv/distinfo Mon Jan 09 05:18:49 2023 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.5 2023/01/09 05:18:49 taca Exp $
+
+BLAKE2s (dotenv-2.8.1.gem) = 18068f4a834729a55b899362b1da68476aa41cfeb07791f2782a64e9e650e44d
+SHA512 (dotenv-2.8.1.gem) = 4f512d515ea17ab50b4c71bd15e6bc4e01c8ec1d98c2c0589aab992340626d2c7f1a7da25095d03ba0714b27d3845a306618e018c96099a043ba9b9ee2a27fc6
+Size (dotenv-2.8.1.gem) = 12800 bytes
Home |
Main Index |
Thread Index |
Old Index