diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-04 00:07:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-04 00:07:50 +0100 |
commit | dafa6f367240d1f5329ca89fb6f78985dbdc025b (patch) | |
tree | 96ba5ff3cc1d06604d928ca1b58ed15a4f8733dc /dev-ruby | |
parent | a3bb28551df94028000fb72308a9e9baa01458b0 (diff) |
gentoo auto-resync : 04:06:2024 - 00:07:50
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 110304 -> 110302 bytes | |||
-rw-r--r-- | dev-ruby/acts_as_list/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/acts_as_list/acts_as_list-1.2.0.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/ffi/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.17.0.ebuild | 66 | ||||
-rw-r--r-- | dev-ruby/patron/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/patron/files/patron-0.13.3-fix-warning.patch | 24 | ||||
-rw-r--r-- | dev-ruby/patron/patron-0.13.3-r3.ebuild | 45 |
8 files changed, 183 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex ec5baa01f72e..ec9dbf87f8e4 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest index eb4d1515af1d..712c644e451b 100644 --- a/dev-ruby/acts_as_list/Manifest +++ b/dev-ruby/acts_as_list/Manifest @@ -1,3 +1,5 @@ DIST acts_as_list-1.1.0.gem 41984 BLAKE2B abeb0325795276294451b4cb86e20dab6871003c72679ce28f9326cd844234ad56457a03d9b9ecd81b8c143deeefc25dd15df88a38ebdd1324a953b2399465e7 SHA512 bdcaf07bc4ad3854d68c8d95e666e86c2500474ffa212c315b6b4abd321341ac782c0e301f2c859c12b80ecfdd1cc743ccf8a7bdbdb36e30fafcd98d4928a00a +DIST acts_as_list-1.2.0.gem 41984 BLAKE2B 98652e8b974501a499fb06f73807adfca411912f7b6e705ca91f654b814c61d419018af068ea4977abae55b6ebcea7d2dd7c48a2b107f0d31f1027799875978a SHA512 16e5b5549db7884077b3fe3131b1f91f3b857a083ab80b9b1c19a59b25740b53b032081743f222850fd06cc5892164e0c06cc0c63ae35cf646920f5e7d87292d EBUILD acts_as_list-1.1.0.ebuild 904 BLAKE2B 78a9fd1533080ecdeffa18579fbf9e7ba3ccff01ea7277a3f23fe24c7b64b7159830e8d1b10865e769f67eaac95d1de9efd833fa9e648f9afc9486f62b2848ed SHA512 492761a0a0204a1406c7005c8fadf10bbb36fc0fe159b4f4e91bebb0eda16f5d17c701fc2e35441c92a8da745682b3ae4408d377e535a298ef0208389e1db6f9 +EBUILD acts_as_list-1.2.0.ebuild 1000 BLAKE2B 3e6d04f6b4b6bb1d9269294fa3bc0af180b8304cdc619dedd31e3ccf8fe7ea51c045f242263b48c64fba2d5e42cc38924d5b84970ffdacb7e2124139d8f6100d SHA512 82479f9b8dd2656da0a1821af66eca003efb685300f33f5f0eaeb0e53803643dab5c1e0a9fcbc2a90e1631532d80625e3fcf19641b906679ea292a466a631667 MISC metadata.xml 347 BLAKE2B 2d2ba105cf2f5b444977deadbfe99bc236c4a5a2ee227ebc72215161b9cd9dc0decb036f71205ced7560adffcb55c7bba220163d4a24b6113f8e54241615d7d3 SHA512 64a245beb42b2c7e87ba21faa689a45ea32b2222f675b0b3e72cf666bec981a74d62e60cd1090a304309bbc6d516cc4170b70dd71137bf0fa4b0e59211d60665 diff --git a/dev-ruby/acts_as_list/acts_as_list-1.2.0.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.2.0.ebuild new file mode 100644 index 000000000000..c33afe589595 --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" +HOMEPAGE="https://github.com/brendon/acts_as_list" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activerecord-6.1:* >=dev-ruby/activesupport-6.1:*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-2.1.0:2 + dev-ruby/test-unit:2 + dev-ruby/timecop + dev-ruby/activerecord[sqlite] + )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die + sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die +} + +each_ruby_test() { + DB=sqlite each_fakegem_test +} diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 49d4e3459288..bd3aaecfef7a 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -6,7 +6,9 @@ AUX use-libffi-closure-allocations-on-hppa.patch 761 BLAKE2B a6f460a967752b20ecf DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579 DIST ffi-git-1.16.3.tgz 183977 BLAKE2B 97f4f0bfc8f43e3a3651b48345c72cc8913f5658c2e838835340082205880309b8f270116dffbc253c78e63ae1c94f392c6ef8741e52852890ac81d00767de19 SHA512 622aae9d55b8e859eab58988eaf976206010ab816351567f2525e606b83b3349ce6b9f114208ba9a7c6de97cc6fe73f5708cf968b7dea0944134c6cb44b55c9b +DIST ffi-git-1.17.0.tgz 192947 BLAKE2B 86340ad6f2768c68f50de28cd5ee10adccee28a93b71136185993025d13fba2b035c6ff212583a941934bb65822ec60ca3d9968f100eec372956a1d030692650 SHA512 70ba69172bdaebc731a3aa1ae8a2959a31ca82d27d1fb9784bb07b51ba8d4912fc1c880fd709e1aad048fc1f70a161d6c4814617ff403d2d94c44758b143db4b EBUILD ffi-1.15.5-r2.ebuild 2011 BLAKE2B a8ee77023acb76d3697a3f4aabeb9fd7b698b10b5cfdc5668b2307ebd8959e6286929370ee8392db592bf9ba928f98cfa4a0d28e6a8a28cd0109131e8d063a72 SHA512 13dff67eb0bf7b5ad5da6d9832884789dbd87ed751223c6e8176b8e0fcce4c3178ecf88d33db25176103909cd4e357ed6c72732c2d2d84c2c3252893b4da6841 EBUILD ffi-1.16.2.ebuild 1699 BLAKE2B f22cde54a65ba14d8026330f3743c8b9fe91142315a169632f5694d4b659810609804c6f2e2833e257e5a9d97beb6d4f4a29f45cb36b2f512d8e6ccc5ad9e8e8 SHA512 bbaeec58868e19d0d6ad91f4a49b358971d6ccc215e3f1fef63bf7762b42ad19393ab0080eaab25afd79f1fe700126fe07a3f9981b12c17897fffc86a0522781 EBUILD ffi-1.16.3.ebuild 1713 BLAKE2B fa47cfe8ed52e1e8c52e4ad14ff72ea92c3f8f224ad4b42c94775545267cfb4c10b11dced426fa7ae4f17a42e810aec4607dd08d7aaf5518f9a13a625fb4672f SHA512 3180bbbfae9e5c84912f18027a90e798b21f4ed315da7cb822c15850860438e34a0f682b993a8636833ee51e1b77cf75c25421bd004a07446366fb45a2a44834 +EBUILD ffi-1.17.0.ebuild 1713 BLAKE2B 20fd925ab5e75322e80af61fec5af2b6a0568c0a70341e8950f64f1d9a06734c7b1956b121b7d56237840fcd19b4ff419be2ebdb05731edafde72c1692b95820 SHA512 a6a97f519d4bf398325e6b079950689e33b8ddc8c5a3bc716e7f5be4a0e0d8237d923391fdcaccfc00c5976018356f767956068cd82f4a4d9acdd2aba2731da8 MISC metadata.xml 334 BLAKE2B 02ad2c909797d4aaf2a23497611777a790000683866cfbd9d12c4b19cca6de902e219584c4edc85c46b4b0dc51c63e770506a077a4c1052b46f8df19a9588c15 SHA512 e72dc6ce177ad3881f5465f10cd44ca6740b7603ab4e55cfa9e6088be3c6615abeefaee4b717e76fab2850c64d66eee626115544e10709f64c4187f1987bcfe3 diff --git a/dev-ruby/ffi/ffi-1.17.0.ebuild b/dev-ruby/ffi/ffi-1.17.0.ebuild new file mode 100644 index 000000000000..0ca030c4fc9a --- /dev/null +++ b/dev-ruby/ffi/ffi-1.17.0.ebuild @@ -0,0 +1,66 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest index 1c7bcc0f3665..93e9e8cd6c8a 100644 --- a/dev-ruby/patron/Manifest +++ b/dev-ruby/patron/Manifest @@ -1,3 +1,5 @@ +AUX patron-0.13.3-fix-warning.patch 747 BLAKE2B a486496bb438ef5ab294102d850c8e68fbd99442f58ddd00ce8ecfae9ae411d78fa40a229b51f3fc0a806542c95220fa953af3651744d3d0e9e560e6b71ce55a SHA512 c3d19f304b95f32b043458d34b7b14c5ad89035b4ab5585b8665229698e55379c551b0157b6ba69be81b273e537fcfde52c8fed57747edc23d54ab50ab443fcf DIST patron-0.13.3.gem 65024 BLAKE2B 87aa69aab49978d14a80ed9e09d74d7853da3512875cc3aecd3f387d1523b85c84625b57a5826e5f5f999cec4feaae58c1aaae96582144a5c9dc537c9d5a4224 SHA512 afbbbd9570e338a5d1b97b4ebeda76ac95a22c29d908629723d345a47400183c2ccee67ebcaf5b6f9ecb032eb3b847e70ec9eebff75b33045a3665c215abfbd0 EBUILD patron-0.13.3-r2.ebuild 1119 BLAKE2B 4445953b2c88079755fb876ba5a529355fc38662b553ec8beff8b489ce845f01a2c9f05bcdfed2667baff61bc5d37fef74e313660373b94dd81e9a367e7ca19e SHA512 12d8b2079ce627dab7337669c7713ff7f826f4a64271472fdcc67f627ce98f4ba5972a22603e964dfd57e236c1d2594d5771342d5232c2413366474a6d9209ad +EBUILD patron-0.13.3-r3.ebuild 1175 BLAKE2B 2fb3517c4ed478bfcdb534a49040e10fcc3b43d790198873318ff69be3ac2b1a3222f27c6c1dbf710933af8e48d818a65ee1ed86540509613447d2b24a240aeb SHA512 4862daa8493e18310c0add2c2973fd6a8a2b8b77c9e37f83fba8fa76f0756338f2568611d4df93d0387d2afd55d04cfc0020ecf406e67f1c6ecaef750628695d MISC metadata.xml 324 BLAKE2B 80545356beebac06bf5b95f99be2f12fbb2fd4284e28036de156f75bef023216880bea03c9497123b0c111d4d37902b6ba3d9cab37ce5bc47b19e9d3e5e944f3 SHA512 1f260c57a3cce5424764eb1f287734d7e7093e08ffcdcac0c2f8ffe3c54a1aa53b21c008783b4a8b68bf20270d988b0ec108e9c647cafe347898a29d08b6a1ea diff --git a/dev-ruby/patron/files/patron-0.13.3-fix-warning.patch b/dev-ruby/patron/files/patron-0.13.3-fix-warning.patch new file mode 100644 index 000000000000..ff33cdcc287a --- /dev/null +++ b/dev-ruby/patron/files/patron-0.13.3-fix-warning.patch @@ -0,0 +1,24 @@ +From 2b84ba489fb28f474195d215be7cc6bed43c32bc Mon Sep 17 00:00:00 2001 +From: Olle Jonsson <olle.jonsson@gmail.com> +Date: Thu, 2 Apr 2020 21:02:51 +0200 +Subject: [PATCH] Avoid warning `*' interpreted as argument prefix + +--- + lib/patron/request.rb | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/patron/request.rb b/lib/patron/request.rb +index 9050ef2..3ac998a 100644 +--- a/lib/patron/request.rb ++++ b/lib/patron/request.rb +@@ -34,8 +34,8 @@ def initialize + :low_speed_time, :low_speed_limit, :progress_callback + ] + +- attr_reader *READER_VARS +- attr_writer *WRITER_VARS ++ attr_reader(*READER_VARS) ++ attr_writer(*WRITER_VARS) + + # Set the type of authentication to use for this request. + # diff --git a/dev-ruby/patron/patron-0.13.3-r3.ebuild b/dev-ruby/patron/patron-0.13.3-r3.ebuild new file mode 100644 index 000000000000..d09e7a4912f3 --- /dev/null +++ b/dev-ruby/patron/patron-0.13.3-r3.ebuild @@ -0,0 +1,45 @@ +# 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_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/patron/extconf.rb) +RUBY_FAKEGEM_EXTENSION_DIR="lib/patron" + +inherit ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://github.com/toland/patron" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +PATCHES=( "${FILESDIR}/${P}-fix-warning.patch" ) + +ruby_add_bdepend "test? ( dev-ruby/rack:2.2 www-servers/puma )" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die + + # Ensure a compatible rack version + sed -i -e '1igem "rack", "~> 2.2.0"' spec/spec_helper.rb || die +} |