From 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 17 Jul 2021 19:04:28 +0100 Subject: gentoo resync : 17.07.2021 --- dev-ruby/facter/facter-3.14.19.ebuild | 99 +++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 dev-ruby/facter/facter-3.14.19.ebuild (limited to 'dev-ruby/facter/facter-3.14.19.ebuild') diff --git a/dev-ruby/facter/facter-3.14.19.ebuild b/dev-ruby/facter/facter-3.14.19.ebuild new file mode 100644 index 000000000000..249ddd7569a6 --- /dev/null +++ b/dev-ruby/facter/facter-3.14.19.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake eutils ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND=" + >=dev-cpp/cpp-hocon-0.2.1:= + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:0= + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + dev-libs/boost:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !