diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/travis | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/travis')
-rw-r--r-- | dev-ruby/travis/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/travis/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/travis/travis-1.8.8.ebuild | 57 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-ruby/travis/Manifest b/dev-ruby/travis/Manifest new file mode 100644 index 000000000000..833fb22a38e7 --- /dev/null +++ b/dev-ruby/travis/Manifest @@ -0,0 +1,3 @@ +DIST travis-1.8.8.gem 192512 BLAKE2B 6671b4c8b2e3ea0b374f523e8089fd8f0bb60b0d03e0ba387138c7df926565dfe4bfa7e04926d3dfe0514a9ad6d660ba4c182c947dd605ef30f73275730cddbc SHA512 f4fca2278de7263a0f4889c64dd6f78927355eece73cc600e704d0bebba2efaf86f78b8d608c0859d83c33f04b7fde47f33a4b6307d7799ff312705b40c7d563 +EBUILD travis-1.8.8.ebuild 1184 BLAKE2B 4d165a322934900fe64012e9cb088a542412ad560d6ff80881f473c8e55166832c66e78e76d772ee3f845b405ebc4bd22b9cdbc9edc2a14ef258fc9f39078d8c SHA512 8f1a024d6a0fa0350844db8bf66ae7a204aca6f53068950fdfd128128ead60194fea3e85329488f487d9a451bdd602ea7ffd1461521884bfe83045db01805bb1 +MISC metadata.xml 335 BLAKE2B 028a3eb98175d899ca2cb4412a35af5c9d9e1dbe43a1065346c7a529087790e3e3482fe7aa489ee4803f7ddff115bb654c62d865957fe80cce7952d316e7bb30 SHA512 2706c228bc0da2e813ab70918226cf82561b8f3f7c186ce5c97a7d74237e2448029bc0ee74b18295996a0c3d09107e7453cfff8257aff91def14ef30468919fa diff --git a/dev-ruby/travis/metadata.xml b/dev-ruby/travis/metadata.xml new file mode 100644 index 000000000000..3fb523c30fc0 --- /dev/null +++ b/dev-ruby/travis/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">travis-ci/travis.rb</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/travis/travis-1.8.8.ebuild b/dev-ruby/travis/travis-1.8.8.ebuild new file mode 100644 index 000000000000..4e300eecdaf4 --- /dev/null +++ b/dev-ruby/travis/travis-1.8.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Travis CI Client (CLI and Ruby library)" +HOMEPAGE="https://github.com/travis-ci/travis.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +#RESTRICT="test" + +DEPEND+="test? ( dev-vcs/git )" +RDEPEND+="dev-vcs/git" + +ruby_add_bdepend " + test? ( >dev-ruby/rack-test-0.6 ) + >dev-ruby/sinatra-1.3 +" + +ruby_add_rdepend " + dev-ruby/backports + >dev-ruby/faraday-0.9 + >=dev-ruby/faraday_middleware-0.9.1 + >dev-ruby/gh-0.13 + >dev-ruby/highline-1.6 + >dev-ruby/launchy-2.1 + >dev-ruby/pusher-client-0.4 + dev-ruby/typhoeus:0 +" + +all_ruby_prepare() { + if use test ; then + git init --quiet . || die + git remote add origin "${HOMEPAGE}" || die + touch .travis.yml || die + fi + + # Remove failing spec where cause is not fully clear. + # May be related to highline compatibility issues. + rm spec/cli/login_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + newbashcomp "assets/travis.sh" "travis" +} |