diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-03-27 07:40:51 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-03-27 07:40:51 +0100 |
commit | bb8102b18b7cf5d2cf7a85983a192956008e5f44 (patch) | |
tree | c89a4549718aded27632aac9fd46b6b1277608ab /dev-ruby/dotenv | |
parent | net-mail/mailbase: add myself as maintainer (diff) | |
download | gentoo-bb8102b18b7cf5d2cf7a85983a192956008e5f44.tar.gz gentoo-bb8102b18b7cf5d2cf7a85983a192956008e5f44.tar.bz2 gentoo-bb8102b18b7cf5d2cf7a85983a192956008e5f44.zip |
dev-ruby/dotenv: add 2.7.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r-- | dev-ruby/dotenv/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dotenv/dotenv-2.7.2.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest index 06829a5c709e..2ec2d9229552 100644 --- a/dev-ruby/dotenv/Manifest +++ b/dev-ruby/dotenv/Manifest @@ -1,3 +1,4 @@ DIST dotenv-2.5.0.tar.gz 17188 BLAKE2B 8d6adc9c137cef5f60462167b995e89f341c6d4d384cbf84c51eceb930f29e72da6e1c57044cd1a11c3043b829b75d9dd20d883ea13f4ecdff7a4c18ec17d4d9 SHA512 cea71aa801f6e79aaeb2cd6f33af16d3b548c97112a13f5638acf6eb12c73a434c4c3d89a08d074ffc589d6fa4e77534feb6c1cee9b7290b2acc6520637ccf18 DIST dotenv-2.7.0.tar.gz 18771 BLAKE2B 65fccfcaeda4020e7a1ad338fd2eb38949d14772f9834b12f9ac6112e0172c80e247804ab251e5d198fdafa1d65e297190090d44b5c45a7e3c4d942e76c265ed SHA512 650d36dc9e48384b347717c05522cb9da84695b37bfedbd2c7e3b9fa36185aecc5865533fe9a77487c56ce6e6b227284207772c1f886b37ade2c918b8b8fed67 DIST dotenv-2.7.1.tar.gz 19248 BLAKE2B ad718a2213ddb87fe137a0de84e460b0c10415903dae239ab92af506072e25d6217a0bf5d94ed622835d91dd22cfde9c84f14555e83efbc0d95ec2301ff64058 SHA512 fac0d58c3d4f6b5eecec4773e670e6d63d76f5623aa9b591181369b5fe2ab1be51f6c44d2362fc86be745f965ea0042b7c9c01450441fdb68ed96c46d7fb963c +DIST dotenv-2.7.2.tar.gz 19028 BLAKE2B 0119b52ae884f2a129f1c805b1da923872e4bfa4e80eb6b3e49fd875bf803925d372b630981a06ad18e2c20d1094ce8bb317043c7e934fb463b7cf338b16e8f5 SHA512 97c9f499244155fdc245f80167936e9ce30e32fd23dfef81147ee91df4622fa7d454081f5d823116a9472664d12858d5b87897148936da3a69961f459e4183f8 diff --git a/dev-ruby/dotenv/dotenv-2.7.2.ebuild b/dev-ruby/dotenv/dotenv-2.7.2.ebuild new file mode 100644 index 000000000000..f4d2a225eb25 --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.7.2.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="ruby23 ruby24 ruby25" + +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 +} |