mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/pp: new package, add 0.6.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/pp/Manifest
Normal file
1
dev-ruby/pp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pp-0.6.2.tar.gz 12063 BLAKE2B 7e76e95f8fe5873c9989037bcaf2df228561ec76c38215db2e5e243fbb058359fff000b1b0f1565e3cb1cc1e4a7a17f8b9d3838d0126495e94a34d67b4591621 SHA512 37657cc53f0522dde19c8be52c8eea805e8ba8b651d233e3c1096dbd6c8722f22d012548f0972ae95c915cb64b4bf2a51ba3bae5fdc5f1b5632b6cbf1774fc5c
|
||||
12
dev-ruby/pp/metadata.xml
Normal file
12
dev-ruby/pp/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">ruby/pp</remote-id>
|
||||
<remote-id type="rubygems">pp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
26
dev-ruby/pp/pp-0.6.2.ebuild
Normal file
26
dev-ruby/pp/pp-0.6.2.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2025 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="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="pp.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Provides a PrettyPrinter for Ruby objects"
|
||||
HOMEPAGE="https://github.com/ruby/pp"
|
||||
SRC_URI="https://github.com/ruby/pp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's/__dir__/"."/' \
|
||||
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Reference in New Issue
Block a user