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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3F1615800A for ; Wed, 9 Aug 2023 04:38:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04DDB2BC017; Wed, 9 Aug 2023 04:38:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8CA22BC017 for ; Wed, 9 Aug 2023 04:38:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4C91335DB4 for ; Wed, 9 Aug 2023 04:38:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1468CF32 for ; Wed, 9 Aug 2023 04:38:23 +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: <1691555714.e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e.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.1.5.ebuild X-VCS-Directories: dev-ruby/mini_mime/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e X-VCS-Branch: master Date: Wed, 9 Aug 2023 04:38:23 +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: d623914e-2155-406a-8cfc-2a19fe59d8ac X-Archives-Hash: 263da151ff87e1db35d05e8fa7f3d462 commit: e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e Author: Hans de Graaff gentoo org> AuthorDate: Wed Aug 9 04:35:14 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Aug 9 04:35:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15df3bb dev-ruby/mini_mime: add 1.1.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mini_mime/Manifest | 1 + dev-ruby/mini_mime/mini_mime-1.1.5.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest index d0a4d7a17864..c232dec93b2f 100644 --- a/dev-ruby/mini_mime/Manifest +++ b/dev-ruby/mini_mime/Manifest @@ -1 +1,2 @@ DIST mini_mime-1.1.2.tar.gz 33779 BLAKE2B acf4fc7bbaf4bb9df9a35aa8f093f3f607b0f57296f29511aa4d0cc8770af3c959f6c2b4e49d0e879dea6145e42a33f02d98a1f54af5f48cb248b95b3f6fa410 SHA512 696d0ddf69ba58671ff8a378e6d8bd302aa5b402f791f090b4d5413f48b90cf19de447d68942a4cdc329f4d42210bd62bf4757c1f226df5129cb269c0004a332 +DIST mini_mime-1.1.5.tar.gz 34890 BLAKE2B b5d5d35dec2dc4a5885443315fefedbce7bcd38a8193ebaba24ff0f6fd2173450eec0be669759f1831dbec646ac0a06e3b18d79704a901e602b7abe487fda189 SHA512 38da060c723ca21dfda783629ff065dfcc3634e7c0117f8f4af8e38abc1822656a5a62fabe154bed75cfc56637cfa65c596d354cfcdb673f98bce0653b47a816 diff --git a/dev-ruby/mini_mime/mini_mime-1.1.5.ebuild b/dev-ruby/mini_mime/mini_mime-1.1.5.ebuild new file mode 100644 index 000000000000..179e399e6345 --- /dev/null +++ b/dev-ruby/mini_mime/mini_mime-1.1.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +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 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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 +}