mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
dev-ruby/bootsnap: new package, add 1.24.6
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1622 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
4b26a31aea
commit
dc1797ae0c
1
dev-ruby/bootsnap/Manifest
Normal file
1
dev-ruby/bootsnap/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST bootsnap-1.24.6.tar.gz 62596 BLAKE2B 640166df882820558fd778acb18589f0f10542879fcf869336814cf6a1c45068ac03884ecbecd7a5c26f30906e3ac8b07884651f8ba9a807a043256a86459dd9 SHA512 af38f19ee5a7cea7b0a433ac79a2c78a46ae698b5c3851c9c6e85da7be4d04ef60dbc739bf668aa5de15b45e0503f0f684924ca01a0abca713a908a06b949ed2
|
||||
51
dev-ruby/bootsnap/bootsnap-1.24.6.ebuild
Normal file
51
dev-ruby/bootsnap/bootsnap-1.24.6.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="bootsnap.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=( ext/bootsnap/extconf.rb )
|
||||
RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/bootsnap"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit edo ruby-fakegem
|
||||
|
||||
DESCRIPTION="Boot large ruby/rails apps faster"
|
||||
HOMEPAGE="https://github.com/rails/bootsnap"
|
||||
SRC_URI="https://github.com/rails/bootsnap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/msgpack-1.2
|
||||
"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/minitest:5
|
||||
>=dev-ruby/mocha-3
|
||||
)
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's:`git ls-files -z \(.*\)`:`find \1 -print0`:' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -e '/rubocop/ s:^:#:' \
|
||||
-e '/rake-compiler/ s:^:#:' \
|
||||
-i Gemfile || die
|
||||
|
||||
sed -e '/rake\/extensiontask/ s:^:#:' \
|
||||
-e '/Rake::ExtensionTask/,/^end/ s:^:#:' \
|
||||
-i Rakefile || die
|
||||
}
|
||||
12
dev-ruby/bootsnap/metadata.xml
Normal file
12
dev-ruby/bootsnap/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rails/bootsnap</remote-id>
|
||||
<remote-id type="rubygems">bootsnap</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user