public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/
Date: Sun, 22 Dec 2019 19:44:43 +0000 (UTC)	[thread overview]
Message-ID: <1577043868.8cf188a490a31cf9f3ade98ff4d83137da462e37.juippis@gentoo> (raw)

commit:     8cf188a490a31cf9f3ade98ff4d83137da462e37
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Sun Dec 22 19:19:09 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 19:44:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf188a4

app-misc/solaar: Ensure python_prepare_all() is called

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14078
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-misc/solaar/solaar-1.0.1-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/app-misc/solaar/solaar-1.0.1-r1.ebuild b/app-misc/solaar/solaar-1.0.1-r1.ebuild
new file mode 100644
index 00000000000..94e1cd084d9
--- /dev/null
+++ b/app-misc/solaar/solaar-1.0.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit linux-info udev xdg distutils-r1
+
+DESCRIPTION="A Linux device manager for Logitech's Unifying Receiver peripherals"
+HOMEPAGE="https://pwr-solaar.github.io/Solaar/"
+SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc"
+
+RDEPEND="
+	acct-group/plugdev
+	dev-python/pygobject:3[${PYTHON_USEDEP}]
+	>=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+	x11-libs/gtk+:3[introspection]"
+
+S="${WORKDIR}"/Solaar-${PV}
+
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
+
+python_prepare_all() {
+	# don't autostart (bug #494608)
+	sed -i '/yield autostart_path/d' 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
+
+	udev_dorules rules.d/*.rules
+
+	dodoc docs/devices.md
+	if use doc; then
+		dodoc -r docs/*
+	fi
+}


             reply	other threads:[~2019-12-22 19:44 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-22 19:44 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-28 17:55 [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/ Patrick McLean
2025-10-28 17:55 Patrick McLean
2025-04-13  8:28 Arthur Zamarin
2025-03-08  1:37 Sam James
2025-03-07 11:47 Jakov Smolić
2025-01-08 23:53 Patrick McLean
2025-01-07 21:58 Patrick McLean
2024-10-26 15:16 Arthur Zamarin
2024-10-25 21:25 Sam James
2024-05-22 13:19 Matt Jolly
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2023-10-03 17:18 Mart Raudsepp
2023-06-12 20:46 Sam James
2023-06-12 20:43 Sam James
2023-05-01 12:34 Michał Górny
2023-04-27 15:00 Pacho Ramos
2023-04-25  3:55 Sam James
2023-04-25  3:55 Sam James
2023-04-14  2:55 Robin H. Johnson
2023-02-27 15:12 Pacho Ramos
2023-01-04  4:56 Sam James
2023-01-04  3:28 Sam James
2022-06-06 11:02 Jakov Smolić
2022-06-06 11:02 Jakov Smolić
2022-05-24 15:05 Matt Turner
2022-05-24 15:05 Matt Turner
2022-03-25 19:47 Florian Schmaus
2022-03-21 16:59 Robin H. Johnson
2022-03-21 16:59 Robin H. Johnson
2022-03-21 16:59 Robin H. Johnson
2022-01-11  5:01 Robin H. Johnson
2021-11-28  0:47 Robin H. Johnson
2021-04-14 18:04 Matt Turner
2021-04-11 11:11 Sam James
2021-04-11 11:06 Sam James
2021-02-28  4:27 Matt Turner
2021-02-28  2:31 Matt Turner
2021-02-27 19:26 Matt Turner
2021-02-27 19:26 Matt Turner
2020-12-02 23:31 Thomas Deutschmann
2020-12-02 22:49 Sam James
2020-12-02 22:15 Sam James
2020-07-27 21:45 Robin H. Johnson
2020-05-22  5:18 Matt Turner
2020-05-22  4:42 Robin H. Johnson
2020-05-18  6:16 Robin H. Johnson
2020-05-12  4:55 Robin H. Johnson
2020-05-12  4:55 Robin H. Johnson
2020-03-24 19:47 Robin H. Johnson
2020-03-23 20:55 Robin H. Johnson
2020-03-23 19:26 Robin H. Johnson
2020-02-05 21:21 Michał Górny
2019-09-15 16:49 Joonas Niilola
2019-09-13 12:58 Michał Górny
2018-06-27 17:49 Pacho Ramos
2016-11-09 11:17 Pacho Ramos

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=1577043868.8cf188a490a31cf9f3ade98ff4d83137da462e37.juippis@gentoo \
    --to=juippis@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