diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-10-15 11:50:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-10-15 11:50:56 +0200 |
commit | a03a3c3381e23c54ea07648d2b77a7a0a2cea738 (patch) | |
tree | 441f2f31ba3e3f258149e993f2cbfbe6bc654b7b | |
parent | dev-python/pypy: Drop old (diff) | |
download | gentoo-a03a3c33.tar.gz gentoo-a03a3c33.tar.bz2 gentoo-a03a3c33.zip |
dev-ruby/sinatra-partial: initial import of 1.0.1 for infra archives frontend
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r-- | dev-ruby/sinatra-partial/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sinatra-partial/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild | 30 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/sinatra-partial/Manifest b/dev-ruby/sinatra-partial/Manifest new file mode 100644 index 000000000000..c2486dec91d5 --- /dev/null +++ b/dev-ruby/sinatra-partial/Manifest @@ -0,0 +1 @@ +DIST sinatra-partial-1.0.1.gem 16384 SHA256 205ac4dfd3d427c88ec21b72ac49b3d38f03c599a1d81be60881178fb5b79f3f SHA512 04fb0826cdc9f6d8ce6ae8d80a9eafb3b0b37136fcecfb3f5e45a1bac101dac0486168473ff66de75979a5153d4efbdce17b63d774f5ddcd0e7fa251df0da1bd WHIRLPOOL 4a2c483d374016189261c7185fb8e6cc33c845cd9bc1ed5851da677cc514ea3b027b99e0c1cbdc639524e348a140eceadac3b276992feab3d419c831bb22a613 diff --git a/dev-ruby/sinatra-partial/metadata.xml b/dev-ruby/sinatra-partial/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/sinatra-partial/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild new file mode 100644 index 000000000000..85cf4bfcb40a --- /dev/null +++ b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.markdown README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Just the partials helper in a gem" +HOMEPAGE="https://github.com/yb66/Sinatra-Partial" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/sinatra-1.4" + +ruby_add_bdepend "test? ( dev-ruby/haml dev-ruby/rack-test dev-ruby/rspec-its dev-ruby/timecop )" + +all_ruby_prepare() { + # Use a rack version consistent with sinatra + sed -i -e '2igem "rack", "~>1.0"' \ + -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} |