summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-04-23 10:36:04 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-04-23 10:36:04 -0500
commit3334d1030c8488c60f2bfb9e889aae987b906c37 (patch)
tree270be365e197c08d8970f9443b7ca6ae1c4ef177 /dev-ruby/facter
parentnet-misc/radvd: bup (diff)
downloadgentoo-3334d1030c8488c60f2bfb9e889aae987b906c37.tar.gz
gentoo-3334d1030c8488c60f2bfb9e889aae987b906c37.tar.bz2
gentoo-3334d1030c8488c60f2bfb9e889aae987b906c37.zip
dev-ruby/facter: bup
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r--dev-ruby/facter/Manifest7
-rw-r--r--dev-ruby/facter/facter-2.4.3.ebuild62
-rw-r--r--dev-ruby/facter/facter-2.4.4.ebuild62
-rw-r--r--dev-ruby/facter/facter-3.0.2-r1.ebuild64
-rw-r--r--dev-ruby/facter/facter-3.1.2.ebuild65
-rw-r--r--dev-ruby/facter/facter-3.1.3.ebuild65
-rw-r--r--dev-ruby/facter/facter-3.1.6.ebuild (renamed from dev-ruby/facter/facter-3.1.5.ebuild)2
7 files changed, 2 insertions, 325 deletions
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest
index fab6f64a7b8f..d4035e856eaa 100644
--- a/dev-ruby/facter/Manifest
+++ b/dev-ruby/facter/Manifest
@@ -1,9 +1,4 @@
DIST facter-2.4.1.gem 236544 SHA256 4c8836066378d387c0561e4c3574865fa10d85d7474d472b049ecc7d5e4c67fa SHA512 5690f059961ba981d2e174f45ebdbb4e9b75aad3599cbc896f1c3d25f9b12c36500e09be70c36ebf27aed602c22d811604c344c7ccc71ecb200d4aeb78f28a4b WHIRLPOOL 1b6b4079b0449c646e06e9fd868b1de29a61facdacea956b032fbbef94e8c4c85594f50021b3f78a3668c5a0f6d29c448bd97c34fdb8a215de2ee74b164af6fd
-DIST facter-2.4.3.gem 245760 SHA256 3c1e49c32e6b07c1f802ec120e860f882938a5057c6f3733594b7ff8a80ee58f SHA512 a834c50d0ac14a751ccd0d5da3f8d64a83173e82991e2a3cd70bf47c023ee0b0517baed3726398a1075043b1237a91cc8389d58acbb2bbf79c76b5e2ecd3aedb WHIRLPOOL daa82ef6b2f6eb2f640a106528e67f5631748ee4232fbe9c595146b25ac6ca01048d3fc7a5cf519469bec597b6cc6dc6a4d6b2b779b7c77972fbb8efc952c32b
-DIST facter-2.4.4.gem 245760 SHA256 4f7b592f9b6bc6ad8a9789e3ca0953fae07e6d06b10a9cb7599eb1e71a03646b SHA512 9d485d147cf726cd4a2943d1ee3475d2593067953102c11487e2916d59464407016a074b6eb31af4da37a3914588937d827d2cf4c64196650baefa2fb097bb89 WHIRLPOOL 574afae52fc7ad3cf8619abcd89eee4ca38e5ecc903e316bfc18aef708fa32e8b3487f315605a21ac9faf0ba66989c8d108d77a9104f74f79fc5e953dd8ccdd7
DIST facter-2.4.6.gem 246272 SHA256 56ffc5fbcd550fcdb4788bc4d7fd0199bff69937d6df1e5a1f61c92d143d78fe SHA512 a0a2bef37451ab96ed331c79171f77d89b6db430b083e6888a306fa5b57a72986b7f600cad3e09b5f4706e54736d1d32ea25525fe18a6108cc95f315da16664a WHIRLPOOL fca6165c55d6123e1ab123e5d3459943fda845e696b111520fb6de682ab56fd51a9a4ca072e0a533496c0aedd83b2b26f827147ed01a30dbe72389250437301e
-DIST facter-3.0.2.tar.gz 508583 SHA256 2fee1ee938196790f24b7b876ff04a5d69c0ac1492ff6935b003ae23500eced7 SHA512 57a5c40d2ad07911a2b9c242b22bcffbbf8eedc88e12d7d6e8f6cf044ef30034cae7230468a7b414c93d6008d8805be1621a8c6b1af2543539d979bd3df7d1e8 WHIRLPOOL 6b89ca76ba7d993e1b87fe840b76dda9b1d8534df06f9f45e3c24752b95b441e471899446018f66bb6db0d490bb4a76cd4ab146a5060755333072ab5a5767bd3
-DIST facter-3.1.2.tar.gz 603375 SHA256 9da41388127b7c02f9ac17945dad48332e62d663191bf51b2339c48222641c26 SHA512 f2435bb04d4ca51f65ce54134ff81e7fccb61df3f26ee890580f59b5eb65c6f7ca6db9fcd779baedca297a1456143741777cc9ba46b00e26c8b3965ab3db79e0 WHIRLPOOL e07c743a1025320c364800d3fece9e5d0b72e0f82ac648f459aaaeed44a46b187454ec4fdfcb532c87f6f62025632ebad5985356dbe056329e16eabd8eaec68c
-DIST facter-3.1.3.tar.gz 603386 SHA256 b27bfeade320331a02a68d3d2b41491d5cfcbb889292a8e9e1a11bd8641ff7d9 SHA512 dff5b1c312590d7fda140a72d87cabe70619d52887bbdd072c9dfd22062115433645b5762e14fd5fdb46f011dc3afeb17e2ffeb569423aac539030bb12f6c3af WHIRLPOOL a9ddbc1e75196d9a40fcb083c16abae8be1dfaa8c0f69e4af8ad9972884188aa572abf96137f34120b4ab5baf788fbddb3aa881eb4ffe085802cd6e7ce46d2b2
DIST facter-3.1.4.tar.gz 620501 SHA256 7ca1872edbdc5ffcd11dc292e5e0625c9e0d35aa7966d8803859da0d035c7fcf SHA512 2fcc990c8e26349b9fa87cd1f7c43dffd49ffacf03c3467e836ea0bcd7527e1d40b6240646fd7dd6346121ca802fe86e996e209d838db91e8fe55298fdab4e0e WHIRLPOOL 224b17990fc559fce3a7c9b31c14dd45033127b078d68fac024cb6db192573085187163932c9dacd8fd94a281bd8d58ac1c75229a8e3bce4c4f070ebc81ff0f3
-DIST facter-3.1.5.tar.gz 295069 SHA256 bbe2c25278be3e8a19b586ef4f961763cf12de86937f418adb667d41bc48534c SHA512 c3b082a1e83c84aa99be92fe62d26b966228fcab924471b697a666a0a8939e19159e3e0d6905680181e6e81d67551492c57aaac3f18f75842829db2721a9682f WHIRLPOOL 4811675bc0a024646e5ea7ac90714a27b0350c4ef06c396e16216fb9e69ead4dc7cf8a9a9b38f0518ca1b311337d3dad225e8b7a78345e6e645b5a84e7807b10
+DIST facter-3.1.6.tar.gz 324278 SHA256 6e55ce2fbf1cc451974dec80aaa96a05a03b37822e69be9ac517d8006544be17 SHA512 9f6bcec76be8af68f4b4179835a8d4758a29fb772a6d041d7901f839004efdf0145507340c67d3c701284f7ac04e9bfcd1297f16bdbc0ec0184dcbd9ab9c0354 WHIRLPOOL 0d62d84565df2eab88253b5b8fc851751ec20d720675555c351b5b1a207587d99ab10f685ba62a2048fef8a56b0428ae881c46a9fda14c06d832899ad5d01ac9
diff --git a/dev-ruby/facter/facter-2.4.3.ebuild b/dev-ruby/facter/facter-2.4.3.ebuild
deleted file mode 100644
index 2e25d5f8bf36..000000000000
--- a/dev-ruby/facter/facter-2.4.3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22"
-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/facter-2.4.4.ebuild b/dev-ruby/facter/facter-2.4.4.ebuild
deleted file mode 100644
index 2e25d5f8bf36..000000000000
--- a/dev-ruby/facter/facter-2.4.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22"
-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/facter-3.0.2-r1.ebuild b/dev-ruby/facter/facter-3.0.2-r1.ebuild
deleted file mode 100644
index 7b0877df0d6f..000000000000
--- a/dev-ruby/facter/facter-3.0.2-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
-
-inherit cmake-utils ruby-ng
-
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
-SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
-S="${S}/all/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-
-CDEPEND="
- >=sys-devel/gcc-4.8:*
- >=dev-libs/boost-1.54
- >=dev-cpp/yaml-cpp-0.5.1
- dev-libs/openssl:*
- sys-apps/util-linux
- app-emulation/virt-what
- net-misc/curl"
-
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
-
-src_prepare() {
- sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
- # Remove the code that installs facter.rb to the wrong directory.
- sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
- # make it support multilib
- sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DCMAKE_BUILD_TYPE=None
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_INSTALL_SYSCONFDIR=/etc
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var
- -DUSE_JRUBY_SUPPORT=FALSE
- )
- if use debug; then
- mycmakeargs+=(
- -DCMAKE_BUILD_TYPE=Debug
- )
- fi
- cmake-utils_src_configure
-}
-
-each_ruby_install() {
- doruby "${BUILD_DIR}"/lib/facter.rb
-}
-
-src_install() {
- cmake-utils_src_install
- ruby-ng_src_install
-}
diff --git a/dev-ruby/facter/facter-3.1.2.ebuild b/dev-ruby/facter/facter-3.1.2.ebuild
deleted file mode 100644
index 340d8d217b1e..000000000000
--- a/dev-ruby/facter/facter-3.1.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
-
-inherit cmake-utils ruby-ng
-
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
-SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
-S="${S}/all/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-
-CDEPEND="
- >=sys-devel/gcc-4.8:*
- >=dev-libs/boost-1.54[nls]
- >=dev-cpp/yaml-cpp-0.5.1
- dev-libs/openssl:*
- sys-apps/util-linux
- app-emulation/virt-what
- net-misc/curl"
-
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
-
-src_prepare() {
- sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
- # Remove the code that installs facter.rb to the wrong directory.
- sed -i 's/if(RUBY_VENDORDIR)/if(False)/g' lib/CMakeLists.txt || die
- sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
- # make it support multilib
- sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DCMAKE_BUILD_TYPE=None
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_INSTALL_SYSCONFDIR=/etc
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var
- -DUSE_JRUBY_SUPPORT=FALSE
- )
- if use debug; then
- mycmakeargs+=(
- -DCMAKE_BUILD_TYPE=Debug
- )
- fi
- cmake-utils_src_configure
-}
-
-each_ruby_install() {
- doruby "${BUILD_DIR}"/lib/facter.rb
-}
-
-src_install() {
- cmake-utils_src_install
- ruby-ng_src_install
-}
diff --git a/dev-ruby/facter/facter-3.1.3.ebuild b/dev-ruby/facter/facter-3.1.3.ebuild
deleted file mode 100644
index 340d8d217b1e..000000000000
--- a/dev-ruby/facter/facter-3.1.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
-
-inherit cmake-utils ruby-ng
-
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
-SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
-S="${S}/all/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-
-CDEPEND="
- >=sys-devel/gcc-4.8:*
- >=dev-libs/boost-1.54[nls]
- >=dev-cpp/yaml-cpp-0.5.1
- dev-libs/openssl:*
- sys-apps/util-linux
- app-emulation/virt-what
- net-misc/curl"
-
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
-
-src_prepare() {
- sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
- # Remove the code that installs facter.rb to the wrong directory.
- sed -i 's/if(RUBY_VENDORDIR)/if(False)/g' lib/CMakeLists.txt || die
- sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
- # make it support multilib
- sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DCMAKE_BUILD_TYPE=None
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_INSTALL_SYSCONFDIR=/etc
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var
- -DUSE_JRUBY_SUPPORT=FALSE
- )
- if use debug; then
- mycmakeargs+=(
- -DCMAKE_BUILD_TYPE=Debug
- )
- fi
- cmake-utils_src_configure
-}
-
-each_ruby_install() {
- doruby "${BUILD_DIR}"/lib/facter.rb
-}
-
-src_install() {
- cmake-utils_src_install
- ruby-ng_src_install
-}
diff --git a/dev-ruby/facter/facter-3.1.5.ebuild b/dev-ruby/facter/facter-3.1.6.ebuild
index b3123ca85bc1..c78fa06c1f2d 100644
--- a/dev-ruby/facter/facter-3.1.5.ebuild
+++ b/dev-ruby/facter/facter-3.1.6.ebuild
@@ -9,7 +9,7 @@ inherit cmake-utils multilib ruby-ng
DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
-SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${S}/all/${P}"
LICENSE="Apache-2.0"