diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-08 12:44:55 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-08 12:44:55 +0000 |
commit | 401c25a858636eb68ded00c75a35fc1d85184498 (patch) | |
tree | a57053b9a1ad8b16e63ae6ec808a30717acdae9b /dev-ruby/tins | |
parent | Add a function to wrap around testrb-2 as well. (diff) | |
download | historical-401c25a858636eb68ded00c75a35fc1d85184498.tar.gz historical-401c25a858636eb68ded00c75a35fc1d85184498.tar.bz2 historical-401c25a858636eb68ded00c75a35fc1d85184498.zip |
Version bump; this version requires the latest test-unit-2 with the new script, and uses the new support in the eclass for it.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/tins')
-rw-r--r-- | dev-ruby/tins/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/tins/Manifest | 19 | ||||
-rw-r--r-- | dev-ruby/tins/files/tins-0.4.3-gentoo.patch | 30 | ||||
-rw-r--r-- | dev-ruby/tins/tins-0.4.3.ebuild | 31 |
4 files changed, 87 insertions, 3 deletions
diff --git a/dev-ruby/tins/ChangeLog b/dev-ruby/tins/ChangeLog index aec6dd55b2d5..209303983680 100644 --- a/dev-ruby/tins/ChangeLog +++ b/dev-ruby/tins/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/tins # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/ChangeLog,v 1.5 2012/06/10 06:01:10 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/ChangeLog,v 1.6 2012/07/08 12:44:55 flameeyes Exp $ + +*tins-0.4.3 (08 Jul 2012) + + 08 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +files/tins-0.4.3-gentoo.patch, +tins-0.4.3.ebuild: + Version bump; this version requires the latest test-unit-2 with the new + script, and uses the new support in the eclass for it. *tins-0.3.14 (10 Jun 2012) @@ -25,4 +32,3 @@ 25 Dec 2011; Hans de Graaff <graaff@gentoo.org> +tins-0.3.6.ebuild, +metadata.xml: Initial import. Successor to dev-ruby/spruz. - diff --git a/dev-ruby/tins/Manifest b/dev-ruby/tins/Manifest index 79c92f47a5bf..f0e82575b6ca 100644 --- a/dev-ruby/tins/Manifest +++ b/dev-ruby/tins/Manifest @@ -1,8 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX tins-0.4.3-gentoo.patch 1120 SHA256 431dd134efe18271c36df661f4838000f51f72eef2930834e84faf0cfb79ce39 SHA512 9722cd92298dad9545f7580234566d6ce034be65dec381dbfcb4c3c37701d084318308a1f86f7d149a9f80884b1b9bbe0c92f5ae9b86144bd81ae62f343731d1 WHIRLPOOL a21fca19fe10dbf98e860f074f916b36c286de6ba6b117a15d792c6631eebe0afa76a7222da90e3c2501cd825c14190719071f26c8de3bb6d4b9843e525215e9 DIST tins-0.3.14.gem 28160 SHA256 e30bb2a890a6f29a2cc522f4c27c6bfc3af5fb4db0fc3e5da9c086bf3afeb55b SHA512 cded23fbb5ffff89bea22e2deb9f178a5a87d99037c62144f5dca839a89fa808dffdf98a14e25353dd00e67231d1dd8155c8e7e0b8452c298a0dfc73f5098635 WHIRLPOOL 20053a2d03a0aac52c6335485d517e347ab601e41bbf7433dd19e416ffdab927c5d2ea18c99a4851c161d4ced38df43b68b3569029921e82e72ac1b2feb039c3 DIST tins-0.3.6.gem 25088 SHA256 1e946f3711f475bb960fc8de1532c061ae3dad78505aa9cbebec3b2398fbedc5 SHA512 e54a838c50692e5181c3ad7266226a1614ba8a3bd438bfc0c31072172b0a40ec48a887169cd6d3419ddd7bb6c594d1acb58bfcf066d8fe5dfd370d5b5ae90d4d WHIRLPOOL 912ef41ecf89cedc614345563b5aebde20d26cd9178186105c6418cee47320f151d328b92a77d5ff490899108352af388037e78b03242bd84c298eb603e800e7 DIST tins-0.3.7.gem 25088 SHA256 a8b2e7c6084535f1fc85d2b649e879151882447d7303d0cafce936caa7cdc4c8 SHA512 c51316042f4e33864d55481dd4f95a757629a6678f874af0004d7029e45e8c5a12b3523f91e6fd13df24297c1fbeab5e2e41731b4ba36655e7a8da2deed28d58 WHIRLPOOL 515cd71bc65c535e476102fc75f06b96dfc570d130327562262dd8019443db339f547b0c6b61323da5bda84acbf8fee7ff3e08a7252f566588234cfc6909d97b +DIST tins-0.4.3.gem 27136 SHA256 5cf10c5110a76991f32a922bb8a80c1bfd924c819e483275658459a3416a4121 SHA512 a446ed044f924c492ccda86569503c177a39a589ce6e5d6c5f43121bcdcab70474f46d5a2bbad3e0f456f42c9f4abe205fdcb04ea0521af2c7fa25556ee40e74 WHIRLPOOL 297d6308c1c098d2ab7dfc99e1bd521f27960a6525ab48ea94217a48dc04625c5c02b214f803999258c33c931c1f30154cb23627c991f8500348a48576b5da22 EBUILD tins-0.3.14.ebuild 767 SHA256 078babda67a59dafbc01b8509b274310cbc8fe39bf9fa5315fd4478e50c8bf84 SHA512 0df0eda831c98ebbc2a0496cbf2e1d754cb4592341914f13e7b58da9c5536ca6d52551c4366c5acf274047806527917662601ad60ddd7faa35c1018e1e80cec6 WHIRLPOOL 1f213efe06a54813bb64e690ace6bc8646bf0b823c92dee7414f917b35e6fad4d28ae45f9ded5c25650ce27a6c807de1f30e8e67067cc98d8faa3fcfbca45b16 EBUILD tins-0.3.6.ebuild 768 SHA256 6d8830f6bb15ac2ffbfa05e02ba52033821d9873cc4acc3f29862487513f3649 SHA512 bf83423a06b47bdc846f886927e0a97948e912dbf9614ef2341038a03fb279898eb56ef32ecbaef0752f86999de803cef20deba9247d37ec2fd6571a685d8f46 WHIRLPOOL 894082157a4e1a0b7c4c8c4484988ca22d619214131fd1dbef3452f5f50eee8993475f721f24c987d7053aeef8d6a37ed109581360ead235badf5580929047a4 EBUILD tins-0.3.7.ebuild 767 SHA256 fc7291429dd3dba121115c69a6c6f6447ec7dc35325d923a3abffa1b2daad361 SHA512 1e5b001d5509bc8cb93716b6823b88e96eef3cb453434cab20b8aa556a22514ef7d3e5afee85ed88138ae7f00124c8329403aabb5405e0e495cececf80a1f6b0 WHIRLPOOL 23654b8b0ba20217df3a8a5c3615cf21230f661ed548b0471e1bfafe3ff8f3cd2be911b4951611e207b24ba8c9e373f36085f28f9262c6ea8e805f0b3fcf8ebf -MISC ChangeLog 883 SHA256 2f8a1ac03226b10983f812093d39a28b7afccba45b6fc0cc3fa489da1a58a4e6 SHA512 1f9fdb184377e5097c934145a6c3123db3d78e58d36fff0630946d4cbb35efa2d0d68fd13fc42d9c7d9609f6574e1600ee7bda089186fc89f876d23f9bf3b355 WHIRLPOOL 98df4cb962dd08d422496db4d2d6f9206f50c6af66ce64d1888fdbe14c11e4d58fcbbd82484cf5bbe0c118f64b394830dbecbd1e7a07b2199e9328f1d46423d1 +EBUILD tins-0.4.3.ebuild 762 SHA256 76cc2bef1fb5e73047bfa9825ad7c13161e03606485468c861ad8a46c2ecb32b SHA512 ae85cbf8692f9f98ef87daa1ebe585d6407ff802d0ce8daed029ca056800ad21a65f53403b380c14d4437d2a98d83409af36b44f3a81f3100e9b5552e3440dde WHIRLPOOL 1bd586d9ce8827dc666e0e81ef7e110703ec9bb011925c1f43c5f3ca22a66568e8994f2cb8fef47f463231c5864e9761ec79606b295092940649586984edeb47 +MISC ChangeLog 1154 SHA256 11d11898712f268547f34e97a5128c48fb2934f73f43f2ebb66d9dda10f64fd2 SHA512 87ba91b3074366f24de78ff1c354f4af897d184bc8e37058c58ff058a8a71059d989b102ae82872c17473acc903eaf6cac75eb1214ef07eec210a8c1e4a90510 WHIRLPOOL 7977cd1b43fc7f50917a2efe55f8753678694137ffe5641050f4a7cedbc479f472da1411f3824eb61e70fe78394ff984e8a589cded31e0dc66f6d1454b14caa8 MISC metadata.xml 158 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 SHA512 a9ab7b665b00f8a0619ffb3cf5260438a6f47fe997bc9cfbd5410d074b92e473dd1484d79a4afd736f52dc1277af42f6439953c696c35a92c75d94f4eb591baa WHIRLPOOL e8e518ad3cc7f0230aa7a43b82e730310527bd3b22033f13563a7c0630668bb0fa935ce64a3345c84b3fa2623fd14697c2ae0289266ae1fbc97bf032133a4aa6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBAgAGBQJP+YDcAAoJEBzRPIrUMBNCmw0H/2UNFD70Vx/kAfjkUULakPGX +KAWZjvTypQgHtAxC9XZB/ZNe3PQ61O+OleyoUNjTnLujwayviaartsTHW7Gicm74 +Vm+wnxvMKOVspfY9HP2Z8LaIDARK/zmSQS9SMFGN2+iUehp+lPVsX/V2hThngZzo +NGukLRJTFS3IDoz3EdRfWq+RJV3PZqQmi8Jl/jIfyMkMfQtKE+W3+cDatGMYwTwU +cjOt5TA2FKGWxjNSdWdSjtg7HvJrxyj1slk2DvN77SD6omZCe8lt2C7OMkmctLAe +f+fZ7/83fEQexU6MpZSGJ7Uu5Fi6d5Q8LhqRXNPS5KG2YtmP61rRa4ny5SYYZNY= +=UXA1 +-----END PGP SIGNATURE----- diff --git a/dev-ruby/tins/files/tins-0.4.3-gentoo.patch b/dev-ruby/tins/files/tins-0.4.3-gentoo.patch new file mode 100644 index 000000000000..1fae94eb6ab6 --- /dev/null +++ b/dev-ruby/tins/files/tins-0.4.3-gentoo.patch @@ -0,0 +1,30 @@ +diff --git a/tests/find_test.rb b/tests/find_test.rb +index 63bc9c7..22df1e2 100644 +--- a/tests/find_test.rb ++++ b/tests/find_test.rb +@@ -31,8 +31,13 @@ module Tins + assert_equal [ @work_dir, file ], find(@work_dir, :show_hidden => true).to_a + end + +- if RUBY_PLATFORM !~ /java/ +- def test_check_directory_without_access ++ def test_check_directory_without_access ++ # do not run this test on JRuby ++ omit_if(RUBY_PLATFORM =~ /java/, "Can't run the test on JRuby") ++ # do not run this test if we're root, as it will fail. ++ omit_if(Process::UID.eid == 0, "Can't run the test as root") ++ ++ begin + mkdir_p directory1 = File.join(@work_dir, 'foo') + mkdir_p directory2 = File.join(directory1, 'bar') + touch file = File.join(directory2, 'file') +diff --git a/tests/test_helper.rb b/tests/test_helper.rb +index e56071a..fbb1635 100644 +--- a/tests/test_helper.rb ++++ b/tests/test_helper.rb +@@ -4,4 +4,5 @@ if ENV['START_SIMPLECOV'].to_i == 1 + add_filter "#{File.basename(File.dirname(__FILE__))}/" + end + end ++gem 'test-unit', '~> 2.4' + require 'test/unit' diff --git a/dev-ruby/tins/tins-0.4.3.ebuild b/dev-ruby/tins/tins-0.4.3.ebuild new file mode 100644 index 000000000000..1456ed9a46f1 --- /dev/null +++ b/dev-ruby/tins/tins-0.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/tins-0.4.3.ebuild,v 1.1 2012/07/08 12:44:55 flameeyes Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18 jruby" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library." +HOMEPAGE="http://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 ) " + +RUBY_PATCHES=( "${P}-gentoo.patch" ) + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} |