diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild | 3 | ||||
| -rw-r--r-- | dev-ruby/localhost/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/localhost/localhost-1.5.0.ebuild | 43 | ||||
| -rw-r--r-- | dev-ruby/net-imap/Manifest | 2 | ||||
| -rw-r--r-- | dev-ruby/net-imap/net-imap-0.4.20.ebuild | 39 | ||||
| -rw-r--r-- | dev-ruby/net-imap/net-imap-0.5.7.ebuild | 42 |
6 files changed, 130 insertions, 0 deletions
diff --git a/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild b/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild index 1afd836573e9..1db4fba01c1a 100644 --- a/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild +++ b/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild @@ -30,6 +30,9 @@ all_ruby_prepare() { sed -e '/covered/I s:^:#:' -i config/sus.rb || die + sed -e "s:/tmp/test.ipc:${TMP}/test.ipc:" \ + -i test/io/endpoint/unix_endpoint.rb || die + # Avoid tests that require unpackaged "bake" and require running # with Bundler. rm -f test/traces/backend/capture.rb || die diff --git a/dev-ruby/localhost/Manifest b/dev-ruby/localhost/Manifest index 79002813afaf..3221eff1fe1f 100644 --- a/dev-ruby/localhost/Manifest +++ b/dev-ruby/localhost/Manifest @@ -1,2 +1,3 @@ DIST localhost-1.3.0.tar.gz 2128850 BLAKE2B fe7db9958759be39107116b45ee1f8d3678a2407f25956ee551a41a18da2bb12b46add992ca2b9615b68f69156afc384c453318af5b77751095b643fb27b7344 SHA512 6196cf4ff79cd53c222e19158a7233b8ba384225f24fd791d92952c80b11c469e99d619c3825e0f831e99e2a822aaf69e3b3a9ed0dc2e1ad0316c8b6717165c5 DIST localhost-1.3.1.tar.gz 2127046 BLAKE2B 16ae987c53dba2a70ec324c7f79403d40e2b4345f92906c37b7f87814bdf8635f746823924b6c62cbeadee0565b1accd8fc340816ea5743c5e89cad4b952a755 SHA512 0120d58b80b0dd88f10ffcefaf67424950e77782ffc67f58144a18cb1d4fff29c4bd128fbff33e420b850a5a97c8670c945039950c59b1f448cb47bb588f5d3e +DIST localhost-1.5.0.tar.gz 13437 BLAKE2B 9c6c8cb668af49f1b8250b4f1d977854ecc8bf7fa931b5d41db0712d2811900d7e7380d2c1235eb6800d2ae57a4eeadf56b76a5805cdb2c9bdd5ecf2e53076e4 SHA512 f95a0f53d8c88d61ff28591aae53faac631989b422102dd02f25707532fa38c297700bce020897442a12352af4da1e84bae0be9f1fedbab7c409188fc0b31377 diff --git a/dev-ruby/localhost/localhost-1.5.0.ebuild b/dev-ruby/localhost/localhost-1.5.0.ebuild new file mode 100644 index 000000000000..cffaa67d6eea --- /dev/null +++ b/dev-ruby/localhost/localhost-1.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="readme.md releases.md" +RUBY_FAKEGEM_GEMSPEC="localhost.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Manage a local CA for self-signed localhost development servers" +HOMEPAGE="https://github.com/socketry/localhost" +SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_bdepend " + test? ( + dev-ruby/async-io + dev-ruby/async-process + dev-ruby/io-endpoint + dev-ruby/sus-fixtures-async + ) +" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/covered/Id' config/sus.rb || die + + # Avoid unpackaged sus-fixtures-async-http which has a huge dependency tree. + rm -f test/localhost/protocol.rb || die +} + +each_ruby_test() { + # Tests fail in parallel as it tries to use the same port so + # manually replicate ruby-ng_sus for now, as ruby-ng_sus runs sus-parallel. + ${RUBY} -S sus || die +} diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest index 821442fd3228..286b3ee95f22 100644 --- a/dev-ruby/net-imap/Manifest +++ b/dev-ruby/net-imap/Manifest @@ -1,2 +1,4 @@ DIST net-imap-0.4.19.tar.gz 261360 BLAKE2B 3266251edfa5c87ceeb105fbab9b435aa92e6ad714fc8a879725488fb06f5bad7db407231f0e30bc08f7b7c7709461b4d62285f103d333672ac82af2a82a0f2d SHA512 dd033e6ba8efb47c2b1c74b2d02c90501152c74f361ab26441a371a2cff72d6344f4f48edeaa1088e4460d1ebd7143d6eb3520ad56d02c28f5c9e878d037477c +DIST net-imap-0.4.20.tar.gz 268236 BLAKE2B f08faaa7e9d05f1e36ba1fb2e91c6e094d36a4f102677dff4e412710e0f6ada981937c9254c8232d8c194d2234a4338c189a7a3405eee4a0d6aacdbf14d00cf0 SHA512 3eb31fbc8fa781dd91a721e7060ebeb9d6937e9026479ab8a9d799ca695afe7f37266745a0b3317cb948a1ce6c1b451c56c5543802cb858d14c8a5cacbd374b1 DIST net-imap-0.5.6.tar.gz 288841 BLAKE2B 4ee63644b38c5e88ab6e901f6b8ee5a0622bcb241415bdcb22bd4436ff32125afe449ecf64fd937ab32cf8d5de536de0b196cc3268c4585dc124f16c059fb3f7 SHA512 39c10dc8c678383b3ac3d92196d8fe35bba6c766b842602e06bc8d601536c22b1e7d337930299936361b42a6c8223ce5b44c75e4c7b7cc4e42d0dcc447a8faca +DIST net-imap-0.5.7.tar.gz 297274 BLAKE2B c072de5936e5f0bf4c60668d620d7da0f83f9e7fadb0c4dd47a11a2f199a1e665756c951ddc2016e22e48b93984f024074f51ce8e4d06f77ba36681cb8a797df SHA512 cc65148da45cc6541af9db41907d396f5cdef37cac641743c791a100a8de8fdab8a84a360ab79369ad4bd9d057781c349922b75cd12366234b0e57f576511922 diff --git a/dev-ruby/net-imap/net-imap-0.4.20.ebuild b/dev-ruby/net-imap/net-imap-0.4.20.ebuild new file mode 100644 index 000000000000..d1b5f524560a --- /dev/null +++ b/dev-ruby/net-imap/net-imap-0.4.20.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby client api for Internet Message Access Protocol" +HOMEPAGE="https://github.com/ruby/net-imap" +SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/date + dev-ruby/net-protocol +" + +ruby_add_bdepend "test? ( + dev-ruby/digest + dev-ruby/strscan + dev-ruby/test-unit + dev-ruby/test-unit-ruby-core +)" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/net-imap/net-imap-0.5.7.ebuild b/dev-ruby/net-imap/net-imap-0.5.7.ebuild new file mode 100644 index 000000000000..a438747e3934 --- /dev/null +++ b/dev-ruby/net-imap/net-imap-0.5.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby client api for Internet Message Access Protocol" +HOMEPAGE="https://github.com/ruby/net-imap" +SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/date + dev-ruby/net-protocol +" + +ruby_add_bdepend "test? ( + dev-ruby/digest + dev-ruby/strscan + dev-ruby/test-unit + dev-ruby/test-unit-ruby-core +)" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -i test/lib/helper.rb || die +} |
