Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/blueberry/
Date: Tue, 15 Sep 2020 14:11:34
Message-Id: 1600179078.2e56cbdd58cccc1340ac8973893b667e2aaa062e.juippis@gentoo
1 commit: 2e56cbdd58cccc1340ac8973893b667e2aaa062e
2 Author: Olivier Laurantin <olivier.laurantin <AT> laposte <DOT> net>
3 AuthorDate: Fri Aug 21 16:14:24 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 14:11:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e56cbdd
7
8 net-wireless/blueberry: version bump
9
10 Update to latest upstream version
11 Add python 3.8 compatibility
12 Signed-off-by: Olivier Laurantin <olivier.laurantin <AT> laposte.net>
13 Package-Manager: Portage-2.3.103, Repoman-2.3.23
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 net-wireless/blueberry/Manifest | 1 +
17 net-wireless/blueberry/blueberry-1.3.9.ebuild | 65 +++++++++++++++++++++++++++
18 2 files changed, 66 insertions(+)
19
20 diff --git a/net-wireless/blueberry/Manifest b/net-wireless/blueberry/Manifest
21 index 85316f6cb51..8744c4d77cb 100644
22 --- a/net-wireless/blueberry/Manifest
23 +++ b/net-wireless/blueberry/Manifest
24 @@ -1 +1,2 @@
25 DIST blueberry-1.3.6.tar.gz 1411444 BLAKE2B b86db1f470f44ad8c0b8efa173f0d161112a6ddd734b9cb9545ece78762299ed244855d9d89d7f9090f876ca6da8ac0b8cd8e2b4627ea94588bfe52b466b43d5 SHA512 6ff6a9b3dc5ff46fc383f55a1c6f519447ca707fac2a31436a1a8d0955de50dd5bfc9977879fcd3191ef1a4e508629ccb0d790a2dce3fd3ff54be098218bbd8d
26 +DIST blueberry-1.3.9.tar.gz 1411969 BLAKE2B 2a11b12428166dce5dbeb00cc3813e9dea96b61891456622833400f7a9bb69a61317e9d6bdc862edce2c39f64fd04950dc793724338cb266ae365b1d10abee49 SHA512 7ee5e33daf0ce3b41bc3827042aa14ed4de1b58f862e76a50934d6beae79bf7e68b657461370da2e309d15c7ff858c8fb18aa7e891e7bc70e70c171884c5bb57
27
28 diff --git a/net-wireless/blueberry/blueberry-1.3.9.ebuild b/net-wireless/blueberry/blueberry-1.3.9.ebuild
29 new file mode 100644
30 index 00000000000..391bc9e2e03
31 --- /dev/null
32 +++ b/net-wireless/blueberry/blueberry-1.3.9.ebuild
33 @@ -0,0 +1,65 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{6,7,8} )
40 +
41 +inherit eutils gnome2-utils python-single-r1 xdg-utils
42 +
43 +DESCRIPTION="A Bluetooth configuration tool"
44 +HOMEPAGE="https://github.com/linuxmint/blueberry"
45 +SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE=""
51 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 +
53 +RDEPEND="${PYTHON_DEPS}
54 + $(python_gen_cond_dep '
55 + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
56 + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
57 + dev-python/setproctitle[${PYTHON_MULTI_USEDEP}]
58 + dev-python/xapp[${PYTHON_MULTI_USEDEP}]
59 + ')
60 + >=net-wireless/gnome-bluetooth-3.14[introspection]
61 + net-wireless/bluez[obex]
62 + net-wireless/bluez-tools
63 + || (
64 + >=sys-apps/util-linux-2.31_rc1
65 + net-wireless/rfkill
66 + )
67 + x11-libs/libnotify[introspection]
68 + x11-misc/wmctrl"
69 +DEPEND="${RDEPEND}"
70 +
71 +src_prepare() {
72 + default
73 + python_fix_shebang usr/lib
74 +}
75 +
76 +src_install() {
77 + doins -r etc
78 + exeinto /usr/bin
79 + doexe usr/bin/*
80 + exeinto /usr/lib/blueberry
81 + doexe usr/lib/blueberry/*
82 + insinto /usr
83 + doins -r usr/share
84 +}
85 +
86 +pkg_preinst() {
87 + gnome2_schemas_savelist
88 +}
89 +
90 +pkg_postinst() {
91 + gnome2_schemas_update
92 + xdg_icon_cache_update
93 +}
94 +
95 +pkg_postrm() {
96 + gnome2_schemas_update
97 + xdg_icon_cache_update
98 +}