diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-10-11 07:34:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-10-11 07:34:14 +0200 |
commit | d4b8bd7ca4d3d14b75b90150f314852c1858ad65 (patch) | |
tree | a3c7a72b04197433487673f422b513c6db2a1eff /dev-ruby/mini_mime | |
parent | dev-ruby/mini_mime: cleanup (diff) | |
download | gentoo-d4b8bd7ca4d3d14b75b90150f314852c1858ad65.tar.gz gentoo-d4b8bd7ca4d3d14b75b90150f314852c1858ad65.tar.bz2 gentoo-d4b8bd7ca4d3d14b75b90150f314852c1858ad65.zip |
dev-ruby/mini_mime: add 1.1.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3
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.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest index 57283a0049d1..cc2ca084921c 100644 --- a/dev-ruby/mini_mime/Manifest +++ b/dev-ruby/mini_mime/Manifest @@ -1,2 +1,3 @@ DIST mini_mime-1.0.3.tar.gz 33554 BLAKE2B 7be4a7b8ee066a1106a42ff28ab57684460d061dc9205a992af471f5e9024be080388451f6f0d171c09b96f53c4748c9490afcfa23a82f478c5e96b559c8c97d SHA512 d8259b81821d35ddb8f9038ad2f672816f20e098ff74d8245fdc2a8a6e4be6918b865a25372348ef8dd777483883238919293a683df064d15ac7045f9b40bb0e DIST mini_mime-1.1.1.tar.gz 33747 BLAKE2B 2b18012d611157c1ace9211e99f2c6b41931a932ed9161b24367def3bf70d5780287a0b855ac32aae202e32a1158d08c7004515841e3baa1a2789d296bdf928e SHA512 b59e5d5a94b80eae62c9be2722e2fa8306620e8b4f54e3c7d020961a89b3d796e26b18a92b6da29677c3822ab68783874486cd1080ca552c9c2fcd3acb13811f +DIST mini_mime-1.1.2.tar.gz 33779 BLAKE2B acf4fc7bbaf4bb9df9a35aa8f093f3f607b0f57296f29511aa4d0cc8770af3c959f6c2b4e49d0e879dea6145e42a33f02d98a1f54af5f48cb248b95b3f6fa410 SHA512 696d0ddf69ba58671ff8a378e6d8bd302aa5b402f791f090b4d5413f48b90cf19de447d68942a4cdc329f4d42210bd62bf4757c1f226df5129cb269c0004a332 diff --git a/dev-ruby/mini_mime/mini_mime-1.1.2.ebuild b/dev-ruby/mini_mime/mini_mime-1.1.2.ebuild new file mode 100644 index 000000000000..e63c0445e32c --- /dev/null +++ b/dev-ruby/mini_mime/mini_mime-1.1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="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 ~riscv ~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 +} |