Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/
Date: Thu, 28 Feb 2019 16:22:41
Message-Id: 1551370926.20f5d95f338f477720f93aaad4819705006b8994.prometheanfire@gentoo
1 commit: 20f5d95f338f477720f93aaad4819705006b8994
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 28 15:59:45 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 16:22:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f5d95f
7
8 app-admin/puppet: 6.2.0 stable amd64 and x86
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-admin/puppet/Manifest | 1 -
14 app-admin/puppet/puppet-6.1.0.ebuild | 138 -----------------------------------
15 app-admin/puppet/puppet-6.2.0.ebuild | 2 +-
16 3 files changed, 1 insertion(+), 140 deletions(-)
17
18 diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
19 index 750843d1b50..4cad506ea7c 100644
20 --- a/app-admin/puppet/Manifest
21 +++ b/app-admin/puppet/Manifest
22 @@ -1,6 +1,5 @@
23 DIST puppet-4.10.12.tar.gz 3022218 BLAKE2B 03757857868b1544078ae5e40d6e438631c788f1b01a3e62ba90e477b754601d2c085228e084363ff20ee39728b02ebe8ca83e17f7c79dddae1c3968aef4e320 SHA512 ff7accf70b1d4de7282cf3b41246151c49c4758a41ace56a470e4723749638027011cf170747e66fa5812280e1612e754e12d92dd35fa6c93171f7187bb9cfa2
24 DIST puppet-5.5.10.tar.gz 3064457 BLAKE2B 04cac9cebc03343b8c6fcf762f681f63bce4ebe27b6e7e727d06b14f0013a6c4b0ed7ff793e01b170931a881a921b4a2f107a5e37d1ac9394046f8611a7adaaf SHA512 70a5684289fc576853bf908adff44c1b1ce4b37d71236e7d7a8d140fa0e3cdd46a4b570cc7e493a3f47641f6be0c3b736ab04a178c30cce4244abe686378bf4b
25 DIST puppet-6.0.5.tar.gz 2811469 BLAKE2B de25af69b387a02b68fbb31ae13a9fa4aea8f25dcef32bead662e708060909b2f10813c1e889372a9167cb7a10b084679c20b5fa8312d2e06e2b53ebd573082a SHA512 0b34a27a0c21d24cf22e442b495dcfc49ac8b78e40f83eb9eb7f8b82b29350be436a63c6c9c9e969fc3d16096ccb927ca3c4d11e64e51d1e50150001d015bdbc
26 -DIST puppet-6.1.0.tar.gz 2818606 BLAKE2B 4fb6b26e5c3711262ff2210c9a4e9a9df0f47f4a989526a79cc36f56fa939fd4e54e41f3afef818aacd4630daf559f1ded7e2f6e3cc258a005a848b4d49b64ae SHA512 b82d5f5b045e23543a26949d9faa7ced78f1413e7699d124dd43a56b8558232d6f151a9fdbe52e1959900eb8fff7d7e873fa7ce986206419a27a7627a56f91f6
27 DIST puppet-6.2.0.tar.gz 2821615 BLAKE2B 88b8ec856cfc6dacba5dfe44da7abce56a351f514057d3c916ecb5f4188703713cf7981984c2a59cb8073da93eab91a815dc2f52ee4f621c9a412897e9387d5e SHA512 91540169d3c9c1715e78b416961f4f3957a01b0908c3b675fa75226361fb8161730ca47ed98a2e958d8841fd50086c75489c5ee53b41f933392f399d502bad9b
28 DIST puppet-6.3.0.tar.gz 2831909 BLAKE2B ccf6353c0fc1fcdd4ac06e79bd8d91980162b8f1b2012fc2bfc1cdea3d2d6b22bf55216cea9b94a4024273ca9f76eedcc92a861de9db348408a361596033b51c SHA512 1d30706049fe378facddb923a9ecb521d37faa84740251602ac340ea1299c247252fbdaca17f1ea450ff716ab26ac4e9524f1137080318e6d9237a9e2699f6b8
29
30 diff --git a/app-admin/puppet/puppet-6.1.0.ebuild b/app-admin/puppet/puppet-6.1.0.ebuild
31 deleted file mode 100644
32 index 87692a87fff..00000000000
33 --- a/app-admin/puppet/puppet-6.1.0.ebuild
34 +++ /dev/null
35 @@ -1,138 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI="6"
40 -
41 -USE_RUBY="ruby23 ruby24 ruby25"
42 -
43 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
44 -
45 -RUBY_FAKEGEM_TASK_DOC="doc:all"
46 -
47 -RUBY_FAKEGEM_EXTRAINSTALL="locales"
48 -
49 -inherit eutils user ruby-fakegem eapi7-ver
50 -
51 -DESCRIPTION="A system automation and configuration management software."
52 -HOMEPAGE="http://puppetlabs.com/"
53 -SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
54 -
55 -LICENSE="Apache-2.0 GPL-2"
56 -SLOT="0"
57 -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
58 -IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
59 -RESTRICT="test"
60 -
61 -ruby_add_rdepend "
62 - dev-ruby/hiera
63 - dev-ruby/json:=
64 - dev-ruby/semantic_puppet
65 - >=dev-ruby/facter-3.0.0
66 - augeas? ( dev-ruby/ruby-augeas )
67 - diff? ( dev-ruby/diff-lcs )
68 - doc? ( dev-ruby/rdoc )
69 - ldap? ( dev-ruby/ruby-ldap )
70 - shadow? ( dev-ruby/ruby-shadow )
71 - sqlite? ( dev-ruby/sqlite3 )
72 - virtual/ruby-ssl
73 - dev-ruby/hocon"
74 -
75 -ruby_add_bdepend "
76 - doc? ( dev-ruby/yard )
77 - test? (
78 - dev-ruby/mocha
79 - dev-ruby/rack
80 - dev-ruby/rspec-its
81 - )"
82 -# this should go in the above lists, but isn't because of test deps not being keyworded
83 -# dev-ruby/rspec-collection_matchers
84 -
85 -RDEPEND+=" ${RDEPEND}
86 - rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
87 - selinux? (
88 - sys-libs/libselinux[ruby]
89 - sec-policy/selinux-puppet
90 - )
91 - vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
92 - >=app-portage/eix-0.18.0"
93 -PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
94 -
95 -pkg_setup() {
96 - enewgroup puppet
97 - enewuser puppet -1 -1 /var/lib/puppet puppet
98 -}
99 -
100 -all_ruby_prepare() {
101 - # Avoid spec that require unpackaged json-schema.
102 - rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
103 -
104 - # can't be run within portage.
105 - epatch "${FILESDIR}/puppet-fix-tests-6.0.0.patch"
106 -
107 - # fix systemd path
108 - epatch "${FILESDIR}/puppet-systemd.patch"
109 -
110 - # Avoid specs that can only run in the puppet.git repository. This
111 - # should be narrowed down to the specific specs.
112 - rm spec/integration/parser/compiler_spec.rb || die
113 -
114 - # Avoid failing spec that need further investigation.
115 - rm spec/unit/module_tool/metadata_spec.rb || die
116 -}
117 -
118 -each_ruby_install() {
119 - each_fakegem_install
120 -# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
121 -}
122 -
123 -all_ruby_install() {
124 - all_fakegem_install
125 -
126 - # systemd stuffs
127 - insinto /usr/lib/systemd/system
128 - doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
129 -
130 - # tmpfiles stuff
131 - insinto /usr/lib/tmpfiles.d
132 - newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
133 -
134 - # openrc init stuff
135 - newinitd "${FILESDIR}"/puppet.init-4.x puppet
136 -
137 - keepdir /etc/puppetlabs/puppet/ssl
138 -
139 - keepdir /var/lib/puppet/facts
140 - keepdir /var/lib/puppet/files
141 - fowners -R puppet:puppet /var/lib/puppet
142 -
143 - fperms 0750 /var/lib/puppet
144 -
145 - fperms 0750 /etc/puppetlabs
146 - fperms 0750 /etc/puppetlabs/puppet
147 - fperms 0750 /etc/puppetlabs/puppet/ssl
148 - fowners -R :puppet /etc/puppetlabs
149 - fowners -R :puppet /var/lib/puppet
150 -
151 - if use ldap ; then
152 - insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
153 - fi
154 -
155 - # ext and examples files
156 - for f in $(find ext examples -type f) ; do
157 - docinto "$(dirname ${f})"; dodoc "${f}"
158 - done
159 -}
160 -
161 -pkg_postinst() {
162 - elog
163 - elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
164 - elog "cause puppet to hang while installing packages."
165 - elog
166 - elog "Portage Puppet module with Gentoo-specific resources:"
167 - elog "http://forge.puppetlabs.com/gentoo/portage"
168 - elog
169 - elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
170 - elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
171 - elog "not already done so."
172 - elog
173 -}
174
175 diff --git a/app-admin/puppet/puppet-6.2.0.ebuild b/app-admin/puppet/puppet-6.2.0.ebuild
176 index 1d12aee25d2..87692a87fff 100644
177 --- a/app-admin/puppet/puppet-6.2.0.ebuild
178 +++ b/app-admin/puppet/puppet-6.2.0.ebuild
179 @@ -19,7 +19,7 @@ SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
180
181 LICENSE="Apache-2.0 GPL-2"
182 SLOT="0"
183 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
184 +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
185 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
186 RESTRICT="test"