summaryrefslogtreecommitdiff
path: root/dev-ruby/dotenv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/dotenv
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r--dev-ruby/dotenv/Manifest5
-rw-r--r--dev-ruby/dotenv/dotenv-2.2.1.ebuild35
-rw-r--r--dev-ruby/dotenv/metadata.xml11
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest
new file mode 100644
index 000000000000..440a206e85de
--- /dev/null
+++ b/dev-ruby/dotenv/Manifest
@@ -0,0 +1,5 @@
+DIST dotenv-2.2.1.tar.gz 15855 SHA256 cc816c6697d860063c4a4cd703d46dcea382eebbdad903ac52acd9947bbf30c0 SHA512 67e9cc5323d505f0b5a5a1278d0ce6c72a577fc096508b5a6de7b73f3c0fa2ca8144475783ab2b9ef04cf44d6e57ddb8e09f849c44729f7bb7c4bb7156baa443 WHIRLPOOL 7c16cf43ef8e97ce4d0106e68a15b38795965b09b322bf971cba31af0415aa76bcf18ce7ccf545d5378e83a653a9ca80a477dc298a32f712ea24e8048e8a4661
+EBUILD dotenv-2.2.1.ebuild 998 SHA256 d7d17701aa98e8dbe675e63a750403fd3efdfa8115ecea4bf60f84b8ecd64e09 SHA512 a40f45e36638d5ca35255cf7219ed5a623499542705da68e806bc58900746cb9f1e07f1fa7c9feb0d97ffff511645638164d7fc0de44735fd407cb5fb7fb0497 WHIRLPOOL 9b5fd8e4b96430a073af3147eb3e46998a9adf55406718c0256b9941d7a64776e97676cb660f18a9ae82f99e3eda132dcb44c4da91fa90a3732f3585f6558ba3
+MISC ChangeLog 3601 SHA256 aacd1d75b69cfbf57c624ac57156bfc123df1a6da9ad4cf3154effa2a472d79e SHA512 5530753b250615e8c64eea69e8cffb4b6da4a5a4ccdad6192c97c54a6ed38f759a4487afcf539397d83fc841a9264921cd4ac4f521af96bfe5d0654ac93844a3 WHIRLPOOL 957dba217fea93b53262d95e1b6397f7665fcf53a7c73c5ed802323441ed35148444118c52a6daf6df1f74fca4e4dd96210af90c129ad4a4b6ad70215f14028f
+MISC ChangeLog-2015 1404 SHA256 29e7fbb1cd945336a2affd3b00c3ba9cc13a8e8048d7db4194d27a58ffe65e4c SHA512 55ba3b8e9bfd512e9598dc3e46e7333a9b768884a8f2ad1f1edd7b5748c5eefd3118921e3ebea1a351ba92f35279e307ee81fdfd0bddc668bda5ed9cfe473a94 WHIRLPOOL 024e1f339add70da2f30692fe8339ff49fcf335619bcbc3f51b3552a5b20535a23ed326b0603bc62e61369b4c526621c259260cf9e6099f673cb2c59f3192260
+MISC metadata.xml 341 SHA256 ceddd921f7cc92c69a540b9e3f5900aaee7425ab9f7065d25615458ce6a2af95 SHA512 72e21e93099953f1946b486fa8acdbd0b85ed139ef34d4ad9c7e3e89e2924ec598a662f72210d52efdb4cc2ed676962fc6d50c560b4b9c8a4ec849d75d5be2dc WHIRLPOOL f7b59c2d58233c637a3b51f29f5de834b1a10a8e27c55301d37b7dca65e28508ec19ba5dd7e1e1d59eff6b428b9a79183fac5312854daa5097bcf2a0790a0447
diff --git a/dev-ruby/dotenv/dotenv-2.2.1.ebuild b/dev-ruby/dotenv/dotenv-2.2.1.ebuild
new file mode 100644
index 000000000000..59c46d8b7038
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.2.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23"
+
+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-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
+}
diff --git a/dev-ruby/dotenv/metadata.xml b/dev-ruby/dotenv/metadata.xml
new file mode 100644
index 000000000000..5097a46b27a4
--- /dev/null
+++ b/dev-ruby/dotenv/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bkeepers/dotenv</remote-id>
+ </upstream>
+</pkgmetadata>