1 |
commit: 8cf188a490a31cf9f3ade98ff4d83137da462e37 |
2 |
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 22 19:19:09 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 22 19:44:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf188a4 |
7 |
|
8 |
app-misc/solaar: Ensure python_prepare_all() is called |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14078 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
app-misc/solaar/solaar-1.0.1-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/solaar/solaar-1.0.1-r1.ebuild b/app-misc/solaar/solaar-1.0.1-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..94e1cd084d9 |
21 |
--- /dev/null |
22 |
+++ b/app-misc/solaar/solaar-1.0.1-r1.ebuild |
23 |
@@ -0,0 +1,49 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+DISTUTILS_USE_SETUPTOOLS=no |
30 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
31 |
+ |
32 |
+inherit linux-info udev xdg distutils-r1 |
33 |
+ |
34 |
+DESCRIPTION="A Linux device manager for Logitech's Unifying Receiver peripherals" |
35 |
+HOMEPAGE="https://pwr-solaar.github.io/Solaar/" |
36 |
+SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="GPL-2" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm ~x86" |
41 |
+IUSE="doc" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ acct-group/plugdev |
45 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/pyudev-0.13[${PYTHON_USEDEP}] |
47 |
+ x11-libs/gtk+:3[introspection]" |
48 |
+ |
49 |
+S="${WORKDIR}"/Solaar-${PV} |
50 |
+ |
51 |
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" |
52 |
+ |
53 |
+python_prepare_all() { |
54 |
+ # don't autostart (bug #494608) |
55 |
+ sed -i '/yield autostart_path/d' setup.py || die |
56 |
+ |
57 |
+ # grant plugdev group rw access |
58 |
+ sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die |
59 |
+ |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ distutils-r1_python_install_all |
65 |
+ |
66 |
+ udev_dorules rules.d/*.rules |
67 |
+ |
68 |
+ dodoc docs/devices.md |
69 |
+ if use doc; then |
70 |
+ dodoc -r docs/* |
71 |
+ fi |
72 |
+} |