diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
commit | a3bb28551df94028000fb72308a9e9baa01458b0 (patch) | |
tree | 33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /dev-ruby/timecop | |
parent | 6657c680376cedf378fcf328e5fa03ed3b41d580 (diff) |
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'dev-ruby/timecop')
-rw-r--r-- | dev-ruby/timecop/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/timecop/timecop-0.9.9.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest index 17dbc99616e3..bae0d1375c69 100644 --- a/dev-ruby/timecop/Manifest +++ b/dev-ruby/timecop/Manifest @@ -1,7 +1,9 @@ DIST timecop-0.9.6.gem 17408 BLAKE2B 53afa8313be94fb8774812b014f11d9a134b51b7dafcc0fd8d91d10756e042bfd6d56b10f8072c1d606519e532beb2e02032bd4e3f6d45b4cf41dd968ba86224 SHA512 a5cbdf38caa5bccb9887a6abb5d99bdd1470c9ff8d52d19f0c46f116dc73b62512f76021adc1ec98ca4abe85ca61a4ab1e821d80980fa7ab3c821abd13b9695a DIST timecop-0.9.7.tar.gz 17818 BLAKE2B c978a3765864963b4dbbb8a9cf2172208fa7b66afd68417a057bba44b6d35141bab5182bef3404d6233f394e9d874026886dc85b2e400908bdbf2f3af273b6bf SHA512 4db43b655225b8017769497b5ffc88d7b6d728677439ade09d8e0b8e8ef01c0307e49575ed9e1d2ac379cd222a5a0d34feae018d15ee34b70934e93a019a76e6 DIST timecop-0.9.8.tar.gz 17936 BLAKE2B bb66dac74df498b6a5c284805c2c8a486523d43c2923c2e11f65d24bc2e9ad59c3bdd356bf3e93946859ed9e95ac9924e48747afb17ec81a5378e0370d7dff20 SHA512 cbf74e8d4e459f17cb841fee14353feccfa26e401d999521abb5653639a3d6b8e0dbd73d4317cb18b185d33d23e20e7603992cd6e2752ac74cbf0c0c927263b3 +DIST timecop-0.9.9.tar.gz 19926 BLAKE2B 452f013c9326291207001555f62dd3f4cb8fa8d08214465abae7e4a44fbd62df2c001c52c2068438c11c60c9e8ade604407858d6990c25ba3fcca770e90050be SHA512 62612d44198d5992721df5b5b56993d81b4d0a2c75a8b1e8d1072742e3d28b4b4eeaabda7c08902365610065af277e30be366b8340b16e8faeeba9c435586cd2 EBUILD timecop-0.9.6.ebuild 1025 BLAKE2B c1a0ba1550ac783fc0701f1fd1f15a524c4bbc3f460d2e5a4f901a5a549a8cd30ddbbb7bb6706461592afb569cf2c399843e9a5e3e0ffe0e98a30d42359e85cb SHA512 41552d7765f8cc6b53e23f7ecaf3569caa5c85b913ae7593d910d836f8285d91249359a1f1785fc271ac61c2397ddc8946675144a6067ff70e94cafffdba1478 EBUILD timecop-0.9.7.ebuild 1131 BLAKE2B 55f4682d36adf884c2866a77afde4722ce6d36acfc874ea73a38a5439409730aba60ff797ba6c4c6c3b63a9b3d626565e86a1a54c29d1df82dcd8175b60e8940 SHA512 ae2190d9f47fa67900f43c63804237dffd0372de70d5efd3448a89f2f00d9b728982f8c3d06bf48a5efc77218a915f9b5afa08d6c9f12a1996c604dc8f40ebd4 EBUILD timecop-0.9.8.ebuild 1131 BLAKE2B d8587a2019e09853cd06032a04f1c02ff397503e21d109efeec93be702a69a6e14badc5c39fd945cd0cfc92d556a7968cdc2989570b7629ec2f91ee3bdbd11ab SHA512 ce2d672a3987f204278a5c9dd293246c6180a89e789109f0ad7b3d979d2cb1830c81755e133e894b8fb8cbb8666a4721fb320dfa71a50c6e20503d9a68407641 +EBUILD timecop-0.9.9.ebuild 1135 BLAKE2B 996085ca80f0b07f11d2378af56ec2e4ba39106ad6557f3ca9cf75151dfd4f134999d995452da6ebcff858c9c3479799f9da0b95302f0124e9ab5b776f5debf3 SHA512 78a0b5a17e1778ee948baa147915db4cb516a788c13961f8a72c3fbf7b3ded03dc54c629db7911b38855f401c487fee909fc53af0d7ed4dd5af01f4b34ae2882 MISC metadata.xml 348 BLAKE2B bba76a39d1feb832ddef50069d8a62e8449ecb1db1aecf3388e281d908447f0d61cb8dbe0a41b08ee68e11293778cd3a9b150cd5da705e2f56f1559a5147e7d3 SHA512 86bd1dc85754e017925b4a527b459260d8cda42ceee3dedef549d415bdc5326705e9eda325af5761876297d0beb6210633ce1445cd2745565ee720852d86d13f diff --git a/dev-ruby/timecop/timecop-0.9.9.ebuild b/dev-ruby/timecop/timecop-0.9.9.ebuild new file mode 100644 index 000000000000..8c17e583d7c0 --- /dev/null +++ b/dev-ruby/timecop/timecop-0.9.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" +RUBY_FAKEGEM_GEMSPEC="timecop.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities" +HOMEPAGE="https://github.com/travisjeffery/timecop" +SRC_URI="https://github.com/travisjeffery/timecop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/activesupport dev-ruby/mocha )" + +all_ruby_prepare() { + sed -e '/bundler/ s:^:#:' -e '/History.rdoc/d' \ + -i Rakefile test/test_helper.rb test/timecop_with_active_support_test.rb || die + sed -i -e '/rubygems/ a\gem "test-unit"' \ + -e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + for f in test/*_test.rb ; do + ${RUBY} -Ilib $f || die + done +} |