public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/
Date: Tue, 24 May 2022 15:05:58 +0000 (UTC)	[thread overview]
Message-ID: <1653404741.99e257dbf4c406d9040268680b5677fb7b99d980.mattst88@gentoo> (raw)

commit:     99e257dbf4c406d9040268680b5677fb7b99d980
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 15:01:38 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 24 15:05:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e257db

app-misc/solaar: Version bump to 1.1.3

* Add Python 3.10 compatibility
* Call udev_reload in pkg_postinst

Closes: https://bugs.gentoo.org/845519
Closes: https://bugs.gentoo.org/847256
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-misc/solaar/Manifest            |  1 +
 app-misc/solaar/solaar-1.1.3.ebuild | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest
index f26480b8aa50..ec707ee3be92 100644
--- a/app-misc/solaar/Manifest
+++ b/app-misc/solaar/Manifest
@@ -2,3 +2,4 @@ DIST solaar-1.0.5.tar.gz 920452 BLAKE2B 44aa0f9abd63629a5a4e737c14e468922c4aa501
 DIST solaar-1.0.7.tar.gz 1265664 BLAKE2B 6bb221d603dc74bf21ac44ca6611d817889285c8711c565b7393b875a934bf9125fc366569c1f677d657463484f2ec5fa077703f311ef2aec74e9f6813a5f1d7 SHA512 24b6b861f90d5747f150afb38b32041885b61cbf7df7794d780b311aef50d334347d5c5c722a0a7d5de3f91b96228e90e2a61dc108054452f46750a04340df83
 DIST solaar-1.1.1.tar.gz 1418025 BLAKE2B c6fd053002727a372bf9672fc22c0acc123f814003c14172f7d13e59b82ab42ecee9b71a09289b2d234874850e0921debaa069506a07d8957f52a2e9953a47f4 SHA512 c4da0c5521724c00afbc54ee9d10a4709246bb6f57635637b77e5944293b285a055b7df623e7e2a810a0764021813929e0f4fa7f21d4afc39abd516416a2bf25
 DIST solaar-1.1.2rc2.tar.gz 1462081 BLAKE2B b5bcf37f75631d39ac726b564bfd7f329f80e9931461fceb5ce7442113df50db82679dabfd08150a87ebe9a9de68aeb111138a005e450c3e025c57e5f1219312 SHA512 65320d7193124d1444ecddf5a162e925f373c7c06d0e582af29b1c9d82ea16a32a69accd53f53568b228474691eacd5c0f16bce1bccef1e9a1846151e86dc203
+DIST solaar-1.1.3.tar.gz 1478166 BLAKE2B 79bfe8a88cecfefc9795d65027f18df5d39c3d43df3e20d3b167bd41365a721ed670e5a60c883b10a2a4cf34d476536003f71d20882e4f30dca590edc441ddeb SHA512 6175d72d8c13b23d0543728315a3d8b5ec506cbaafd821efda92398d640b127d8eb6742c4a22240dca08cdc1ba3ea00e824e2232e41b4fb88ad938dc0df270b8

diff --git a/app-misc/solaar/solaar-1.1.3.ebuild b/app-misc/solaar/solaar-1.1.3.ebuild
new file mode 100644
index 000000000000..502ef240ea40
--- /dev/null
+++ b/app-misc/solaar/solaar-1.1.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..10} )
+
+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/"
+if [[ ${PV} =~ 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar"
+else
+	SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
+	S="${WORKDIR}"/Solaar-${PV/_rc/rc}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc appindicator libnotify"
+
+RDEPEND="
+	acct-group/plugdev
+	$(python_gen_cond_dep '
+		dev-python/psutil[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+		dev-python/python-evdev[${PYTHON_USEDEP}]
+		dev-python/python-xlib[${PYTHON_USEDEP}]
+		>=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+
+	')
+	x11-libs/gtk+:3[introspection]
+	appindicator? ( dev-libs/libappindicator:3[introspection] )
+	libnotify? ( x11-libs/libnotify[introspection] )"
+# libappindicator & libnotify are entirely optional and detected at runtime
+
+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 ChangeLog.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
+}
+
+pkg_postinst() {
+	udev_reload
+}


             reply	other threads:[~2022-05-24 15:06 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24 15:05 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08  1:37 [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/ 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-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-12-22 19:44 Joonas Niilola
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=1653404741.99e257dbf4c406d9040268680b5677fb7b99d980.mattst88@gentoo \
    --to=mattst88@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