From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/poltergeist: metadata.xml ChangeLog poltergeist-1.6.0.ebuild |
Date: | Sat, 04 Jul 2015 19:26:34 |
Message-Id: | 20150704192631.C7B9C751@oystercatcher.gentoo.org |
1 | graaff 15/07/04 19:26:31 |
2 | |
3 | Added: metadata.xml ChangeLog poltergeist-1.6.0.ebuild |
4 | Log: |
5 | Initial import from graaff overlay. New dependency for dev-ruby/best_in_place. |
6 | |
7 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/poltergeist/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>ruby</herd> |
21 | <upstream> |
22 | <remote-id type="github">jonleighton/poltergeist</remote-id> |
23 | </upstream> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 dev-ruby/poltergeist/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for dev-ruby/poltergeist |
36 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/poltergeist/ChangeLog,v 1.1 2015/07/04 19:26:31 graaff Exp $ |
38 | |
39 | *poltergeist-1.6.0 (04 Jul 2015) |
40 | |
41 | 04 Jul 2015; Hans de Graaff <graaff@g.o> +poltergeist-1.6.0.ebuild, |
42 | +metadata.xml: |
43 | Initial import from graaff overlay. New dependency for |
44 | dev-ruby/best_in_place. |
45 | |
46 | |
47 | |
48 | |
49 | 1.1 dev-ruby/poltergeist/poltergeist-1.6.0.ebuild |
50 | |
51 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/poltergeist-1.6.0.ebuild?rev=1.1&view=markup |
52 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/poltergeist/poltergeist-1.6.0.ebuild?rev=1.1&content-type=text/plain |
53 | |
54 | Index: poltergeist-1.6.0.ebuild |
55 | =================================================================== |
56 | # Copyright 1999-2015 Gentoo Foundation |
57 | # Distributed under the terms of the GNU General Public License v2 |
58 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/poltergeist/poltergeist-1.6.0.ebuild,v 1.1 2015/07/04 19:26:31 graaff Exp $ |
59 | |
60 | EAPI=5 |
61 | USE_RUBY="ruby19 ruby20 ruby21" |
62 | |
63 | # There are tests but they require several unpackaged dependencies. |
64 | RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
65 | |
66 | RUBY_FAKEGEM_TASK_DOC="" |
67 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
68 | |
69 | RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
70 | |
71 | inherit ruby-fakegem |
72 | |
73 | DESCRIPTION="A PhantomJS driver for Capybara" |
74 | HOMEPAGE="https://github.com/jonleighton/poltergeist" |
75 | SRC_URI="https://github.com/jonleighton/poltergeist/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
76 | |
77 | LICENSE="MIT" |
78 | SLOT="0" |
79 | KEYWORDS="~amd64" |
80 | IUSE="" |
81 | |
82 | ruby_add_rdepend ">=dev-ruby/cliver-0.3.1 |
83 | dev-ruby/multi_json |
84 | >=dev-ruby/capybara-2.1 |
85 | >=dev-ruby/websocket-driver-0.2.0" |
86 | |
87 | all_ruby_prepare() { |
88 | # Fix cliver versioning to accept all 0.x versions |
89 | sed -i -e 's/0.3.1/0.3/' ${RUBY_FAKEGEM_GEMSPEC} || die |
90 | |
91 | sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die |
92 | |
93 | # Remove integration tests for now since they require additional dependencies. |
94 | rm -rf spec/integration |
95 | } |