diff --git a/dev-ruby/pstore/Manifest b/dev-ruby/pstore/Manifest new file mode 100644 index 0000000000000..9191f5290bd58 --- /dev/null +++ b/dev-ruby/pstore/Manifest @@ -0,0 +1 @@ +DIST pstore-0.2.0.tar.gz 12347 BLAKE2B 77dabdd3d0c3babc1175399b22b3906e4c46b79bb6616c79b2e37225238282a16e94ed81b7227cc43c1067ee961a02011d18d8c26ad3ba0c62ffe188e3c4d609 SHA512 22002643941773e0e3b2154de9085d8bdf0bf4667e4af8648df23cfc20f6e17c7b5b9b42b76d7e3ec1101904c19a357c5f9eb4c4a9eb9f5389c5187ad1bc75ca diff --git a/dev-ruby/pstore/metadata.xml b/dev-ruby/pstore/metadata.xml new file mode 100644 index 0000000000000..95c1364d30127 --- /dev/null +++ b/dev-ruby/pstore/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/pstore + pstore + + diff --git a/dev-ruby/pstore/pstore-0.2.0.ebuild b/dev-ruby/pstore/pstore-0.2.0.ebuild new file mode 100644 index 0000000000000..4984e729e7fec --- /dev/null +++ b/dev-ruby/pstore/pstore-0.2.0.ebuild @@ -0,0 +1,29 @@ +# 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="pstore.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Transactional File Storage for Ruby Objects" +HOMEPAGE="https://github.com/ruby/pstore" +SRC_URI="https://github.com/ruby/pstore/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 ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_depend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__FILE__/"pstore.gemspec"/' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}