commit: 4faec3c6e0392ce826620cdccff7e94157d429cc Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Dec 29 20:38:43 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Dec 29 20:38:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4faec3c6
dev-ruby/pstore: new package, add 0.2.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/pstore/Manifest | 1 + dev-ruby/pstore/metadata.xml | 12 ++++++++++++ dev-ruby/pstore/pstore-0.2.0.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-ruby/pstore/Manifest b/dev-ruby/pstore/Manifest new file mode 100644 index 000000000000..9191f5290bd5 --- /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 000000000000..95c1364d3012 --- /dev/null +++ b/dev-ruby/pstore/metadata.xml @@ -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>[email protected]</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> 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 000000000000..4984e729e7fe --- /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 +}
