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 6610A138359 for ; Mon, 27 Jul 2020 21:45:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A48E4E1659; Mon, 27 Jul 2020 21:45:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C433E1659 for ; Mon, 27 Jul 2020 21:45:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 303DF34E9EA for ; Mon, 27 Jul 2020 21:45:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB48C2F1 for ; Mon, 27 Jul 2020 21:45:14 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1595886313.69493cb0203d66df3b9bb47e7df55c990380ab3f.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/solaar/Manifest app-misc/solaar/solaar-1.0.3_rc1.ebuild X-VCS-Directories: app-misc/solaar/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 69493cb0203d66df3b9bb47e7df55c990380ab3f X-VCS-Branch: master Date: Mon, 27 Jul 2020 21:45:14 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5704b4db-3b52-40a3-8521-743c5040d5e3 X-Archives-Hash: 725f94f7e522cb7ba9341035722ca984 commit: 69493cb0203d66df3b9bb47e7df55c990380ab3f Author: Robin H. Johnson gentoo org> AuthorDate: Mon Jul 27 21:44:52 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Jul 27 21:45:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69493cb0 app-misc/solaar: bump Signed-off-by: Robin H. Johnson gentoo.org> app-misc/solaar/Manifest | 1 + app-misc/solaar/solaar-1.0.3_rc1.ebuild | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest index 45eb9fd5351..40ff7fa0b81 100644 --- a/app-misc/solaar/Manifest +++ b/app-misc/solaar/Manifest @@ -1,2 +1,3 @@ DIST solaar-1.0.1.tar.gz 1195660 BLAKE2B e6cd89b5735e125dd438255a8961b1d5d38feb515c5097efec0403d99b9db6e29c439c13e279fcffe69cb314bf2650a7a11770830fdf1e971ade27ce8331aed2 SHA512 e0b2bbfd97d9650d94f1a4b47e4e70f09c75f684e7e1d3e67d2cf6dd197109084e941b98333e173fb205d5c9464dd07e17390d9c2d5b46393fee2efdb20429ac DIST solaar-1.0.2.tar.gz 1540722 BLAKE2B 66c6f7c347f5eba538d3d48ff1c1137c1c71bf84dfb1a306a94e3cb24810378864066644a82d27eaaee2d80d30bcd30bb71ebe80fdb12363e9b194df9054946d SHA512 5f97b51e7853386311c5b9ff968a72529d55837f7262786e86085e130d219ac22095c20c984e340f619a15b8242f90e66a6c678c5e0c507c261d0430b74eacd6 +DIST solaar-1.0.3rc1.tar.gz 782803 BLAKE2B a4dde7238f2616d98cafafa775050fd0c3a3aaf8a11b0eab333993a9246c321c45ebe4d30adddf82d826e1909a8e90cb0914472ab40f9ed5560d380931aea591 SHA512 845c55865ef93c163bae80dfe6e8e3013363cff1be03b167dcd4f30c541ae16e1828ed6e51c8c77aa8b067e3a75cd8e1980fb8847b308d067a816598f83c8d83 diff --git a/app-misc/solaar/solaar-1.0.3_rc1.ebuild b/app-misc/solaar/solaar-1.0.3_rc1.ebuild new file mode 100644 index 00000000000..37fb735fd59 --- /dev/null +++ b/app-misc/solaar/solaar-1.0.3_rc1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=bdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit linux-info udev xdg distutils-r1 + +DESCRIPTION="Linux Device Manager for Logitech Unifying Receivers and Paired Devices" +HOMEPAGE="https://pwr-solaar.github.io/Solaar/" +SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc appindicator libnotify" + +RDEPEND=" + acct-group/plugdev + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/pyudev-0.13[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + appindicator? ( dev-libs/libappindicator:3 ) + libnotify? ( x11-libs/libnotify )" +# libappindicator & libnotify are entirely optional and detected at runtime + +S="${WORKDIR}"/Solaar-${PV/_rc/rc} + +CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" + +python_prepare_all() { + # don't autostart (bug #494608) + sed -i \ + -e '/yield autostart_path/d' \ + setup.py || die + + sed -i -r \ + -e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \ + setup.py || die + + # grant plugdev group rw access + sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + dodoc docs/devices.md + if use doc; then + dodoc -r docs/* + else + newdoc docs/index.md README.md + fi + udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules +}