1 |
commit: d533c6b4b974a032022565efea6a61b2c4f17f05 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 15:17:17 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 15:17:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d533c6b4 |
7 |
|
8 |
dev-ruby/facter: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/facter/Manifest | 1 - |
14 |
dev-ruby/facter/facter-3.14.5.ebuild | 113 ----------------------------------- |
15 |
2 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest |
18 |
index 2a3332a287f..555f7a7a4bf 100644 |
19 |
--- a/dev-ruby/facter/Manifest |
20 |
+++ b/dev-ruby/facter/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST facter-3.14.5.tar.gz 395892 BLAKE2B c8f98716f4abca8d5f32c1cbfa79437b4021b1994476a31f7c00fc092f02aa08ed01eff4357368e140763bd3d39a38915c99606914e697ff8c769c9f0dd26638 SHA512 387f3d4c654ce3231129dbf6c22ccb04023d73006e4709b330b11ac01ef55831c618d80171ffb8de455be2a12e339a2b52ab782b0ed97e2dbfeaca2692ed951d |
23 |
DIST facter-3.14.6.tar.gz 397339 BLAKE2B 74fae02a70194fd85789428c779f000e6b6750f52ecb0c713d6b772b3592a1974835367b148d046f849d61704adf82d93f519b86ecfe0007fb492f880a2aebca SHA512 6c17ba200fe82a2223b76505c29c6fb7bce2bff6e795316ea0b91d2fc8bc42bed9b930ba9c5d7b3851fd36fe93fb20e81a9cbc919589d4012e989234be1ba787 |
24 |
|
25 |
diff --git a/dev-ruby/facter/facter-3.14.5.ebuild b/dev-ruby/facter/facter-3.14.5.ebuild |
26 |
deleted file mode 100644 |
27 |
index dbf4788a288..00000000000 |
28 |
--- a/dev-ruby/facter/facter-3.14.5.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,113 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
-USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
36 |
- |
37 |
-# git-r3 goes after ruby-ng so that it overrides src_unpack properly |
38 |
-inherit cmake-utils eutils multilib ruby-ng |
39 |
- |
40 |
-DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" |
41 |
-HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" |
42 |
- |
43 |
-LICENSE="Apache-2.0" |
44 |
-SLOT="0" |
45 |
-IUSE="debug test" |
46 |
-if [[ ${PV} == 9999 ]] ; then |
47 |
- inherit git-r3 |
48 |
- EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" |
49 |
- EGIT_BRANCH="master" |
50 |
-else |
51 |
- [[ "${PV}" = *_rc* ]] || \ |
52 |
- KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" |
53 |
- SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
54 |
-fi |
55 |
- |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-BDEPEND=" |
59 |
- >=sys-devel/gcc-4.8:* |
60 |
- >=dev-cpp/cpp-hocon-0.1.4-r1" |
61 |
-COMMON_DEPEND=" |
62 |
- >=dev-libs/leatherman-1.0.0:= |
63 |
- dev-libs/openssl:0= |
64 |
- sys-apps/util-linux |
65 |
- app-emulation/virt-what |
66 |
- net-misc/curl |
67 |
- >=dev-libs/boost-1.54:=[nls] |
68 |
- >=dev-cpp/yaml-cpp-0.5.1 |
69 |
- !<app-admin/puppet-4.0.0" |
70 |
- |
71 |
-ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" |
72 |
- |
73 |
-RDEPEND="${COMMON_DEPEND}" |
74 |
-DEPEND="${BDEPEND} |
75 |
- ${COMMON_DEPEND}" |
76 |
- |
77 |
-# restore ${S} and override all phases exported by ruby-ng.eclass |
78 |
-S="${WORKDIR}/${P}" |
79 |
- |
80 |
-pkg_setup() { |
81 |
- ruby-ng_pkg_setup |
82 |
-} |
83 |
- |
84 |
-src_unpack() { |
85 |
- default |
86 |
- |
87 |
- if [[ ${PV} == 9999 ]] ; then |
88 |
- git-r3_src_unpack |
89 |
- fi |
90 |
-} |
91 |
- |
92 |
-src_prepare() { |
93 |
- # be explicit about the version of rspec we test with |
94 |
- sed -i -e '/libfacter.*specs/ s/rspec/rspec-2/' \ |
95 |
- CMakeLists.txt || die |
96 |
- # be more lenient for software versions for tests |
97 |
- sed -i -e '/rake/ s/~> 10.1.0/>= 10/' \ |
98 |
- -e '/rspec/ s/2.11.0/2.11/' \ |
99 |
- -e '/mocha/ s/0.10.5/0.14.0/' lib/Gemfile || die |
100 |
- # patches |
101 |
- default |
102 |
- cmake-utils_src_prepare |
103 |
-} |
104 |
- |
105 |
-each_ruby_configure() { |
106 |
- # hack for correct calculation of relative path from facter.rb to |
107 |
- # libfacter.so |
108 |
- my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- ruby-ng_src_configure |
113 |
- |
114 |
- local mycmakeargs=( |
115 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
116 |
- -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} |
117 |
- -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" |
118 |
- ) |
119 |
- if use debug; then |
120 |
- mycmakeargs+=( |
121 |
- -DCMAKE_BUILD_TYPE=Debug |
122 |
- ) |
123 |
- fi |
124 |
- cmake-utils_src_configure |
125 |
-} |
126 |
- |
127 |
-src_compile() { |
128 |
- addpredict /proc/self/oom_score_adj |
129 |
- cmake-utils_src_compile |
130 |
-} |
131 |
- |
132 |
-src_test() { |
133 |
- cmake-utils_src_test |
134 |
-} |
135 |
- |
136 |
-each_ruby_install() { |
137 |
- doruby "${BUILD_DIR}"/lib/facter.rb |
138 |
-} |
139 |
- |
140 |
-src_install() { |
141 |
- cmake-utils_src_install |
142 |
- ruby-ng_src_install |
143 |
-} |