Commit a3dafc7
committed
Fix pip installation on Gentoo
The 'pip' package name is ambiguous on Gentoo, with options
'app-misc/pip' and 'dev-python/pip', resulting in the following error
during installation:
> Error: /Stage[main]/Python::Install/Package[pip]: Could not evaluate:
> More than one package with the specified name [pip], please use the
> category parameter to disambiguate
The error message directs us to use the `category` parameter, which this
module already did; however, `category` is a "read-only parameter set by
the package" [1].
The correct way to disambiguate this package is to use the full package
name, 'dev-python/pip'.
[1] https://www.puppet.com/docs/puppet/7/types/package.html#package-attribute-category1 parent 39f5df3 commit a3dafc7
2 files changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
220 | | - | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
224 | | - | |
225 | 222 | | |
226 | 223 | | |
227 | 224 | | |
228 | | - | |
229 | 225 | | |
230 | 226 | | |
231 | 227 | | |
232 | | - | |
233 | | - | |
| 228 | + | |
234 | 229 | | |
235 | 230 | | |
236 | | - | |
237 | 231 | | |
238 | 232 | | |
239 | 233 | | |
240 | | - | |
241 | 234 | | |
242 | 235 | | |
243 | 236 | | |
244 | | - | |
245 | 237 | | |
246 | 238 | | |
247 | 239 | | |
248 | 240 | | |
249 | 241 | | |
250 | | - | |
251 | | - | |
| 242 | + | |
252 | 243 | | |
253 | 244 | | |
254 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| |||
0 commit comments