From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D6A1138331 for ; Sat, 14 Apr 2018 06:48:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BE7AE08CE; Sat, 14 Apr 2018 06:48:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B89BE0827 for ; Sat, 14 Apr 2018 06:48:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9752335C2E for ; Sat, 14 Apr 2018 06:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 659A5230 for ; Sat, 14 Apr 2018 06:48:16 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1523688480.5cd8c7f185c935ec74ec1682ec63bc94881cd0ec.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/dotenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/dotenv/Manifest dev-ruby/dotenv/dotenv-2.2.2.ebuild X-VCS-Directories: dev-ruby/dotenv/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5cd8c7f185c935ec74ec1682ec63bc94881cd0ec X-VCS-Branch: master Date: Sat, 14 Apr 2018 06:48:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7aaccca3-9bc8-493e-bd6a-4e22d257a140 X-Archives-Hash: b3b7b5f1fb0f5717b7170508ec9ef8fb commit: 5cd8c7f185c935ec74ec1682ec63bc94881cd0ec Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 14 06:23:34 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 14 06:48:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd8c7f1 dev-ruby/dotenv: add 2.2.2 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/dotenv/Manifest | 1 + dev-ruby/dotenv/dotenv-2.2.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest index 8fc01f7507e..4fa8cf6dbe9 100644 --- a/dev-ruby/dotenv/Manifest +++ b/dev-ruby/dotenv/Manifest @@ -1 +1,2 @@ DIST dotenv-2.2.1.tar.gz 15855 BLAKE2B c970fbd30e3c616b9426f4f758e47c81cf54887de0a11560f4ed3aabda6b1b83f49849775d129658d3a2eb6ecdfe4fbea670d0a63443954ac1d53177125a895b SHA512 67e9cc5323d505f0b5a5a1278d0ce6c72a577fc096508b5a6de7b73f3c0fa2ca8144475783ab2b9ef04cf44d6e57ddb8e09f849c44729f7bb7c4bb7156baa443 +DIST dotenv-2.2.2.tar.gz 15856 BLAKE2B e27a2650c79aadb31545c3a02d698f5cc3c9e27ddf07aa853a1f776b467f3cb707dda4ee3a0c107fbeb4a5609ded993ab74c81721cab088239858c28bd8e3ded SHA512 6af4039cec9c4c85240dc01eee5e24cac6b762e2fcb0d371bbde4cf03743e1917436664d2ea2e59fa619fddce96c9d3848354d42c3a621556cb120ed1cd0cf2b diff --git a/dev-ruby/dotenv/dotenv-2.2.2.ebuild b/dev-ruby/dotenv/dotenv-2.2.2.ebuild new file mode 100644 index 00000000000..f7b383c5017 --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +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 ~arm ~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 +}