public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
Date: Sat,  6 Aug 2016 03:07:58 +0000 (UTC)	[thread overview]
Message-ID: <1470452849.79e2115d8a44bbec89f09f7b328313ee3dc86a16.mjo@gentoo> (raw)

commit:     79e2115d8a44bbec89f09f7b328313ee3dc86a16
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 03:01:07 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 03:07:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e2115d

app-laptop/tp_smapi: new version 0.42.

This adds a new version 0.42, and updates the ebuild a bit.

First, the ebuild was updated to EAPI=6. Then the RESTRICT=userpriv
was removed, as it no longer seems to have any effect: I can install
the package fine with FEATURES=userpriv. Next, an obsolete kernel
version check was removed. Every version of every flavor of Linux
sources we have in the tree is already newer than 2.6.19. Finally,
einstalldocs (from EAPI=6) was used to install the current set of docs
as well as a TODO that had been omitted.

I have added myself as the maintainer of this package, since I still
have hardware that it supports.

Gentoo-Bug: 516570
Gentoo-Bug: 583206

Package-Manager: portage-2.2.28

 app-laptop/tp_smapi/Manifest                       |  1 +
 app-laptop/tp_smapi/metadata.xml                   |  9 +++++++-
 ...p_smapi-0.41-r2.ebuild => tp_smapi-0.42.ebuild} | 26 ++++++++--------------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index 425ca7e..d6d974e 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1 +1,2 @@
 DIST tp_smapi-0.41.tar.gz 38852 SHA256 6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666 SHA512 924a11cdf64bc151d069d4f61ca476cf006773291f363b21a80ce091f560a78c4828d2e522e646a5b133c58149a37cb5c2432a165e92e6980eb510b9488c728e WHIRLPOOL 10c74811148934a49b2d2b65cd65d366c58de03682c02d6b82694b4831634a25f2da9986b0493e28b372abf7ada692ee8ea85b2881b823b0cb7b35b73f348d6e
+DIST tp_smapi-0.42.tgz 39867 SHA256 7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b WHIRLPOOL 7d03aaf2bb4de3aabbc38fba62f126e6f2976ea1964d85da2fffbbcd63bb4c3884a152851cae116438b859c13d59fd4e41be126683f660f9b8322d7fc40ddc28

diff --git a/app-laptop/tp_smapi/metadata.xml b/app-laptop/tp_smapi/metadata.xml
index dc1f3c9..2f944f6 100644
--- a/app-laptop/tp_smapi/metadata.xml
+++ b/app-laptop/tp_smapi/metadata.xml
@@ -1,12 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
+
+  <maintainer type="person">
+    <email>mjo@gentoo.org</email>
+    <name>Michael Orlitzky</name>
+  </maintainer>
+
   <use>
     <flag name="hdaps">Install a compatible HDAPS module</flag>
   </use>
+
   <upstream>
     <remote-id type="github">evgeni/tp_smapi</remote-id>
     <remote-id type="sourceforge">tpctl</remote-id>
   </upstream>
+
 </pkgmetadata>

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42.ebuild
similarity index 72%
rename from app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild
rename to app-laptop/tp_smapi/tp_smapi-0.42.ebuild
index e32c1f3..ed4b4a5 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.42.ebuild
@@ -2,13 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit flag-o-matic linux-mod
 
 DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
-SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
+HOMEPAGE="https://github.com/evgeni/${PN}"
+SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -16,23 +16,14 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="hdaps"
 
-RESTRICT="userpriv"
-
-# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
-# in dmi.h
+# We need dmideode if the kernel does not support
+# DMI_DEV_TYPE_OEM_STRING in dmi.h.
 DEPEND="sys-apps/dmidecode"
 RDEPEND="${DEPEND}"
 
 pkg_pretend() {
 	linux-mod_pkg_setup
 
-	if kernel_is lt 2 6 19; then
-		eerror
-		eerror "${P} requires Linux kernel 2.6.19 or above."
-		eerror
-		die "Unsupported kernel version"
-	fi
-
 	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
 	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
 	BUILD_TARGETS="default"
@@ -40,6 +31,7 @@ pkg_pretend() {
 	if use hdaps; then
 		CONFIG_CHECK="~INPUT_UINPUT"
 		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
+		# Why call this twice?
 		linux-info_pkg_setup
 
 		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
@@ -69,7 +61,7 @@ src_compile() {
 
 src_install() {
 	linux-mod_src_install
-	dodoc CHANGES README
-	newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
-	newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
+	einstalldocs
+	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
+	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
 }


             reply	other threads:[~2016-08-06  3:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-06  3:07 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-02 11:26 [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/ Michael Orlitzky
2024-03-02 11:26 Michael Orlitzky
2023-12-22  3:32 Michael Orlitzky
2023-06-18 19:22 Michael Orlitzky
2022-07-27 22:10 Mike Pagano
2022-07-27 22:10 Mike Pagano
2019-08-28 14:34 David Seifert
2019-03-02 21:35 Michael Orlitzky
2019-03-02 20:49 Thomas Deutschmann
2019-03-02 15:24 Mikle Kolyada
2017-07-23 13:49 Michael Orlitzky
2016-12-20  1:08 Michael Orlitzky
2016-10-12 13:51 Michael Orlitzky
2016-04-26 16:51 Austin English
2015-12-23 15:38 Sebastian Pipping
2015-12-20 21:47 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470452849.79e2115d8a44bbec89f09f7b328313ee3dc86a16.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox