diff options
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r-- | dev-ruby/tzinfo/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/tzinfo/metadata.xml | 12 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-1.2.11.ebuild | 34 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-2.0.6.ebuild | 48 |
4 files changed, 95 insertions, 5 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index fcf1b7c4503b..ab169c1041cd 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,9 +1,13 @@ DIST tzinfo-1.2.10.gem 167936 BLAKE2B 558721a357bf6875b02850dca2f0b6eabcafdacb48b900df3f4dbd72b950832f847bb89264c107b7d7c11a8179ef13125d8b9d2b65855f80ac4c37ca7356231b SHA512 124d43d92bdf9b234523ff79bb574d4be098cc721768eb1fd8ac85bff11ccfdf21effb1e4300e80c50b0202beed67a9a0d1146a23e33a4bced6e985fc6be78a2 +DIST tzinfo-1.2.11.gem 166912 BLAKE2B 3fcd2917848a400ca8938914219ce3263638ab605df82a62bf42fc021e7930df9cc399e94668d03df529bff1396f0261fa6c5624c4084660ed12e7a756aea182 SHA512 21a00c464013c3122c8d647a59f7c6b6c6af6b303d3ee24226067482bcd27fd5f02a4cf51fa0b8d70d3e08831c084f54d5ffb8f6784cd1112d62dd0dff6e8aeb DIST tzinfo-1.2.9.gem 166912 BLAKE2B 6d54a5118fbdb3556d0cdc9079462cf26afa9deddd1dc21ef670240e2aa47a66d0b4fc9c9c7ed74bd14bde96dc95f6b716aef5d32ca521221618a76c8c05cda1 SHA512 ddf28ad213f681a4e551cbd803873b279acef03fae894a3e6475030d4da5a59732b31af5d5944e8c62d15b7ec922816fede24f180fb20c55c1bd3d379c879cfe DIST tzinfo-2.0.4.tar.gz 224673 BLAKE2B 0c7ef231767b6fc00cf95b3e1c2037894b14dfe832eaedb3f4b7c60a884ab6f7121243af5b62acf47d02da28395e7390f968421a3a3a2d731deb079e9fc51bfa SHA512 5b2ec73f737009ba21dac7dbb9504235fdef14dc45a6450e1218ba9e53dd29735ab4fa6c2854271916cc5c0244e09ae7ab19467408b72b9b82ca238e14d3fa4f DIST tzinfo-2.0.5.tar.gz 226225 BLAKE2B 44e6d65dadc4828e4b8803c0badf381e18afe7412e090c4d91147b144f300a8c0e3189bc8e8325625678a57ea6a1179a1ed277f5fb54230ce77c46ba6b0100c7 SHA512 a3c59b1f390b186356b9219b0fb18bb762d2123936553738e1068ba46bf0206c5a0394b1d46b5c7b891aa55b8afa839858837511f53e3ef0eb0e85fe3f23b57a +DIST tzinfo-2.0.6.tar.gz 226143 BLAKE2B 8a7918c0edc1e70f3b805dfcdc351d9ec78f42a66973ec7cb0a8bfad31d9ccdadefe93b941aca5c15510ff857bd8282046e8d20d02f308934e087de541c26383 SHA512 88af68b13becc4b6b85b4653df95e19e24d8804ac2b2393ef03cfe551b5eaee827a5aecd2156a56572d554dd5239ae828a65e5c49854671aa1989f5c31ba320d EBUILD tzinfo-1.2.10.ebuild 1030 BLAKE2B 6667c23496b066d35f5a07840db39a6a59dace75ba283493fefb150f7020e533486a13016986a9d6d5984fa8c5b1f871b3e5aa4321544d57dc7a39001c5f80d6 SHA512 b5235a70fb5d8a370e9e2c57d93b96db53bceb77d1fa12ccdc9fb1e25f2f97f49d1f95ff31219b5c409ec259f4694d8f0331db9685afe6b76db2ac621e448955 +EBUILD tzinfo-1.2.11.ebuild 1030 BLAKE2B 51d592c907eea517d3d3ee59a94c26ee8e530a75ddd18b2708e9ab23a668eb29f8a99f830dbc788a3f48885ed7734feae7b2c086079397f1f8edd98aa900cd87 SHA512 b5283295bf0a796e4eec9c17c3868ba3399da9649344cd830afe24599f701164fc0b19a9553e8c5695543fbbec409c3faf7b21e433332c8f0f19b80f0d77d102 EBUILD tzinfo-1.2.9.ebuild 1027 BLAKE2B 3d499bc4a9c72c6d840d1143d2333cd0b62b12ca0ec0264abedec95346fb7c272e9e2fda576e072dbd141fc61b669d99476479b1b9ff54e9e34187f58034cfb3 SHA512 753812b51b74e65c769e77bac182506c6d7ebc4670fe7fb25e1080215ffade7350f93b401eb3f61de7a2c6a52f7e74172b8257ba7e82510403b67cf7aa218f25 EBUILD tzinfo-2.0.4.ebuild 1442 BLAKE2B 6dadae626081a2746c2df00cc70e9c3217a66cce36adb3badbdfcaea7a8cf59a8f34f12525a38eb5b629627167e1511bf64f252271bf29e99749d1178f9056b7 SHA512 039f1f569a05b3553cd75bc3f4c3020de84fdac559f39df78124dbb10a68e6835aa8a16e0ac22ec70e30bf798debab66e78f8bb75b02e9592d97814cd6486ef2 EBUILD tzinfo-2.0.5.ebuild 1438 BLAKE2B 450c75d0c3f184a194fcefdb492fb05b7d0ac4651732fce913ac4bb8aeff743165b7e8aa50cf02d5712a938a408703e70237142286d2a7263ab9ae4623f73e73 SHA512 53fa4328a3abbf530f4f8c41832a1df91ec7aab5a8b761cb81ac3f6ad11595f96c36c418b7942f9cb7ca086ad1cc8a68655b36fb0635f36b01bc118e1eb50a75 -MISC metadata.xml 252 BLAKE2B 77e9556ac1d210367a95f4c47816618b685c707cf01d1543d988338e14794fb9ccfb9976ebd11f389db618616d91ee024d8e46dc3a1a356ba7a017a7796b44d1 SHA512 0a970a16d73747993198dd301a3127cef7e65a9f46816b40ca149669ba617826c1d81bac1e5ecf93d16079922964923d37301cd8160f22c823c1ec3b79ee56f1 +EBUILD tzinfo-2.0.6.ebuild 1438 BLAKE2B 5b3ec51de4ae2ac13df40d9a74df53a655707da67400a40757860a765a7fb51134f9c723d3ab74b3cb5ce794263f1e14418bf09b7f2050576600a273d0ec2c3b SHA512 d7dbf1cd395a7a0fdba13ad8d431a0690ef8111a282bdb7756bace24237bf322f40afaed905707c6b59f41836cc5d543209d33470b5ab803cfab94557dadc1a6 +MISC metadata.xml 390 BLAKE2B 899629cf25c7046c47e5e6349fa812c5a0e68dfb3cc73df69c1492729992a4fb70c927671cd8847211fc1a3b86fa97844561dc97a442867c3181541824753ff7 SHA512 2b5ef8fce5c3f34ed25d124d0997fe20c1bb9a1ad880e5729a1d6ddb59a8e378fcead77155d4d81f39293d582eff9e8b32fb5f811b508a6764fe5bcc654ba926 diff --git a/dev-ruby/tzinfo/metadata.xml b/dev-ruby/tzinfo/metadata.xml index daac6fdb7252..46ec7bdfdb80 100644 --- a/dev-ruby/tzinfo/metadata.xml +++ b/dev-ruby/tzinfo/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">tzinfo/tzinfo</remote-id> + <remote-id type="rubygems">tzinfo</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild b/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild new file mode 100644 index 000000000000..e1825e3ec024 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-1.2.11.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-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/thread_safe-0.1:0" +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Avoid taint tests that throw SecurityErrors on newer ruby versions. + sed -i -e '/_info_tainted/askip"SecurityError"' test/tc_ruby_data_source.rb || die +} diff --git a/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild new file mode 100644 index 000000000000..18d779bdbc52 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-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 +} |