summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-06-23 21:05:57 +0200
committerHans de Graaff <graaff@gentoo.org>2019-06-23 21:05:57 +0200
commit74cdd62f3c917437054abfd01ce24ea1b9163d42 (patch)
tree80ea7d4f4d6df98913f623b64cc9b2b041c6b065 /dev-ruby/dotenv
parentdev-util/qbs: add missing deps with USE=test (diff)
downloadgentoo-74cdd62f3c917437054abfd01ce24ea1b9163d42.tar.gz
gentoo-74cdd62f3c917437054abfd01ce24ea1b9163d42.tar.bz2
gentoo-74cdd62f3c917437054abfd01ce24ea1b9163d42.zip
dev-ruby/dotenv: add 2.7.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r--dev-ruby/dotenv/Manifest1
-rw-r--r--dev-ruby/dotenv/dotenv-2.7.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest
index 4ab6674f300b..9897a12d41d1 100644
--- a/dev-ruby/dotenv/Manifest
+++ b/dev-ruby/dotenv/Manifest
@@ -1,2 +1,3 @@
DIST dotenv-2.7.1.tar.gz 19248 BLAKE2B ad718a2213ddb87fe137a0de84e460b0c10415903dae239ab92af506072e25d6217a0bf5d94ed622835d91dd22cfde9c84f14555e83efbc0d95ec2301ff64058 SHA512 fac0d58c3d4f6b5eecec4773e670e6d63d76f5623aa9b591181369b5fe2ab1be51f6c44d2362fc86be745f965ea0042b7c9c01450441fdb68ed96c46d7fb963c
DIST dotenv-2.7.2.tar.gz 19028 BLAKE2B 0119b52ae884f2a129f1c805b1da923872e4bfa4e80eb6b3e49fd875bf803925d372b630981a06ad18e2c20d1094ce8bb317043c7e934fb463b7cf338b16e8f5 SHA512 97c9f499244155fdc245f80167936e9ce30e32fd23dfef81147ee91df4622fa7d454081f5d823116a9472664d12858d5b87897148936da3a69961f459e4183f8
+DIST dotenv-2.7.3.tar.gz 19765 BLAKE2B 65f4171c8304c207ea94bd31ce2b63ae786d4794c538260ee8aa1ad8714fc1736a193febdee1299b62b82066e72be0000dffbff69a272ed94c19922bd6fc15f6 SHA512 0ac46b4c037c4d5a6e9517c7c39a4fc0f52a5a7f153602007196f6929f8be05678186a227046195fabfa4e59e6099d626f436da66041ae30c46ed062c7c5c33a
diff --git a/dev-ruby/dotenv/dotenv-2.7.3.ebuild b/dev-ruby/dotenv/dotenv-2.7.3.ebuild
new file mode 100644
index 000000000000..2485712a4bad
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Loads environment variables from .env into ENV"
+HOMEPAGE="https://github.com/bkeepers/dotenv"
+SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="2"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )"
+
+all_ruby_prepare() {
+ sed -i -e '/:guard/,/end/ s:^:#:' \
+ -e '5igem "rspec", "~> 3.0"' Gemfile || die
+
+ sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die
+}
+
+each_ruby_prepare() {
+ sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
+}