From 37166e155183679767e8531631ff2ee317566e42 Mon Sep 17 00:00:00 2001 From: Christopher Fore Date: Wed, 1 Apr 2026 18:38:07 -0400 Subject: [PATCH] dev-ruby/phlex: new package, add 1.11.0, 2.2.1, 2.3.0, 2.3.1 Commit e00abf30a8f09bde1a710acd7f4af6b93e7423ff from graaff.git. Dependency for glsa-overview. Co-authored-by: Hans de Graaff Signed-off-by: Christopher Fore Part-of: https://codeberg.org/gentoo/gentoo/pulls/484 Merges: https://codeberg.org/gentoo/gentoo/pulls/484 Signed-off-by: Sam James --- dev-ruby/phlex/Manifest | 4 +++ dev-ruby/phlex/metadata.xml | 14 ++++++++++ dev-ruby/phlex/phlex-1.11.0.ebuild | 39 +++++++++++++++++++++++++++ dev-ruby/phlex/phlex-2.2.1.ebuild | 42 +++++++++++++++++++++++++++++ dev-ruby/phlex/phlex-2.3.0.ebuild | 42 +++++++++++++++++++++++++++++ dev-ruby/phlex/phlex-2.3.1.ebuild | 43 ++++++++++++++++++++++++++++++ 6 files changed, 184 insertions(+) create mode 100644 dev-ruby/phlex/Manifest create mode 100644 dev-ruby/phlex/metadata.xml create mode 100644 dev-ruby/phlex/phlex-1.11.0.ebuild create mode 100644 dev-ruby/phlex/phlex-2.2.1.ebuild create mode 100644 dev-ruby/phlex/phlex-2.3.0.ebuild create mode 100644 dev-ruby/phlex/phlex-2.3.1.ebuild diff --git a/dev-ruby/phlex/Manifest b/dev-ruby/phlex/Manifest new file mode 100644 index 0000000000000..aa3afbf4ef45a --- /dev/null +++ b/dev-ruby/phlex/Manifest @@ -0,0 +1,4 @@ +DIST phlex-1.11.0.tar.gz 87149 BLAKE2B 424e79b7fb3f21f477bab85d83c40d24b1714d041adf108bfb533961ff8db6c67424a789a0c8c91716b4d1a13d9e8ed320a4f7628b99220bbb1c80f82f0e5896 SHA512 bc301bb8a7e1277cdcb29968312531622b6304a1f0de60b9ff2f478681937866a85fe4aaff1027bc775702d48b0a5d96d84f70b92ec5e5528822821b0db5d403 +DIST phlex-2.2.1.tar.gz 89993 BLAKE2B 8e0d8cc1658419364173d0ef082a3bbdb979a798ad276e522eff27b2ed562bf8a2367e9308ac9e3611adbe55607c0e190dc2ebb11ca9a1b1bd8d3286934f2515 SHA512 d8c2115c19901c870d55063f58cb6e8e672eee1f70900881e59cf94ad79fd608a654f153248dd9defa6d5cdaf8fb9a28a6457b5d0265189b64d95e8a609bd51e +DIST phlex-2.3.0.tar.gz 90278 BLAKE2B 0be019e0ab464b438b22940a4c9873cdb19309550164b64ddacdf402524b1867f8ba817cca95ff39f0e0a40022bac8854726ecdbf7960ef751a85d4bc87549aa SHA512 01e336d09c6bae7056845c19eeef6e4b1e9e9fec3cbe850409ca9088efb1358a3fb4af2c04e6160d4456a537feaea95da2d4441153103799615cad2c793df8a7 +DIST phlex-2.3.1.tar.gz 90800 BLAKE2B 3567bd017d14540f5e66a4a0b4c781000224c928feeda4969877a7f62903cfdb5c4c8b2e1fd4b2cb07adb063cb00a3854e30daf4d84cba40de8945b610b39dde SHA512 4f73b56fcb12f4761f14be07bc9730a71a06f6a8745f2966942d03ca03b3e8f95823233dc5306558c0b53201a2388c5bbb4e5a33ac586b4407405b35cac69bf4 diff --git a/dev-ruby/phlex/metadata.xml b/dev-ruby/phlex/metadata.xml new file mode 100644 index 0000000000000..15abd4cda216f --- /dev/null +++ b/dev-ruby/phlex/metadata.xml @@ -0,0 +1,14 @@ + + + + + csfore@gentoo.org + + + ruby@gentoo.org + + + yippee-fun/phlex + phlex + + diff --git a/dev-ruby/phlex/phlex-1.11.0.ebuild b/dev-ruby/phlex/phlex-1.11.0.ebuild new file mode 100644 index 0000000000000..bad16d3e9f256 --- /dev/null +++ b/dev-ruby/phlex/phlex-1.11.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="phlex.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="A framework for building object-oriented views in Ruby" +HOMEPAGE="https://github.com/yippee-fun/phlex" +SRC_URI="https://github.com/yippee-fun/phlex/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + >=dev-ruby/concurrent-ruby-1.2:1 +)" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/bundler/I s:^:#:' \ + -e '1irequire "concurrent"' \ + -i config/sus.rb || die +} + +each_ruby_test() { + RUBYLIB=lib each_fakegem_test +} diff --git a/dev-ruby/phlex/phlex-2.2.1.ebuild b/dev-ruby/phlex/phlex-2.2.1.ebuild new file mode 100644 index 0000000000000..7f652dd9f9e68 --- /dev/null +++ b/dev-ruby/phlex/phlex-2.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 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="phlex.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="A framework for building object-oriented views in Ruby" +HOMEPAGE="https://github.com/yippee-fun/phlex" +SRC_URI="https://github.com/yippee-fun/phlex/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/zeitwerk-2.7:2" + +ruby_add_bdepend "test? ( + >=dev-ruby/concurrent-ruby-1.2:1 +)" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/bundler/I s:^:#:' \ + -e '1irequire "concurrent"' \ + -e '/simplecov/,/SimpleCov.command_name/ s:^:#:' \ + -i config/sus.rb || die +} + +each_ruby_test() { + RUBYLIB=lib each_fakegem_test +} diff --git a/dev-ruby/phlex/phlex-2.3.0.ebuild b/dev-ruby/phlex/phlex-2.3.0.ebuild new file mode 100644 index 0000000000000..61709e8cc22dd --- /dev/null +++ b/dev-ruby/phlex/phlex-2.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 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="phlex.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="A framework for building object-oriented views in Ruby" +HOMEPAGE="https://github.com/yippee-fun/phlex" +SRC_URI="https://github.com/yippee-fun/phlex/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/zeitwerk-2.7:2" + +ruby_add_bdepend "test? ( + >=dev-ruby/concurrent-ruby-1.2:1 +)" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/bundler/I s:^:#:' \ + -e '1irequire "concurrent"' \ + -e '/simplecov/,/SimpleCov.command_name/ s:^:#:' \ + -i config/sus.rb || die +} + +each_ruby_test() { + RUBYLIB=lib each_fakegem_test +} diff --git a/dev-ruby/phlex/phlex-2.3.1.ebuild b/dev-ruby/phlex/phlex-2.3.1.ebuild new file mode 100644 index 0000000000000..b82b8db03953a --- /dev/null +++ b/dev-ruby/phlex/phlex-2.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 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="phlex.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="A framework for building object-oriented views in Ruby" +HOMEPAGE="https://github.com/yippee-fun/phlex" +SRC_URI="https://github.com/yippee-fun/phlex/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/zeitwerk-2.7:2" + +ruby_add_bdepend "test? ( + >=dev-ruby/concurrent-ruby-1.2:1 +)" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/bundler/I s:^:#:' \ + -e '1irequire "concurrent"' \ + -e '/simplecov/,/SimpleCov.command_name/ s:^:#:' \ + -i config/sus.rb || die +} + +each_ruby_test() { + RUBYLIB=lib each_fakegem_test +}