dev-ruby/pstore: new package, add 0.2.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-12-29 21:38:43 +01:00
parent 76d86dc019
commit 4faec3c6e0
3 changed files with 42 additions and 0 deletions

1
dev-ruby/pstore/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST pstore-0.2.0.tar.gz 12347 BLAKE2B 77dabdd3d0c3babc1175399b22b3906e4c46b79bb6616c79b2e37225238282a16e94ed81b7227cc43c1067ee961a02011d18d8c26ad3ba0c62ffe188e3c4d609 SHA512 22002643941773e0e3b2154de9085d8bdf0bf4667e4af8648df23cfc20f6e17c7b5b9b42b76d7e3ec1101904c19a357c5f9eb4c4a9eb9f5389c5187ad1bc75ca

View 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">ruby/pstore</remote-id>
<remote-id type="rubygems">pstore</remote-id>
</upstream>
</pkgmetadata>

View File

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