Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/
Date: Sun, 31 Oct 2021 10:28:55
Message-Id: 1635676125.50b459eb9fd61a4853d981e8e0d5b11fdf01e6eb.gyakovlev@gentoo
1 commit: 50b459eb9fd61a4853d981e8e0d5b11fdf01e6eb
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 10:28:45 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 10:28:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b459eb
7
8 www-plugins/passff-host: drop 1.2.1-r1
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 www-plugins/passff-host/Manifest | 2 -
13 .../passff-host/passff-host-1.2.1-r1.ebuild | 59 ----------------------
14 2 files changed, 61 deletions(-)
15
16 diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
17 index a71c12dfafb..a9d55db5e56 100644
18 --- a/www-plugins/passff-host/Manifest
19 +++ b/www-plugins/passff-host/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST passff-host-1.2.1.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
22 -DIST passff-host-1.2.1.py 3666 BLAKE2B 6a95defc3b1abe91f95e83ab20e9d0e533da2ae0e2153d2b50abf0a77aeb426b6b0a0ed042c00912a434dadbf53a9091fa772df9b9f5c330982a9ab49b891bc8 SHA512 5fe848fe0d6a75b679ee18fd5d32fda963853b91ad382fc19780104d44d1052a7191188946af470722dab883f0318ec38980fc24f052aeb5c54cac98f810ee15
23 DIST passff-host-1.2.2.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
24 DIST passff-host-1.2.2.py 3691 BLAKE2B 3fb64c6ca0d512d61f7bd3884ff5714f5a1b93095ab1c99043645d8253b5128d3d054faec6bff0f560f536b10ffa1cd523dc440b19d90cfff3bac6009f0ce86e SHA512 407be35359e987f355f04a45bf8a0c1023ee04d3c6d7c4ea9cce29955957cd514302ca04aeda4367e8560e8d765159b5fddad2e51ea089f9eb2947564605b5cf
25
26 diff --git a/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild b/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
27 deleted file mode 100644
28 index df908c998ab..00000000000
29 --- a/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
30 +++ /dev/null
31 @@ -1,59 +0,0 @@
32 -# Copyright 2018-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -inherit python-single-r1
40 -
41 -DESCRIPTION="Host app for the PassFF WebExtension"
42 -HOMEPAGE="https://github.com/passff/passff-host"
43 -
44 -SRC_URI="
45 - https://github.com/passff/passff-host/releases/download/${PV}/passff.py -> ${P}.py
46 - https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> ${P}.json
47 -"
48 -
49 -LICENSE="GPL-2"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~ppc64 ~x86"
52 -IUSE="chrome chromium +firefox vivaldi"
53 -REQUIRED_USE="
54 - ${PYTHON_REQUIRED_USE}
55 - || ( chrome chromium firefox vivaldi )
56 -"
57 -
58 -RDEPEND="${PYTHON_DEPS}"
59 -
60 -S="${WORKDIR}"
61 -
62 -src_unpack() {
63 - cp "${DISTDIR}/${P}.json" . || die
64 - cp "${DISTDIR}/${P}.py" . || die
65 -}
66 -
67 -src_prepare() {
68 - default
69 - python_fix_shebang "${P}.py"
70 -}
71 -
72 -src_install() {
73 - local target_dirs=()
74 -
75 - use chrome && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" )
76 - use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
77 - use firefox && target_dirs+=( "/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
78 - # www-client/firefox-bin compile-time dir is under /usr/lib/
79 - use firefox && target_dirs+=( "/usr/lib/mozilla/native-messaging-hosts" )
80 - use vivaldi && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
81 -
82 - for target_dir in "${target_dirs[@]}"; do
83 - sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > "passff.json" || die
84 -
85 - insinto "${target_dir}"
86 - doins passff.json
87 - exeinto "${target_dir}"
88 - newexe "${P}.py" passff.py
89 - done
90 -}