diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-04-11 06:52:04 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-04-11 07:12:06 +0200 |
commit | 77ef8424477b50261f6293104d342a92f3a254b2 (patch) | |
tree | b6c54615552f35275e8336403e5af201b61a6084 /dev-ruby/patron | |
parent | media-libs/exiftool: version bump to 10.14 (diff) | |
download | gentoo-77ef8424477b50261f6293104d342a92f3a254b2.tar.gz gentoo-77ef8424477b50261f6293104d342a92f3a254b2.tar.bz2 gentoo-77ef8424477b50261f6293104d342a92f3a254b2.zip |
dev-ruby/patron: add 0.6.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/patron')
-rw-r--r-- | dev-ruby/patron/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/patron/patron-0.6.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest index b9ee895c0467..4648bba797c0 100644 --- a/dev-ruby/patron/Manifest +++ b/dev-ruby/patron/Manifest @@ -2,3 +2,4 @@ DIST patron-0.4.18.gem 35840 SHA256 700ffba09ea854bc26fdde08998d8310ed59b0721098 DIST patron-0.4.20.gem 42496 SHA256 eb1782f38f280a9975fc97435920c29fd10a0c2e05b6f7a7549652ffbf92af71 SHA512 78cb97e7d7a35fb97ed7da4c767937a543c1f979c7dd1dff0d3b055024b37aa50238163af4680ba464a28523c0f5879f0d6e372276774dfdac726a5493c202e5 WHIRLPOOL a4158ac99edd2d302e59420be6d75b368e9d9d04ecd9b5051a53eb22639f3f32fa541061f28444cb716deab906c3055ddbc26c4f5289fa0c00c134517ac9ffdd DIST patron-0.5.0.gem 44032 SHA256 6abf431b05f560afc8c479685bb3869797522290777a1ae8510ef5c8b3208c63 SHA512 84c4cbb4ebeac3a9320915b35e4afefda5637f1bed96e83b8c2345dfd08ba02e07806b13a87c5067dd842ccddb67928c7f60889687676c0683d4e09373d8c2a7 WHIRLPOOL df34adeb59ea45d5d84a6ad1aef3e0fbf4781720443be2ba37450ddf2e51ac3b2c969bb2798fe78bb476cde79f4ccc3d3c1f6511a20dc2deda5a750ec9d03139 DIST patron-0.5.1.gem 45056 SHA256 45776b937ee788343ce4d24817460138989b1a65ad9d8d87130cf8804133444e SHA512 d47549ae1712f25e0d15bc2e1e32de6ad3084da4f0149013c4cf50dd92ccb7c01024831ef6df7c4acb78ed3923cde95e3f36a5ef8430d3f103ebb7f5906dd0fd WHIRLPOOL b766263104b67ad1ba9009e101ac027e509ed017f0b93461d8f4c9f51b8b5586dc4da080b1685b72bad837bf690ea02f709fab7a76dddd11f7450ea0e8994fca +DIST patron-0.6.0.gem 45568 SHA256 af7c51bd680ad0965ff20d5742579f3f985b4ed8e3a6ecd9b2f4976753ee1eb1 SHA512 5dba0cd4945389b50b747ebc0797b4c1c2d9a1adae6565d9228a72700b15720f9252b4e78c6e52c66159139d0ec621bb3f343e5856bdde05686e019e45ddb30a WHIRLPOOL c8fcf8c8e966f52c739193f6e34eb674f36cf2fb000245ff08be4f2f22306cc9c09a225b584bf851528e1987540b306173a035c26f5d4b6b34a2d16bd50dc918 diff --git a/dev-ruby/patron/patron-0.6.0.ebuild b/dev-ruby/patron/patron-0.6.0.ebuild new file mode 100644 index 000000000000..623eee2a3b70 --- /dev/null +++ b/dev-ruby/patron/patron-0.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://toland.github.com/patron/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/patron extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/patron V=1 + cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file" +} |