commit: 1d3e2c20a8e45f2f7d44954170e8a79d79e8b804
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 00:11:17 2016 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 00:11:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3e2c20
dev-ruby/facter: partial fix for bug 601746
Package-Manager: portage-2.3.0
.../facter/{facter-3.5.0.ebuild => facter-3.5.0-r1.ebuild} | 10 ++++++----
dev-ruby/facter/facter-9999.ebuild | 10 ++++++----
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/dev-ruby/facter/facter-3.5.0.ebuild
b/dev-ruby/facter/facter-3.5.0-r1.ebuild
similarity index 95%
rename from dev-ruby/facter/facter-3.5.0.ebuild
rename to dev-ruby/facter/facter-3.5.0-r1.ebuild
index a9627ce..ac79091 100644
--- a/dev-ruby/facter/facter-3.5.0.ebuild
+++ b/dev-ruby/facter/facter-3.5.0-r1.ebuild
@@ -17,20 +17,22 @@ SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-CDEPEND="
+BDEPEND="
>=sys-devel/gcc-4.8:*
>=dev-libs/boost-1.54[nls]
>=dev-libs/leatherman-0.9.3
>=dev-cpp/yaml-cpp-0.5.1
- dev-cpp/cpp-hocon
+ dev-cpp/cpp-hocon"
+CDEPEND="
dev-libs/openssl:*
sys-apps/util-linux
app-emulation/virt-what
net-misc/curl
!<app-admin/puppet-4.0.0"
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
+RDEPEND="${CDEPEND}"
+DEPEND="${BDEPEND}
+ ${CDEPEND}"
src_prepare() {
# Remove the code that installs facter.rb to the wrong directory.
diff --git a/dev-ruby/facter/facter-9999.ebuild
b/dev-ruby/facter/facter-9999.ebuild
index 4ac7496..598871d 100644
--- a/dev-ruby/facter/facter-9999.ebuild
+++ b/dev-ruby/facter/facter-9999.ebuild
@@ -19,20 +19,22 @@ SLOT="0"
IUSE="debug test"
KEYWORDS=""
-CDEPEND="
+BDEPEND="
>=sys-devel/gcc-4.8:*
>=dev-libs/boost-1.54[nls]
>=dev-libs/leatherman-0.9.3
>=dev-cpp/yaml-cpp-0.5.1
- dev-cpp/cpp-hocon
+ dev-cpp/cpp-hocon"
+CDEPEND="
dev-libs/openssl:*
sys-apps/util-linux
app-emulation/virt-what
net-misc/curl
!<app-admin/puppet-4.0.0"
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
+RDEPEND="${CDEPEND}"
+DEPEND="${BDEPEND}
+ ${CDEPEND}"
src_prepare() {
pwd