diff options
-rw-r--r-- | dev-ruby/aws-s3/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/flexmock/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/flexmock/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/flexmock/flexmock-0.8.6.ebuild | 60 |
4 files changed, 82 insertions, 11 deletions
diff --git a/dev-ruby/aws-s3/Manifest b/dev-ruby/aws-s3/Manifest index 6fb7c3f2e054..c3117559d241 100644 --- a/dev-ruby/aws-s3/Manifest +++ b/dev-ruby/aws-s3/Manifest @@ -3,13 +3,15 @@ Hash: SHA1 AUX aws-s3.gemspec 549 RMD160 842b079cba400be1dfc533fbe3811d6faf1ac9a8 SHA1 df8a5a111de1491ef7051dfa8900d1183a3d244c SHA256 60d239d86c2838d240046e63491459a5840dd2fe6d77e7839dac1b68ec02c61a DIST aws-s3-0.5.1.tar.gz 138665 RMD160 389555b5b93fa068e7e6d0698a60d8293c713848 SHA1 84077c3f850a649edc469e5dab210d8f27c3cf05 SHA256 8d27ccc6f963581ca67845e0e465df6ff45838bc0d6b2e0922aeeb30ae46145b +DIST aws-s3-0.6.2.tar.gz 138306 RMD160 8f9b15e18a939b377c2f041b540722c2168d143e SHA1 a788377d6641b92a0c5b003f6b95a60cd3b41956 SHA256 7681b358ec8632ba36325c1ea3e2ad13b6ae9d3692b073fdeac1df3d740905ac EBUILD aws-s3-0.5.1.ebuild 1355 RMD160 f4109e28b5767e5d92fdd7a89381204f43558131 SHA1 7cde80355c57c8b660e6c816a21fc92d98819cf2 SHA256 197ba6507cd6da4616d112365964b546b84382d091edaf47995a1c5b99d5961e -MISC ChangeLog 409 RMD160 ff738cd1275b694eef7ed6d73749eaa8c409fcb5 SHA1 2de7a49486d94dd5f6ec4201669b35d079f93fc6 SHA256 2c3371f5d2947f0869f0553bb60e5e1c28423f84fb76d08d341519490e3b14b3 +EBUILD aws-s3-0.6.2.ebuild 1674 RMD160 07f010bd9f7e9c52317a7642633cf347a07003cf SHA1 4a8c6e33f2059a2281c7621c9d15858b89ba786a SHA256 b2d745a16caec4757b607cf420759520b9d575630d126df719be2c0b45757c87 +MISC ChangeLog 587 RMD160 060779e03197095b8da0903e445fb3019a12e914 SHA1 7714808d38963289a3f05eae871f6a32833627a6 SHA256 1ff56ea9568030df03cfdbd23818f1adbafeae58adc3314f74a8d13e574f9b1f MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAknokDMACgkQAiZjviIA2Xix5wCggSasgBF7lvMq76UWazXVcwQZ -59YAoO+FUCSBep6my5xuYSldSWdy4qk8 -=8RZV +iEYEARECAAYFAkn4mIQACgkQAiZjviIA2XiVgQCgs8rC9MaKcp8dX93Sy/1bJlc0 +eMcAoNDr4qFeJeRX722aWRAoIMUbl6fq +=8FId -----END PGP SIGNATURE----- diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog index f77cb0030a72..d0fbb9213f8c 100644 --- a/dev-ruby/flexmock/ChangeLog +++ b/dev-ruby/flexmock/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/flexmock -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.2 2008/12/20 13:13:17 graaff Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.3 2009/04/29 18:09:15 flameeyes Exp $ + +*flexmock-0.8.6 (29 Apr 2009) + + 29 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +flexmock-0.8.6.ebuild: + Version bump, move to use tarball and fake gem spec (with a new, nice + function to fake it!), and enable use with Ruby 1.9. *flexmock-0.8.3 (20 Dec 2008) diff --git a/dev-ruby/flexmock/Manifest b/dev-ruby/flexmock/Manifest index 69c1a7539073..c9b54e43972e 100644 --- a/dev-ruby/flexmock/Manifest +++ b/dev-ruby/flexmock/Manifest @@ -3,14 +3,16 @@ Hash: SHA1 DIST flexmock-0.8.0.gem 72192 RMD160 1be6729826f725dc1342f5c668f25f3fb00786fb SHA1 ac72016774bc3518ad0b100d0b2eb9a54bf06061 SHA256 f0e437ecb57c12e64b6b294341950f3e8f0dbc5d38d1f4b4ea980a295944c747 DIST flexmock-0.8.3.gem 75264 RMD160 91249323fa2072419af53e2f577b566903fa3c64 SHA1 943516cd1c5e55e9196a0a9038e94259b1064076 SHA256 f3547e8920d58339ff5162fc56d2cc7d463331bd865bfbeba95e37d3cbb4e33f +DIST flexmock-0.8.6.tgz 73326 RMD160 d7350fe0f2bd0b171e8b0ba9a8945587f689f336 SHA1 cee4f0be0153ad24ca3b3858433fb7a8fc618001 SHA256 0e813a48a5572d8386e778afd636c257ecba22bbde4ce8a35d00cf918a374f8d EBUILD flexmock-0.8.0.ebuild 414 RMD160 b9e29ece9a19eb1e07fc226cb0233c7ddca0c8a1 SHA1 4f7d7c402bab773e2cff823e1787930120b88ed3 SHA256 8b45d86b17775c9958c5c4309001ca404f42fec55522d236b798c984fc728d3a EBUILD flexmock-0.8.3.ebuild 414 RMD160 08fcd99026963f8eb57965e537b7025c252e1a42 SHA1 a02a903e72d24918c51d3fb56d7697396f468667 SHA256 d7122aefdc69fa35cda3b590e4605cb42dce68a2d757fa263d0cf64022a81687 -MISC ChangeLog 663 RMD160 1f44607cd461abf3b77b55eb1ec9efdccd3c7c91 SHA1 f1f91d712620c816c492b957acf6f48b0a49efb7 SHA256 bc33af975e4b06ae3612c5e33c375dd68dbc612c9cdd167fcf3c1425d241c85b +EBUILD flexmock-0.8.6.ebuild 1345 RMD160 9d7f867708328c90ab9ec227fa8e71049ee99345 SHA1 d6ccc4851ad71204b89d9a744e6bd62ca019055e SHA256 915d8583d9ba7683ea6347c557dd350b2441b99fe688292ad986f5a4e2d9f9e2 +MISC ChangeLog 907 RMD160 ba00933e5764c4453a60801c5d7347f44dd6f9aa SHA1 c858b564c946b5e81cd26770fd20eca97f229e04 SHA256 d064c2101f756e3127298433058ac9c4d7995274a7cd4d1dd37b10e89d4006d7 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAklM73MACgkQqj4ysMWt/vtp4QCfWIZhHotdCOASeCYQAktFIUVK -23sAoLDU/IVsHWoQMlt3J/r1ajEoTP6E -=GSJR +iEYEARECAAYFAkn4l9AACgkQAiZjviIA2Xg1CgCgq0rriW+2ER4qv+W7PGaWRZwW +sYEAoMRHs0qMY+GmHMd07j6FjhHeQfey +=wNrJ -----END PGP SIGNATURE----- diff --git a/dev-ruby/flexmock/flexmock-0.8.6.ebuild b/dev-ruby/flexmock/flexmock-0.8.6.ebuild new file mode 100644 index 000000000000..008af912cce7 --- /dev/null +++ b/dev-ruby/flexmock/flexmock-0.8.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.1 2009/04/29 18:09:15 flameeyes Exp $ + +inherit ruby + +DESCRIPTION="Simple mock object library for Ruby unit testing" +HOMEPAGE="http://${PN}.rubyforge.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86-fbsd" +IUSE="doc test" + +RDEPEND="" +DEPEND="doc? ( dev-ruby/rake ) + test? ( dev-ruby/rake )" + +USE_RUBY="ruby18 ruby19" + +dofakegemspec() { + cat - > "${T}"/${P}.gemspec <<EOF +Gem::Specification.new do |s| + s.name = "${PN}" + s.version = "${PV}" + s.summary = "${DESCRIPTION}" + s.homepage = "${HOMEPAGE}" +end +EOF + + insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications + doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" +} + +src_compile() { + if use doc; then + rake rerdoc || die "rake rerdoc failed" + fi +} + +src_test() { + for ruby in $USE_RUBY; do + [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed" + done +} + +src_install() { + pushd lib + doruby -r * || die "doruby failed" + popd + + if use doc; then + dohtml -r doc/* || die "dohtml failed" + fi + + dodoc CHANGES README || die "dodoc failed" + + dofakegemspec +} |