From d94fef9a5708b8e64f363f4a71f0b56caef5efe4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 9 Jan 2025 06:41:15 +0000 Subject: gentoo auto-resync : 09:01:2025 - 06:41:15 --- app-misc/solaar/Manifest | 2 +- app-misc/solaar/solaar-1.1.14-r1.ebuild | 108 ++++++++++++++++++++++++++++++++ app-misc/solaar/solaar-1.1.14.ebuild | 107 ------------------------------- 3 files changed, 109 insertions(+), 108 deletions(-) create mode 100644 app-misc/solaar/solaar-1.1.14-r1.ebuild delete mode 100644 app-misc/solaar/solaar-1.1.14.ebuild (limited to 'app-misc/solaar') diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest index e710a5a2eed0..ff691d370b24 100644 --- a/app-misc/solaar/Manifest +++ b/app-misc/solaar/Manifest @@ -3,7 +3,7 @@ DIST solaar-1.1.14.tar.gz 1790657 BLAKE2B bc2d2d42e4af02f72ecf9fb25152605582ada7 DIST solaar-1.1.8.tar.gz 1550947 BLAKE2B a33879e3c1b161d86c4c8a2c8edcc79eff285cb8937bf1e6621f3595ba5cf420e75fe700902b9f375698085bb929401154fa2bd25ae9663265e38c8406205bf6 SHA512 543c6257b36181813c9ed36747e53a15403da251fdd431c32525cada3ac88611da2c5f2a8212767ba3c7bb0071a3c2024f114805d9a33c761701bf958df29d85 DIST solaar-1.1.9.tar.gz 1564119 BLAKE2B 67161bdd2a59ff17cafcdc5399f9f0c072985df85b2d0408e54c8f4e4966c3602a2b62f93b90e56e80fb3c4cbd285de2bbcc87a7709bea06ee4394f42a16f52e SHA512 42ea592aa8c4020be5e2ffd096de0bf6a7e6fdfac7eb2acd069c80084f88979398f779db6507b8b2cc4fd44c8a2ffce89024a42c161f130b4e1bd2c53e4e73a9 EBUILD solaar-1.1.13.ebuild 1964 BLAKE2B abbfacb6e1e5dad42949a42d70d7c771678718c63a9666eed0886de4707f8d3170e42fbad042df9f7fcca19da8905166d4e26bde5b797d32d2b32ec38d888ae2 SHA512 2716aa4db3c0404dcc6654e909ee680f973adb4f150a4e1f8a04f9870a29124d400a575b6d6cb3b81ad0a293dbb42b2e74725871138455017b225335f135c28e -EBUILD solaar-1.1.14.ebuild 2769 BLAKE2B d824df4b3fe4059380d81739e7ff230e6bf0d8ab8c255b5e722f8cc0c15c192c381be43023ef97b02ec63860db7b397c9434ea9bf8a50a3a8f06f183faa7befb SHA512 3bf863f67971b2211ca1f4784807ba2957894ed5dd6e83e184a8de1a0b7ff006cbd602f7f308247c69f41fa1d21bdb4eaf6a72af85917e1d5051bfac6209716e +EBUILD solaar-1.1.14-r1.ebuild 2817 BLAKE2B 4f036b387227da9ed41bb20eee13a7b38fc93d6745077f2dcb338cfaea8c32cd56eebc58779429537d1c8cc7ee8f38e5b7d494b42f721c8d2163ddf06ec0c6ea SHA512 16f42196684cf5473912bb8c9cdf5ff7b84dd617ce49ad523ad85f700ec6857603b6e8aef7706cf40760893e93d8457da01bf4e7420d76b8b2469573d124442e EBUILD solaar-1.1.8-r1.ebuild 1957 BLAKE2B a18583976d1ffc399f3a2f50d153c5aab82c534561c660a66b35d02af74fe000edc6246abdf0439e9152fceb0529d3aae3d298fb965494652eea202ad8509828 SHA512 a411509d13aa3abfdc5c304bd846ed7528a3f8d66e48e4e8621c081984eedf61bcf365b6008c5e1db464e5ab80230c07ed18dcb2c846de182665f0517cc9f536 EBUILD solaar-1.1.9.ebuild 1964 BLAKE2B 5c2d2a350100bf50cb96451021f22fd9cef19b452080cb1a6419bed17d1c91f6507d79f41dbb4568b1e70a67c81a4927dc36dbc90492b5b0097b34c46a18a894 SHA512 acc20a18f70e918233e9a0df3aee968c05baeef19d7607e4884195c1b875e85239d16863456d9058694e43dd74c5b7d38ece1023bf62d0ba45179d415271975b EBUILD solaar-9999.ebuild 1966 BLAKE2B 192e192ce685cf5906b007c41246a39963ac9f31ba2f1cfa814070d94cf1666542b484fa3e94437890f8d475a7543c293827a7d245cd0d770129ddc04ff97d50 SHA512 35e0ae411da757ae125e27aece35f03ef7ab149c35d7bbb1e3fc78f82832e69f44a298a3adcc1c797cc4c42eed4fcc2fc705631ff93ba1fb94a7425d105f5a00 diff --git a/app-misc/solaar/solaar-1.1.14-r1.ebuild b/app-misc/solaar/solaar-1.1.14-r1.ebuild new file mode 100644 index 000000000000..36377ed0edd4 --- /dev/null +++ b/app-misc/solaar/solaar-1.1.14-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~arm64 ~x86" + S="${WORKDIR}"/Solaar-${PV/_rc/rc} +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="appindicator dbus doc libnotify test wayland" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-group/plugdev + dev-python/evdev[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + >=dev-python/pyudev-0.13[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + appindicator? ( dev-libs/libayatana-appindicator ) + libnotify? ( x11-libs/libnotify[introspection] ) + dbus? ( dev-python/dbus-python ) +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" +# libayatana-appindicator & libnotify are entirely optional and detected at runtime + +CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't autostart (bug #494608) + sed -r \ + -e '/yield autostart_path/d' \ + -e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \ + -i setup.py || die + + # grant plugdev group rw access + sed 's/#MODE=/MODE=/' \ + -i rules.d/42-logitech-unify-permissions.rules || die + # and the same for wayland (bug #933418) + sed 's/#MODE=/MODE=/' \ + -i rules.d-uinput/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 + + # bug #933418 + if use wayland; then + udev_dorules "${S}"/rules.d-uinput/42-logitech-unify-permissions.rules + else + udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules + fi +} + +python_test() { + local -a EPYTEST_DESELECT=( + # don't like sandbox + tests/logitech_receiver/test_desktop_notifications.py::test_notifications_available + tests/logitech_receiver/test_desktop_notifications.py::test_init + tests/logitech_receiver/test_desktop_notifications.py::test_show + tests/solaar/ui/test_desktop_notifications.py::test_notifications_available + tests/solaar/ui/test_desktop_notifications.py::test_init + ) + + distutils-r1_python_test +} + +pkg_postinst() { + udev_reload + xdg_pkg_postinst +} + +pkg_postrm() { + udev_reload + xdg_pkg_postrm +} diff --git a/app-misc/solaar/solaar-1.1.14.ebuild b/app-misc/solaar/solaar-1.1.14.ebuild deleted file mode 100644 index a9edbf132724..000000000000 --- a/app-misc/solaar/solaar-1.1.14.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -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 ~arm64 ~x86" - S="${WORKDIR}"/Solaar-${PV/_rc/rc} -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="appindicator dbus doc libnotify test wayland" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-group/plugdev - dev-python/evdev[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pygobject:3[${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/libayatana-appindicator ) - libnotify? ( x11-libs/libnotify[introspection] ) - dbus? ( dev-python/dbus-python ) -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" -# libayatana-appindicator & libnotify are entirely optional and detected at runtime - -CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" - -distutils_enable_tests pytest - -python_prepare_all() { - # don't autostart (bug #494608) - sed -r \ - -e '/yield autostart_path/d' \ - -e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \ - -i setup.py || die - - # grant plugdev group rw access - sed 's/#MODE=/MODE=/' \ - -i rules.d/42-logitech-unify-permissions.rules || die - # and the same for wayland (bug #933418) - sed 's/#MODE=/MODE=/' \ - -i rules.d-uinput/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 - - # bug #933418 - if use wayland; then - udev_dorules "${S}"/rules.d-uinput/42-logitech-unify-permissions.rules - else - udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules - fi -} - -python_test() { - local -a EPYTEST_DESELECT=( - # don't like sandbox - tests/logitech_receiver/test_desktop_notifications.py::test_notifications_available - tests/logitech_receiver/test_desktop_notifications.py::test_init - tests/logitech_receiver/test_desktop_notifications.py::test_show - tests/solaar/ui/test_desktop_notifications.py::test_notifications_available - tests/solaar/ui/test_desktop_notifications.py::test_init - ) - - distutils-r1_python_test -} - -pkg_postinst() { - udev_reload - xdg_pkg_postinst -} - -pkg_postrm() { - udev_reload - xdg_pkg_postrm -} -- cgit v1.2.3