Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
Date: Sat, 02 Mar 2019 21:36:02
Message-Id: 1551562511.5272e050c99f6118c95f2c41279d380f41154016.mjo@gentoo
1 commit: 5272e050c99f6118c95f2c41279d380f41154016
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 21:33:40 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 21:35:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5272e050
7
8 app-laptop/tp_smapi: remove "unused" tp_smapi-0.42-r1.ebuild.
9
10 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-laptop/tp_smapi/Manifest | 1 -
14 app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild | 74 -----------------------------
15 2 files changed, 75 deletions(-)
16
17 diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
18 index d2f981db017..86ff549068b 100644
19 --- a/app-laptop/tp_smapi/Manifest
20 +++ b/app-laptop/tp_smapi/Manifest
21 @@ -1,2 +1 @@
22 -DIST tp_smapi-0.42.tgz 39867 BLAKE2B 0f7285fe99766437d964780f3c9d88480a19ed07de155e1794b5c48f318846fbde4eb759e825af9f5da89fb20aee5e217f32e873a70c7d85f63e3a44b385b0f7 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b
23 DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7
24
25 diff --git a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
26 deleted file mode 100644
27 index a7aa31518d5..00000000000
28 --- a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
29 +++ /dev/null
30 @@ -1,74 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit flag-o-matic linux-mod
37 -
38 -DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
39 -HOMEPAGE="https://github.com/evgeni/${PN}"
40 -SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="amd64 x86"
45 -
46 -IUSE="hdaps"
47 -
48 -# We need dmideode if the kernel does not support
49 -# DMI_DEV_TYPE_OEM_STRING in dmi.h.
50 -DEPEND="sys-apps/dmidecode"
51 -RDEPEND="${DEPEND}"
52 -
53 -# This code is factored out of both pkg_pretend() and pkg_setup()
54 -# because the PMS states that ebuilds may not call phase functions
55 -# directly (see the "List of functions" section). This was bug #596616
56 -# and #596622.
57 -tp_smapi_pkg_pretend() {
58 - linux-mod_pkg_setup
59 -
60 - MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
61 - BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
62 - BUILD_TARGETS="default"
63 -
64 - if use hdaps; then
65 - CONFIG_CHECK="~INPUT_UINPUT"
66 - WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
67 - # Why call this twice?
68 - linux-info_pkg_setup
69 -
70 - MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
71 - BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
72 -
73 - CONFIG_CHECK="~!SENSORS_HDAPS"
74 - ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
75 - linux-info_pkg_setup
76 - fi
77 -}
78 -
79 -pkg_pretend() {
80 - tp_smapi_pkg_pretend
81 -}
82 -
83 -pkg_setup() {
84 - # run again as pkg_pretend is not var safe
85 - tp_smapi_pkg_pretend
86 -}
87 -
88 -src_compile() {
89 - # Kernel Makefiles may pull in -mpreferred-stack-boundary=3
90 - # which requires that SSE disabled or compilation will fail.
91 - # So we need to ensure that appended user CLAGS do not re-enable SSE
92 - # https://bugs.gentoo.org/show_bug.cgi?id=492964
93 - replace-flags '-msse*' ''
94 - replace-flags '-mssse3' ''
95 -
96 - linux-mod_src_compile
97 -}
98 -
99 -src_install() {
100 - linux-mod_src_install
101 - einstalldocs
102 - newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
103 - newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
104 -}