summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-04-20 17:03:07 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-04-20 17:03:07 +0000
commit45cf3b1786a4d81e3ce2a6c914a090b23edd8685 (patch)
treebde099d7c67769337d01b57173b83ef2a257350c /dev-ruby/mime-types
parentRestore libmng.so.1 as required by emul-linux-x86-qtlibs. Thanks to tetromino... (diff)
downloadgentoo-2-45cf3b1786a4d81e3ce2a6c914a090b23edd8685.tar.gz
gentoo-2-45cf3b1786a4d81e3ce2a6c914a090b23edd8685.tar.bz2
gentoo-2-45cf3b1786a4d81e3ce2a6c914a090b23edd8685.zip
Cleanup old.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/mime-types')
-rw-r--r--dev-ruby/mime-types/ChangeLog6
-rw-r--r--dev-ruby/mime-types/files/mime-types-1.18-linux-tests.patch161
-rw-r--r--dev-ruby/mime-types/mime-types-1.19.ebuild32
3 files changed, 5 insertions, 194 deletions
diff --git a/dev-ruby/mime-types/ChangeLog b/dev-ruby/mime-types/ChangeLog
index b4a6c4ceec61..9d9a2bddc5cf 100644
--- a/dev-ruby/mime-types/ChangeLog
+++ b/dev-ruby/mime-types/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/mime-types
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.48 2014/04/20 11:49:40 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.49 2014/04/20 17:03:07 mrueg Exp $
+
+ 20 Apr 2014; Manuel Rüger <mrueg@gentoo.org>
+ -files/mime-types-1.18-linux-tests.patch, -mime-types-1.19.ebuild:
+ Cleanup old.
20 Apr 2014; Hans de Graaff <graaff@gentoo.org> mime-types-1.25.1.ebuild:
Add ruby21.
diff --git a/dev-ruby/mime-types/files/mime-types-1.18-linux-tests.patch b/dev-ruby/mime-types/files/mime-types-1.18-linux-tests.patch
deleted file mode 100644
index b2ccb0ecf61c..000000000000
--- a/dev-ruby/mime-types/files/mime-types-1.18-linux-tests.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-commit 134cab8ffdbd337bf0b8bb67b5097222f6f15769
-Author: Austin Ziegler <austin@surfeasy.com>
-Date: Wed Mar 21 20:30:31 2012 -0400
-
- Fixing issue #8.
-
- Apparently some people run the tests on Linux. Imagine that. :)
-
-diff --git a/History.rdoc b/History.rdoc
-index 82daed8..d1ad126 100644
---- a/History.rdoc
-+++ b/History.rdoc
-@@ -1,4 +1,8 @@
--== MIME::Types 1.18 / 2012-03-20
-+== 1.?? / ????-??-??
-+* Resolve issue #8 (https://github.com/halostatue/mime-types/issues/8).
-+ Apparently some people run the tests on Linux. Imagine that. :)
-+
-+== 1.18 / 2012-03-20
- * New MIME Types:
- * Types reported in Issue #6 (https://github.com/halostatue/mime-types/issues/6):
- * CoffeeScript (text/x-coffeescript; .coffee; 8bit).
-@@ -13,11 +17,11 @@
- * It was pointed out that Licence.txt was incorrectly named. Fixed by renaming to Licence.rdoc (from Issue/Pull Request #8, https://github.com/halostatue/mime-types/issues/8).
- * It was pointed out that a plan to have the test output generated automatically never went through. Issue #10 (https://github.com/halostatue/mime-types/issues/10)
-
--== MIME::Types 1.17.2 / 2011-10-25
-+== 1.17.2 / 2011-10-25
- * Bug Fixes:
- * Fixed an issue with Ruby 1.9 and file encoding.
-
--== MIME::Types 1.17.1 / 2011-10-23
-+== 1.17.1 / 2011-10-23
- * Minor Enhancements:
- * Implemented modern 'hoe' semantics.
- * Switched to minitest instead of test/unit.
-@@ -34,7 +38,7 @@
- * Made it much easier to update MIME types from this point forward.
- * Updated MIME types from IANA.
-
--== MIME::Types 1.16
-+== 1.16
- * Made compatible with Ruby 1.8.6, 1.8.7, and 1.9.1.
- * Switched to the 'hoe' gem system and added a lot of build-time tools.
- * Updated the MIME types to the list based on the values in the Perl library
-@@ -44,7 +48,7 @@
- starting soon on MIME::Types 2.x with richer data querying mechanisms
- and support for external data sources.
-
--== MIME::Types 1.15
-+== 1.15
- * Removed lib/mime/type.rb to form a single MIME::Types database source. It
- is unlikely that one will ever need MIME::Type without MIME::Types.
- * Re-synchronized the MIME type list with the sources, focusing primarily on
-@@ -58,7 +62,7 @@
- priority as of this release. The data format and information has changed.
- * Removed MIME::Types.by_suffix and MIME::Types.by_mediatype.
-
--== MIME::Types 1.13.1
-+== 1.13.1
- * Fixed a problem with the installer running tests. This now works.
- * Improved the implementation of MIME::Type.signature?
- * Moved code around to use the class << self idiom instead of always
-@@ -72,7 +76,7 @@
- version number to be updated separately from the Perl version while keeping
- the MIME Type list version in sync.
-
--== MIME::Types 1.13
-+== 1.13
- ! WARNING: This version changes the API of MIME::Types !
- ! WARNING: This version is compatible with Ruby 1.8 and higher ONLY !
- * Removed dependency on InstallPackage; offering 1.13 as either .tar.gz or
-@@ -111,22 +115,22 @@
- exchange between the two projects.
- * Added additional unit tests from Mark Overmeer's 1.12 version.
-
--== MIME::Types 1.07
-+== 1.07
- * Changed version numbering to match Perl MIME::Types 1.07.
- * Re-synchronized with Mark Overmeer's list in Perl PMIME::Types 1.07.
- * [NN Poster] updated the attributes for the PGP types.
-
--== MIME::Types 1.005
-+== 1.005
- * Changed to Phil Thomson's InstallPackage.
- * Added several types from Perl MIME::Types 1.005.
- * Cleaned up data format; some data formats will show up with proper data now.
-
--== MIME::Types 1.004
-+== 1.004
- * Updated to match Perl MIME::Types 1.004, links credited to Dan Puro. Adds
- new reference list to http://www.indiana.edu/cgi-bin-local/mimetypes
- * Removed InvalidType and replaced with TypeError.
- * Changed instances of #type to #class.
- * Cleaned up how simplified versions are created.
-
--== MIME::Types 1.003
-+== 1.003
- * Initial release based on Perl MIME::Types 1.003.
-diff --git a/test/test_mime_type.rb b/test/test_mime_type.rb
-index 4dfa3a4..8e84cc4 100644
---- a/test/test_mime_type.rb
-+++ b/test/test_mime_type.rb
-@@ -2,11 +2,10 @@ $LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib") if __FILE__ == $0
-
- require 'mime/types'
- require 'minitest/autorun'
--#require 'test/unit' unless defined? $ZENTEST and $ZENTEST
-
- class TestMIME_Type < MiniTest::Unit::TestCase
- def yaml_mime_type_from_array
-- MIME::Type.from_array('text/x-yaml', %w(yaml yml), '8bit', 'linux')
-+ MIME::Type.from_array('text/x-yaml', %w(yaml yml), '8bit', 'd9d172f608')
- end
-
- def setup
-@@ -22,7 +21,7 @@ class TestMIME_Type < MiniTest::Unit::TestCase
- def test_class_from_hash
- yaml = MIME::Type.from_hash('Content-Type' => 'text/x-yaml',
- 'Content-Transfer-Encoding' => '8bit',
-- 'System' => 'linux',
-+ 'System' => 'd9d172f608',
- 'Extensions' => %w(yaml yml))
- assert_instance_of(MIME::Type, yaml)
- assert_equal('text/yaml', yaml.simplified)
-@@ -247,7 +246,7 @@ class TestMIME_Type < MiniTest::Unit::TestCase
-
- def test_system_equals
- yaml = yaml_mime_type_from_array
-- assert_equal(yaml.system, %r{linux})
-+ assert_equal(yaml.system, %r{d9d172f608})
- yaml.system = /win32/
- assert_equal(yaml.system, %r{win32})
- yaml.system = nil
-@@ -264,7 +263,7 @@ class TestMIME_Type < MiniTest::Unit::TestCase
- def test_to_a
- yaml = yaml_mime_type_from_array
- assert_equal(yaml.to_a, ['text/x-yaml', %w(yaml yml), '8bit',
-- /linux/, nil, nil, nil, false])
-+ /d9d172f608/, nil, nil, nil, false])
- end
-
- def test_to_hash
-@@ -273,7 +272,7 @@ class TestMIME_Type < MiniTest::Unit::TestCase
- { 'Content-Type' => 'text/x-yaml',
- 'Content-Transfer-Encoding' => '8bit',
- 'Extensions' => %w(yaml yml),
-- 'System' => /linux/,
-+ 'System' => /d9d172f608/,
- 'Registered' => false,
- 'URL' => nil,
- 'Obsolete' => nil,
-@@ -289,7 +288,7 @@ class TestMIME_Type < MiniTest::Unit::TestCase
- yaml = MIME::Type.new('text/x-yaml') do |y|
- y.extensions = %w(yaml yml)
- y.encoding = '8bit'
-- y.system = 'linux'
-+ y.system = 'd9d172f608'
- end
- assert_instance_of(MIME::Type, yaml)
- assert_raises(MIME::InvalidContentType) { MIME::Type.new('apps') }
diff --git a/dev-ruby/mime-types/mime-types-1.19.ebuild b/dev-ruby/mime-types/mime-types-1.19.ebuild
deleted file mode 100644
index 8f986cf44a80..000000000000
--- a/dev-ruby/mime-types/mime-types-1.19.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/mime-types-1.19.ebuild,v 1.8 2014/04/05 14:20:32 mrueg Exp $
-
-EAPI=4
-
-USE_RUBY="ruby19 jruby"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby."
-HOMEPAGE="http://rubyforge.org/projects/mime-types"
-
-LICENSE="Ruby Artistic GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_bdepend "doc? ( dev-ruby/hoe dev-ruby/rubyforge )
- test? ( dev-ruby/hoe dev-ruby/rubyforge )"
-
-all_ruby_prepare() {
- # when rcov is installed, and a new enough Hoe is installed as
- # well, the Rakefile will fail because Hoe::test_files is no
- # longer defined. Since we don't use rcov for testing, we just
- # disable the whole section unconditionally.
- sed -i -e '/rcovtask/,/end/ s:^:#:' Rakefile || die "Rakefile fix failed"
-}