diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-11-10 07:08:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-11-10 07:08:37 +0100 |
commit | ce3521ecc88e2cf46ce36fe57d1abe522312dce4 (patch) | |
tree | 9451e46387be63b7da71dadaa8c9b06fa1739bc0 /dev-ruby | |
parent | app-text/llpp: drop static-libs (diff) | |
download | gentoo-ce3521ecc88e2cf46ce36fe57d1abe522312dce4.tar.gz gentoo-ce3521ecc88e2cf46ce36fe57d1abe522312dce4.tar.bz2 gentoo-ce3521ecc88e2cf46ce36fe57d1abe522312dce4.zip |
dev-ruby/tzinfo: add 2.0.3
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/tzinfo/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-2.0.3.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index ca7c5fe3a34d..48522f982ff8 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,3 +1,4 @@ DIST tzinfo-1.2.5.gem 153600 BLAKE2B 3df5625c61eabf94bb457381ac7d0cdebd5b55da3bb043fe58063cccccb623b502e026a71faef4f7d7efe75eae2fdfd0bf3e0b97a3763fec9a1018f0c6c2ae0f SHA512 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45 DIST tzinfo-1.2.7.gem 156672 BLAKE2B c1b52d2ac03fa9d11b68579931991887f566e3cb269bb5eb8b66c3a636decedc99b1729504c6941b260af9415815f5098fb3bba29ac7585da1497eb0fa7efba7 SHA512 dc8d45b09e4f77e5b6f17c9f707932554fc8be8029a9641d82cb8229d764c35522b2d20cc34d50a52835d148135e39a0dc91a7c2bac3eb5077057ac06d67f3bd DIST tzinfo-2.0.2.tar.gz 213501 BLAKE2B 7886ba84257b85104073445d0948fd5f58985fa0f5f85c1ec15978c6f497fffb9bd997a0bae1313d697115c487c069dda1b7e5dd4ec2c7580951d0a8ddf8d623 SHA512 a0c71dd9299e84bd71a91858ba8c12a0ba00c625219da1172d5cd1dfd35318ce8a83e59f45489c2ed5161761e1c39834ba63dbfa189acb100ba37ceae842668d +DIST tzinfo-2.0.3.tar.gz 223942 BLAKE2B 975c2278ba86c7aaf11cb870b12fa41a9fb3eb8b8b87628bcb0b09f54d7f2490b2d9864dd411f646f20c3760ed0949a8ee4266c28a6b0607927e9807743a9f13 SHA512 c9e94af668217226533d2810b647cc7a0d0a553177ab9c4102e5676fa21d4384e833c887f5cb3f9c00cf738763dcd39b25d991483641426c407237938e076adf diff --git a/dev-ruby/tzinfo/tzinfo-2.0.3.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.3.ebuild new file mode 100644 index 000000000000..f95e0c59ce27 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC="tzinfo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" +SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Skip safe tests since we cannot guarantee the correct permissions + # on directories for it to pass. + sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die + + # Loosen test dependencies + sed -e '/rake/ s/12.2.1/12.2/' \ + -e '/simplecov/d' \ + -i Gemfile || die + sed -e '/TEST_COVERAGE/d' -i Rakefile || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} |