diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-09 06:35:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-09 06:35:14 +0200 |
commit | e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e (patch) | |
tree | 9382575c7e5481e3debb502c44d187e94bfd4ceb /dev-ruby/mini_mime | |
parent | dev-ruby/mocha: add 2.1.0 (diff) | |
download | gentoo-e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e.tar.gz gentoo-e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e.tar.bz2 gentoo-e15df3bb78b68f3ee87cc00a99ca68743a6f3d4e.zip |
dev-ruby/mini_mime: add 1.1.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mini_mime')
-rw-r--r-- | dev-ruby/mini_mime/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_mime/mini_mime-1.1.5.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
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 +} |