summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-31 11:33:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-31 11:33:35 +0000
commit2d7bd060512518cffbbac19d938e36ac91ee5426 (patch)
treeb6e2b788c23bb2ef0c24e592bf5d5ecb126b938b /dev-ruby/httparty
parentAdd prefix keywords, change EAPI to 3. (diff)
downloadhistorical-2d7bd060512518cffbbac19d938e36ac91ee5426.tar.gz
historical-2d7bd060512518cffbbac19d938e36ac91ee5426.tar.bz2
historical-2d7bd060512518cffbbac19d938e36ac91ee5426.zip
Version bump, port to fakegem ppc and x86 need to re-keyword crack for this to work.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/httparty')
-rw-r--r--dev-ruby/httparty/ChangeLog9
-rw-r--r--dev-ruby/httparty/Manifest12
-rw-r--r--dev-ruby/httparty/httparty-0.5.1.ebuild60
3 files changed, 75 insertions, 6 deletions
diff --git a/dev-ruby/httparty/ChangeLog b/dev-ruby/httparty/ChangeLog
index a5ffef6fc08d..76c5ab6a99d8 100644
--- a/dev-ruby/httparty/ChangeLog
+++ b/dev-ruby/httparty/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/httparty
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/ChangeLog,v 1.10 2010/01/10 08:58:16 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/ChangeLog,v 1.11 2010/01/31 11:33:35 flameeyes Exp $
+
+*httparty-0.5.1 (31 Jan 2010)
+
+ 31 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +httparty-0.5.1.ebuild:
+ Version bump, port to fakegem ppc and x86 need to re-keyword crack for
+ this to work.
10 Jan 2010; Hans de Graaff <graaff@gentoo.org> -httparty-0.4.3.ebuild,
-httparty-0.4.4.ebuild:
diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest
index 181a81f316b8..9202bc4f04aa 100644
--- a/dev-ruby/httparty/Manifest
+++ b/dev-ruby/httparty/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST httparty-0.4.5.gem 40448 RMD160 9094b515346567b3d9760df77955727b56fbc3bd SHA1 a475040ee767bc4e7a94c43f65a0d17216dbcde8 SHA256 72e93eb5d6832bb0700848e7a1a713f93fc5aa94547d3c53a3332a8449aab16a
+DIST httparty-0.5.1.gem 46592 RMD160 3010b3c4731356762574a572fda8f693097848a3 SHA1 b416498dc0e19beea87e7ee7ce887d379a7c95cc SHA256 043920f2ae1f70b51908d018ecc83557441737c63f368978f77eefe16013d762
EBUILD httparty-0.4.5.ebuild 492 RMD160 422a58c880c960ab59652095bfaf388897ed9872 SHA1 3249c5109f92f74d3b31a58afc464a26aeee4540 SHA256 8329455a302aae677da14213539b5688e635b11ada37940d6ac30a64efd533db
-MISC ChangeLog 1510 RMD160 f82b51fa33ff48d7a47172050c899a6e7a92925b SHA1 9aff446522b3ff4e05331a69c598d46625f0f403 SHA256 0894ada68b2b329b72e585fd06d98afde697abdaf658d4a6c7a2a31ed0686c9a
+EBUILD httparty-0.5.1.ebuild 1516 RMD160 e3c9926b87e8c9335fe31b258da67b72de5361d4 SHA1 0aef8c3cc8891fa5ea83ec4a68027bdb00455604 SHA256 be4a6005afd4b9336dc754661af75f0fcdc280712e6b079ee98232cd70fa835d
+MISC ChangeLog 1716 RMD160 2e9811569bd53c21eb82878121d6a1990ac6c511 SHA1 ee670ff2ca2433699632e388e9fbd940a2a42c25 SHA256 2650ed862d75aa33d2218b60f18757bf99bf8ab7a40285a645d71312f847d04f
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktJlq0ACgkQeM7EJeUH71NndQCfaG3rGbZhOFpjp11t2DnGvfNA
-yjYAn0jWIkZwtOR6LxkYD15s0agLoIjk
-=kDrE
+iEYEARECAAYFAktlapgACgkQAiZjviIA2XgYMgCglBcOS22xLTc1SWJPrwQiKe77
+t7MAoJequPXBTtqQaRt1d6RZHpmzci90
+=gsA3
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/httparty/httparty-0.5.1.ebuild b/dev-ruby/httparty/httparty-0.5.1.ebuild
new file mode 100644
index 000000000000..739491dfe725
--- /dev/null
+++ b/dev-ruby/httparty/httparty-0.5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/httparty-0.5.1.ebuild,v 1.1 2010/01/31 11:33:35 flameeyes Exp $
+
+EAPI=2
+
+# ruby19 → testsuite fails (might be crack's bug)
+# jruby → testsuite fails (seems like a testuite bug)
+USE_RUBY="ruby18"
+
+# We have a custom test function, but don't null this out so that the
+# deps are still added
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc History"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy."
+HOMEPAGE="http://httparty.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Code should most likely be patched, but for now…
+ruby_add_rdepend '~dev-ruby/crack-0.1.5'
+
+ruby_add_bdepend 'dev-ruby/rspec dev-ruby/fakeweb'
+
+USE_RUBY=ruby18 \
+ ruby_add_bdepend 'ruby_targets_ruby18 test' 'dev-util/cucumber dev-ruby/activesupport:2.3'
+
+all_ruby_prepare() {
+ # as often, Rakefile depends on Jeweler's presence
+ sed -i \
+ -e '/check_dependencies/s:^:#:' \
+ Rakefile || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby18)
+ # Cucumber-based tests only work on Ruby 1.8, as of today, so we only call them
+ ${RUBY} -S rake spec features || die "cucumber tests failed"
+ ;;
+ *)
+ ${RUBY} -S rake spec || die "cucumber tests failed"
+ ;;
+ esac
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/* || die
+}