Files
gentoo/dev-ruby/scanf/scanf-1.0.0.ebuild
Anthony Ryan 86d37f1963 dev-ruby/scanf: new package, add 1.0.0
Required by app-admin/openvox for both runtime if users intend to use
scanf and testing. Looks like puppet's built-in scanf() function has
been broken since Ruby 2.6.

The starting keywords are derived from dev-lang/ruby, because this used
to be part fo the ruby stdlib and underwent the same testing and
portability.

Bug: https://bugs.gentoo.org/965200

Signed-off-by: Anthony Ryan <anthonyryan1@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46085
Signed-off-by: Sam James <sam@gentoo.org>
2026-05-18 02:14:52 +01:00

25 lines
625 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="scanf.gemspec"
RUBY_FAKEGEM_RECIPE_TEST="rake"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="Ruby implementation of the C function scanf(3)"
HOMEPAGE="https://github.com/ruby/scanf"
SRC_URI="https://github.com/ruby/scanf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"