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-emulation/virt-what/
Date: Sat, 30 Nov 2019 20:12:46
Message-Id: 1575144759.a7ce7daf8a98826df632912b98cc9864f9b0beca.prometheanfire@gentoo
1 commit: a7ce7daf8a98826df632912b98cc9864f9b0beca
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 30 20:12:22 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 30 20:12:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ce7daf
7
8 app-emulation/virt-what: bump and add self as maintainer
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-emulation/virt-what/Manifest | 1 +
14 app-emulation/virt-what/metadata.xml | 4 ++++
15 app-emulation/virt-what/virt-what-1.20.ebuild | 24 ++++++++++++++++++++++++
16 3 files changed, 29 insertions(+)
17
18 diff --git a/app-emulation/virt-what/Manifest b/app-emulation/virt-what/Manifest
19 index 95d2fab1af8..5bdbd3695f3 100644
20 --- a/app-emulation/virt-what/Manifest
21 +++ b/app-emulation/virt-what/Manifest
22 @@ -1,2 +1,3 @@
23 DIST virt-what-1.18.tar.gz 173703 BLAKE2B c1ab6f331ca370572cedef06fd3eb9177ca8ef4302446eb46c737446a001e77a0825ec8771aade903e6194af3f4f745c3f35f1d9dbbb8a0550b493296878ade3 SHA512 8085a38111d5664f411f5bb9d2ee221bc22e5b0f2d993e8d518718b3f63b16ba73e052b1623c090493cf8fef52fd237ba823377503a32b4b7d03cc5380d5c613
24 DIST virt-what-1.19.tar.gz 183594 BLAKE2B 36b58cbe41f195cf81e0b0cf35ab881c3746ac352c57f470e1fe0005d65534f38886d7688ee9393837e667fd1c8bf41af013f3a12748db5f8615b9b5c944f7a9 SHA512 7b6e6c00e3f35cea236cc5f5fdf28d13e9e38143f280dfcbf083ebf0dca2cb677752b8daec5b2956a08405d1fe5368f9f633ce11a854928c31121a35ee4c6820
25 +DIST virt-what-1.20.tar.gz 459243 BLAKE2B c51bfc4366ba90e32548a5d1e0779fcc1835dae7a6bb2b6f67b4371c2d2e949339aa0ff67d64485cdb03592713a3ae04a6779e4dac0babf08bb268ce6403066f SHA512 edf74903122bfb422c7a5ecba711bb64d6ef668828f208dfc0571ef14f2643456c14bc9a77dfea209df3d93869ac0a2c9fd039779922eddc6ebd9d988585dea4
26
27 diff --git a/app-emulation/virt-what/metadata.xml b/app-emulation/virt-what/metadata.xml
28 index be34d3dcfa0..5bdec46056c 100644
29 --- a/app-emulation/virt-what/metadata.xml
30 +++ b/app-emulation/virt-what/metadata.xml
31 @@ -5,6 +5,10 @@
32 <email>eva@g.o</email>
33 <name>Gilles Dartiguelongue</name>
34 </maintainer>
35 + <maintainer type="person">
36 + <email>prometheanfire@g.o</email>
37 + <name>Matthew Thode</name>
38 + </maintainer>
39 <use>
40 <flag name="dmi">Use <pkg>sys-apps/dmidecode</pkg> to read firmware data</flag>
41 </use>
42
43 diff --git a/app-emulation/virt-what/virt-what-1.20.ebuild b/app-emulation/virt-what/virt-what-1.20.ebuild
44 new file mode 100644
45 index 00000000000..9c1c37709d8
46 --- /dev/null
47 +++ b/app-emulation/virt-what/virt-what-1.20.ebuild
48 @@ -0,0 +1,24 @@
49 +# Copyright 1999-2019 Gentoo Authors
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI=7
53 +
54 +DESCRIPTION="Detects if the current machine is running in a virtual machine"
55 +HOMEPAGE="https://people.redhat.com/~rjones/virt-what/"
56 +SRC_URI="https://people.redhat.com/~rjones/virt-what/files/${P}.tar.gz"
57 +
58 +LICENSE="GPL-2"
59 +SLOT="0"
60 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
61 +IUSE="dmi"
62 +
63 +DEPEND="dev-lang/perl"
64 +RDEPEND="app-shells/bash
65 + dmi? ( sys-apps/dmidecode )"
66 +
67 +src_prepare() {
68 + default
69 +
70 + # Pretends to be POSIX sh while it is not
71 + sed -e 's:/bin/sh:/bin/bash:' -i virt-what.in || die
72 +}