From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8BAF0139694 for ; Thu, 23 Feb 2017 21:25:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B11BBE0C50; Thu, 23 Feb 2017 21:25:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78AF4E0C50 for ; Thu, 23 Feb 2017 21:25:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2DC333E142 for ; Thu, 23 Feb 2017 21:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 265C15238 for ; Thu, 23 Feb 2017 21:25:22 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1487885017.4fed75b39285b42e961f5f058de409a6372e3032.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/acpilight/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/acpilight/Manifest sys-power/acpilight/acpilight-1.0.ebuild X-VCS-Directories: sys-power/acpilight/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 4fed75b39285b42e961f5f058de409a6372e3032 X-VCS-Branch: master Date: Thu, 23 Feb 2017 21:25:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7071e5af-dfb2-431f-bb8d-0bd7a383b112 X-Archives-Hash: 08720ba0dd4b35697d274d259a81189a commit: 4fed75b39285b42e961f5f058de409a6372e3032 Author: Brian Evans gentoo org> AuthorDate: Thu Feb 23 21:23:37 2017 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Feb 23 21:23:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fed75b3 sys-power/acpilight: Version bump to full release Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-power/acpilight/Manifest | 1 + sys-power/acpilight/acpilight-1.0.ebuild | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-power/acpilight/Manifest b/sys-power/acpilight/Manifest index 65a8600568..06c5bdeeb0 100644 --- a/sys-power/acpilight/Manifest +++ b/sys-power/acpilight/Manifest @@ -1,3 +1,4 @@ DIST acpilight-0_pre20160724.tar.gz 2125 SHA256 d57f71561fd73289c3b81332c08619ac3edcc295bcfe7fd1840e512d00e0835b SHA512 a249f46afcb2f45c6f85769e4c6de1751da4cb432012db51b8682a7dc1454fe2cffbe5694ea18bdc275b4c302f911b68f104d3e7b4c8e9b8ac114cbecc91fc56 WHIRLPOOL 57a2f01a74046662102fe35715b161ef94ffb83db038547424d99f95cee3b432b2151fd7c7b7cde3b1dd19cfa339548c8c3b795c440dba24e48a31760b645c0a DIST acpilight-0_pre20161031.tar.gz 2218 SHA256 d8050cc73d917d0719b68066febc3f301003cbb00c4b2e8519a27ba6335ce4d6 SHA512 08f2c9d3ba14f4a756aa635c16f8928a06dc196c1507120c40f3ef8ba681bc75b37bf1c4cd04bbb2ca033b8948ca1353324dddb8118a12e5fda17d717dc7d1e1 WHIRLPOOL 43a426a4ec39d2efd6e040e07be295f6a1230fe1ac2133bcebe368b6c9afc4657c234529f2dd139e41d467ef8e67d1ed381316eb124ebf1989d8fccc1cc5dbd5 DIST acpilight-0_pre20170125.tar.gz 15499 SHA256 031c6e887836e1092feeeed12b2b313acb1bbbb76f5fe7e9aa01948da4a4805c SHA512 3ee1b9080f6bf4dec4039573e6b95c92966d39b5ee9fc5345eb2ed04c006c7f259c28db3045f77fed8f95f65113b60e10ee84717ef1632e680c4a34bc5871baf WHIRLPOOL b10a779aca7742f5775c777749fc5a9216ff6a29e924d7d1f8fc017756069c20717828a997b5c31fe19e3dc34545f6eefbe5e9a5584e8cea2448c3b364cb8b5d +DIST acpilight-1.0.tar.gz 16452 SHA256 8c717b33632ba60898e68c953ebabb28c2d0b9b2bb44ad9762a39ecce8498f66 SHA512 f7913f7ebf6cbde95a42165d8bfa237be03d90fc097164b971c92721cc76f1260a6a607d85f3ecb05ec482019f0ed7f0827a473608daf39b0d05b37c1d228a8a WHIRLPOOL 56d8e43abf50f23343c692bc094e2e158f41986f887b0bc198612f3d0f58be4b6cb9a560aeb13e676775d316f3ab323997cc895fd9ce5a434ceb8ad96ed6ca2a diff --git a/sys-power/acpilight/acpilight-1.0.ebuild b/sys-power/acpilight/acpilight-1.0.ebuild new file mode 100644 index 0000000000..97721b66d0 --- /dev/null +++ b/sys-power/acpilight/acpilight-1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit python-r1 udev + +DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" +HOMEPAGE="https://github.com/wavexx/acpilight/" +SRC_URI="https://github.com/wavexx/acpilight/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/udev + ${PYTHON_DEPS} + !x11-apps/xbacklight" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DOCS=( README.rst ) + +src_install() { + python_foreach_impl python_doscript xbacklight + udev_dorules "${S}"/90-backlight.rules + doman xbacklight.1 + einstalldocs +} + +pkg_postinst() { + udev_reload + einfo + elog "To use the xbacklight binary as a regular user, you must be a part of the video group" + einfo + elog "If this utility does not find any backlights to manipulate," + elog "verify you have kernel support on the device and display driver enabled." + einfo +}