commit: 3b60c2319faaca49f7ffcb32a5258b4f4ff17985 Author: Hans de Graaff <hans <AT> degraaff <DOT> org> AuthorDate: Tue Jul 29 13:22:57 2014 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Jul 29 13:22:57 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=3b60c231
Initial import. Package-Manager: portage-2.2.8-r1 --- dev-ruby/pipedrive-ruby/ChangeLog | 10 +++++ dev-ruby/pipedrive-ruby/Manifest | 1 + dev-ruby/pipedrive-ruby/metadata.xml | 5 +++ .../pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild | 46 ++++++++++++++++++++++ 4 files changed, 62 insertions(+) diff --git a/dev-ruby/pipedrive-ruby/ChangeLog b/dev-ruby/pipedrive-ruby/ChangeLog new file mode 100644 index 0000000..32c8649 --- /dev/null +++ b/dev-ruby/pipedrive-ruby/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/pipedrive-ruby +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*pipedrive-ruby-0.3.3 (29 Jul 2014) + + 29 Jul 2014; Hans de Graaff <gra...@gentoo.org> +pipedrive-ruby-0.3.3.ebuild, + +metadata.xml: + Initial import. + diff --git a/dev-ruby/pipedrive-ruby/Manifest b/dev-ruby/pipedrive-ruby/Manifest new file mode 100644 index 0000000..402861e --- /dev/null +++ b/dev-ruby/pipedrive-ruby/Manifest @@ -0,0 +1 @@ +DIST pipedrive-ruby-0.3.3.gem 12288 SHA256 230479c6e7cfa4a9da8c347dd25fd8d6d28a3b326de7fdbaab5cb208052cdc0b SHA512 9b0c9f53997fc7c9b903a9c53f5d36dd5e8b999a1ed341260e4c240419ff955b4dc5609e47368aaf4f5baed0370448dd420e8ba7827e18f5d0027241f8475784 WHIRLPOOL aa89915f48009bffe2aea41bf4838ba1a9d60d0d9d1d26d0c63ec089d92e8062a9bf0bcfa8382e8e10f5bbb71427b878d077e348679c30ef9fe5171f8eed0f55 diff --git a/dev-ruby/pipedrive-ruby/metadata.xml b/dev-ruby/pipedrive-ruby/metadata.xml new file mode 100644 index 0000000..f977299 --- /dev/null +++ b/dev-ruby/pipedrive-ruby/metadata.xml @@ -0,0 +1,5 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>gra...@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild b/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild new file mode 100644 index 0000000..6f6b891 --- /dev/null +++ b/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper for the LinkedIn API" +HOMEPAGE="http://github.com/hexgnu/linkedin" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/httparty + >=dev-ruby/json-1.7.7 + >=dev-ruby/multi_xml-0.5.2 +" + +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 dev-ruby/shoulda +)" + +all_ruby_prepare() { + # Remove test dependencies that should not be runtime dependencies + # https://github.com/GeneralScripting/pipedrive-ruby/issues/19 + sed -e '/\(coveralls\|webmock\)/ s:^:#:' -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/coverall/I s:^:#:' \ + -e '/^begin/,/^end/ s:^:#:' -i test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S testrb-2 test/test_*.rb || die +}