1 |
commit: 0e1b201065b260170a865cd9b89f59ac56e91ce5 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 16:41:49 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 11 16:42:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1b2010 |
7 |
|
8 |
dev-ruby/facter: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/facter/Manifest | 1 - |
14 |
dev-ruby/facter/facter-3.14.11.ebuild | 99 ----------------------------------- |
15 |
2 files changed, 100 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest |
18 |
index c72fc942777..143edab7df9 100644 |
19 |
--- a/dev-ruby/facter/Manifest |
20 |
+++ b/dev-ruby/facter/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST facter-3.14.11.tar.gz 406391 BLAKE2B 27606fe89fe9009db0ee14ccff6ad15db9fb548c25f752d044c0ec67bd772c1a523b2ec9d4fc49e5916b853ee119b7f640e2893b628e31fcaf2fc90e7edb3d81 SHA512 5e6a23f7ff91bfa2617c6afc15e441d1a61e9a1d57f4c7a1cfb033083ea0e2d72b348f06121a36c392b3ec64f08644832ef2d73c486def3e92edc7625ea62f51 |
23 |
DIST facter-3.14.12.tar.gz 406896 BLAKE2B 5f25e9da754931c6318370877b0ab1158e47920c8d9776a24689b3b906a91beddfe6c32b584888f6c9131d8338eb3fcb3983f062767d16eb9da51572d0156c60 SHA512 599984d0cc86f65ab9c487963fe6e12513895079cf145d924910a53ceb702e3b59785ea073e695ec9acac36f8a7405ffcd1130eb338ce261a3af4213ef11f7d0 |
24 |
DIST facter-3.14.13.tar.gz 407204 BLAKE2B 12019c20284eb2a62fb65f2ab09246b98708b1aecb485700c2074865d02bb836f140802ad3b54f28c90fdd225b72e9216d21fb57dc0d82b8b3854607d5ba0eb7 SHA512 62910dc71aff0a0b0ef1ece054e0d1eea095c65ca6a34e17331aea943e217baa1a12bba1176143b652bb322195248a4aab1379eb69d6be419b73eb6ae3a8afac |
25 |
|
26 |
diff --git a/dev-ruby/facter/facter-3.14.11.ebuild b/dev-ruby/facter/facter-3.14.11.ebuild |
27 |
deleted file mode 100644 |
28 |
index f2b40c9e3b7..00000000000 |
29 |
--- a/dev-ruby/facter/facter-3.14.11.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,99 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
37 |
- |
38 |
-# git-r3 goes after ruby-ng so that it overrides src_unpack properly |
39 |
-inherit cmake-utils eutils ruby-ng |
40 |
- |
41 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
42 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
43 |
- |
44 |
-LICENSE="Apache-2.0" |
45 |
-SLOT="0" |
46 |
-IUSE="test" |
47 |
-if [[ ${PV} == 9999 ]] ; then |
48 |
- inherit git-r3 |
49 |
- EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" |
50 |
- EGIT_BRANCH="master" |
51 |
-else |
52 |
- [[ "${PV}" = *_rc* ]] || \ |
53 |
- KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" |
54 |
- SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
55 |
-fi |
56 |
- |
57 |
-RESTRICT="!test? ( test )" |
58 |
- |
59 |
-ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" |
60 |
- |
61 |
-RDEPEND=" |
62 |
- >=dev-cpp/cpp-hocon-0.2.1:= |
63 |
- >=dev-libs/leatherman-1.0.0:= |
64 |
- dev-libs/openssl:0= |
65 |
- sys-apps/util-linux |
66 |
- app-emulation/virt-what |
67 |
- net-misc/curl |
68 |
- dev-libs/boost:=[nls] |
69 |
- >=dev-cpp/yaml-cpp-0.5.1 |
70 |
- !<app-admin/puppet-4.0.0" |
71 |
-DEPEND="${RDEPEND}" |
72 |
- |
73 |
-# restore ${S} and override all phases exported by ruby-ng.eclass |
74 |
-S="${WORKDIR}/${P}" |
75 |
- |
76 |
-PATCHES=( |
77 |
- "${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch |
78 |
- # be explicit about the version of rspec we test with |
79 |
- "${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch |
80 |
-) |
81 |
- |
82 |
-pkg_setup() { |
83 |
- ruby-ng_pkg_setup |
84 |
-} |
85 |
- |
86 |
-src_unpack() { |
87 |
- default |
88 |
- |
89 |
- if [[ ${PV} == 9999 ]] ; then |
90 |
- git-r3_src_unpack |
91 |
- fi |
92 |
-} |
93 |
- |
94 |
-src_prepare() { |
95 |
- cmake-utils_src_prepare |
96 |
-} |
97 |
- |
98 |
-each_ruby_configure() { |
99 |
- # hack for correct calculation of relative path from facter.rb to |
100 |
- # libfacter.so |
101 |
- my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') |
102 |
-} |
103 |
- |
104 |
-src_configure() { |
105 |
- ruby-ng_src_configure |
106 |
- |
107 |
- local mycmakeargs=( |
108 |
- -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} |
109 |
- -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" |
110 |
- ) |
111 |
- cmake-utils_src_configure |
112 |
-} |
113 |
- |
114 |
-src_compile() { |
115 |
- addpredict /proc/self/oom_score_adj |
116 |
- cmake-utils_src_compile |
117 |
-} |
118 |
- |
119 |
-src_test() { |
120 |
- cmake-utils_src_test |
121 |
-} |
122 |
- |
123 |
-each_ruby_install() { |
124 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- cmake-utils_src_install |
129 |
- ruby-ng_src_install |
130 |
-} |