diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-12-10 08:47:28 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-12-10 08:47:28 +0100 |
commit | 842a1f19d234c17896e7102e691c95c5b552bbb7 (patch) | |
tree | 2c60e3d44742ca2ba0ac2b64300245fbfa6bbcdc /dev-ruby/facter | |
parent | dev-ruby/kramdown: cleanup (diff) | |
download | gentoo-842a1f19d234c17896e7102e691c95c5b552bbb7.tar.gz gentoo-842a1f19d234c17896e7102e691c95c5b552bbb7.tar.bz2 gentoo-842a1f19d234c17896e7102e691c95c5b552bbb7.zip |
dev-ruby/facter: cleanup
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r-- | dev-ruby/facter/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/facter/facter-2.4.6.ebuild | 61 | ||||
-rw-r--r-- | dev-ruby/facter/metadata.xml | 5 |
3 files changed, 0 insertions, 67 deletions
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest index 2d2f067a6ec7..9ab832b68885 100644 --- a/dev-ruby/facter/Manifest +++ b/dev-ruby/facter/Manifest @@ -1,3 +1,2 @@ -DIST facter-2.4.6.gem 246272 BLAKE2B 105a43b2697cde0a48d4fcf87e221cfcb348695f81722b8cfe2819a8f3fe19e575d22642a708c798648d05c71f54e7bf0281345320612a8fdb3b68fce993ec20 SHA512 a0a2bef37451ab96ed331c79171f77d89b6db430b083e6888a306fa5b57a72986b7f600cad3e09b5f4706e54736d1d32ea25525fe18a6108cc95f315da16664a DIST facter-3.12.1.tar.gz 390863 BLAKE2B 3326fc52e95e73c3f083fead5b9e5c6e4fa691d99c5948dc2ffb1a1aeebc928e6a08dd4d09b417cbb33cecb776d75c488956df7b2fb9c5f937a20788ad3466f4 SHA512 34ed1cb50a38a8137301682c46c91c6b409be78c6349677b6544e082fb388248c4878719f57327b6ee4d0d2f35ff171a62afe5e3cc5972e0e9b24e3239a23216 DIST facter-3.9.2.tar.gz 380883 BLAKE2B d2804664e0499715230e5696c5a9ebae933f5b43dfb37154251d47763c2c7f78cfa8d1413dd836e5a0c76ed67300d066fa5bb390f17f85cd4cb7a444eaf0d133 SHA512 bc040826311bbff40f5a151ade315d9d47ef1e0f3faa570805e48ca55405265e66308230118b9cd59f701ecd76a7b0fd4d9200dd4ace838521223a162b105374 diff --git a/dev-ruby/facter/facter-2.4.6.ebuild b/dev-ruby/facter/facter-2.4.6.ebuild deleted file mode 100644 index 355f548540dd..000000000000 --- a/dev-ruby/facter/facter-2.4.6.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby23 ruby24" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_RECIPE_TEST="rspec" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_BINWRAP="facter" - -inherit ruby-fakegem - -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="+dmi +pciutils +virt" -KEYWORDS="amd64 ~hppa ppc ppc64 ~sparc x86" - -CDEPEND=" - app-emulation/virt-what - sys-apps/net-tools - sys-apps/lsb-release - dmi? ( sys-apps/dmidecode ) - pciutils? ( sys-apps/pciutils )" - -RDEPEND+=" ${CDEPEND}" -DEPEND+=" test? ( ${CDEPEND} )" - -ruby_add_bdepend "test? ( dev-ruby/mocha:1.0 )" - -all_ruby_prepare() { - # Provide explicit path since /sbin is not in the default PATH on - # Gentoo. - sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die - - # Ensure the correct version of mocha is used without using bundler. - sed -i -e '1igem "mocha", "~>1.0"' spec/spec_helper.rb || die - - # Avoid because tests try to access outside stuff, e.g. /sys/block - sed -i -e '/should load facts on the facter search path only once/,/^ end/ s:^:#:' spec/unit/util/loader_spec.rb || die - - # Allow specs to work with newer rspec 2.x versions. - sed -i -e '1irequire "rspec-expectations"' spec/puppetlabs_spec/matchers.rb || die - - # Avoid specs specific to macosx requiring cfpropertylist which is - # not available anymore. - rm spec/unit/util/macosx_spec.rb || die - sed -i -e '/macosx/ s:^:#:' \ - -e '/on Darwin/,/^ end/ s:^:#:' spec/unit/virtual_spec.rb || die - sed -i -e '/Facter::Processors::Darwin/,/^end/ s:^:#:' spec/unit/processors/os_spec.rb || die -} - -all_ruby_install() { - all_fakegem_install - - # Create the directory for custom facts. - keepdir /etc/facter/facts.d -} diff --git a/dev-ruby/facter/metadata.xml b/dev-ruby/facter/metadata.xml index 8f010b49bce9..89ac2d179c9f 100644 --- a/dev-ruby/facter/metadata.xml +++ b/dev-ruby/facter/metadata.xml @@ -12,11 +12,6 @@ <email>ruby@gentoo.org</email> <name>Gentoo Ruby Project</name> </maintainer> - <use> - <flag name="dmi">Use <pkg>sys-apps/dmidecode</pkg> to determine hardware system properties</flag> - <flag name="virt">Use <pkg>app-emulation/virt-what</pkg> for virtual machine detection</flag> - <flag name="pciutils">Use <pkg>sys-apps/pciutils</pkg> to determine hardware system properties</flag> - </use> <upstream> <remote-id type="github">puppetlabs/facter</remote-id> </upstream> |