From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3517813835A for ; Fri, 26 Mar 2021 07:04:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C925E0821; Fri, 26 Mar 2021 07:04:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52E18E0821 for ; Fri, 26 Mar 2021 07:04:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0497A340D91 for ; Fri, 26 Mar 2021 07:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C27F5FC for ; Fri, 26 Mar 2021 07:04:00 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1616742207.f4cbc4183b003cc735649ed79437f1c7bb22e8f1.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mini_mime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/mini_mime/Manifest dev-ruby/mini_mime/mini_mime-1.0.3.ebuild X-VCS-Directories: dev-ruby/mini_mime/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f4cbc4183b003cc735649ed79437f1c7bb22e8f1 X-VCS-Branch: master Date: Fri, 26 Mar 2021 07:04:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: edf489fb-6f28-4492-ab1f-248b58ca3451 X-Archives-Hash: 1a7ece6d43affe895eda6855961d06db commit: f4cbc4183b003cc735649ed79437f1c7bb22e8f1 Author: Hans de Graaff gentoo org> AuthorDate: Fri Mar 26 06:46:36 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Mar 26 07:03:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4cbc418 dev-ruby/mini_mime: add 1.0.3 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mini_mime/Manifest | 1 + dev-ruby/mini_mime/mini_mime-1.0.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest index a4357984736..88fe417f2e0 100644 --- a/dev-ruby/mini_mime/Manifest +++ b/dev-ruby/mini_mime/Manifest @@ -1 +1,2 @@ DIST mini_mime-1.0.2.tar.gz 31971 BLAKE2B b2783f9376d5299ba77d1cab0326f706cc671a96aac58e8c65879f9180cf3f1f359eba1b8ed4028c775728d4d633d6e8cce06acee90cfe9b60cde2e53f9a2360 SHA512 644eefdc9277642b8b94ce8071826ec993f7da1a5bc8903bd17ece05a374f286014d05b5765ec5a5f7f0fa9252b56d3bdd03109a3702075f6e8ccb68a4cef98d +DIST mini_mime-1.0.3.tar.gz 33554 BLAKE2B 7be4a7b8ee066a1106a42ff28ab57684460d061dc9205a992af471f5e9024be080388451f6f0d171c09b96f53c4748c9490afcfa23a82f478c5e96b559c8c97d SHA512 d8259b81821d35ddb8f9038ad2f672816f20e098ff74d8245fdc2a8a6e4be6918b865a25372348ef8dd777483883238919293a683df064d15ac7045f9b40bb0e diff --git a/dev-ruby/mini_mime/mini_mime-1.0.3.ebuild b/dev-ruby/mini_mime/mini_mime-1.0.3.ebuild new file mode 100644 index 00000000000..806ae30061f --- /dev/null +++ b/dev-ruby/mini_mime/mini_mime-1.0.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="mini_mime.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A lightweight mime type lookup toy" +HOMEPAGE="https://github.com/discourse/mini_mime" +SRC_URI="https://github.com/discourse/mini_mime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid comparison with MIME::Types because types may vary over time + # as they get reclassified leading to random harmless failures. + sed -i -e '/test_full_parity_with_mime_types/askip "gentoo"' test/mini_mime_test.rb || die +}