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 <graaff@gentoo.org>
Signed-off-by: Christopher Fore <csfore@gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/484
Merges: https://codeberg.org/gentoo/gentoo/pulls/484
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christopher Fore
2026-04-01 18:38:07 -04:00
committed by Sam James
parent 6d500f7128
commit 37166e1551
6 changed files with 184 additions and 0 deletions

4
dev-ruby/phlex/Manifest Normal file
View File

@@ -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

View File

@@ -0,0 +1,14 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>csfore@gentoo.org</email>
</maintainer>
<maintainer type="project">
<email>ruby@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">yippee-fun/phlex</remote-id>
<remote-id type="rubygems">phlex</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}