Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/
Date: Thu, 30 May 2019 14:31:07
Message-Id: 1559226645.6bd41b52ea682c2e909b45a1470fbc84e705d2a5.mgorny@gentoo
1 commit: 6bd41b52ea682c2e909b45a1470fbc84e705d2a5
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sun Apr 21 09:55:58 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 30 14:30:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd41b52
7
8 www-plugins/passff-host: Remove old (1.1.0)
9
10 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
11 Closes: https://github.com/gentoo/gentoo/pull/11762
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 www-plugins/passff-host/Manifest | 2 -
15 www-plugins/passff-host/passff-host-1.1.0.ebuild | 52 ------------------------
16 2 files changed, 54 deletions(-)
17
18 diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
19 index a6676171599..1f70adbbc56 100644
20 --- a/www-plugins/passff-host/Manifest
21 +++ b/www-plugins/passff-host/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST passff-host-1.1.0.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
24 -DIST passff-host-1.1.0.py 3405 BLAKE2B 6a73c070bc12c1a408ba3d8f1c76f81f1a73e878096d68b7b682b879fe4b51fd45bb24baa9e901bdabf77975ad24713e6846bf713c3e6a42ef8cbe617ef3a927 SHA512 7a275df3fb11f7a3823a7d9fbb41b2b83fb66f893570b95c89d2dfae3669ac12d30d13086c250882241978e555a064021ff26d3837d6e2704b20f3b12b3fd4af
25 DIST passff-host-1.2.0.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
26 DIST passff-host-1.2.0.py 3658 BLAKE2B 2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36 SHA512 8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0
27
28 diff --git a/www-plugins/passff-host/passff-host-1.1.0.ebuild b/www-plugins/passff-host/passff-host-1.1.0.ebuild
29 deleted file mode 100644
30 index aba30e810e6..00000000000
31 --- a/www-plugins/passff-host/passff-host-1.1.0.ebuild
32 +++ /dev/null
33 @@ -1,52 +0,0 @@
34 -# Copyright 2018-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
40 -
41 -inherit python-single-r1
42 -
43 -DESCRIPTION="Host app for the PassFF WebExtension"
44 -HOMEPAGE="https://github.com/passff/passff-host"
45 -
46 -SRC_URI="
47 - https://github.com/passff/passff-host/releases/download/${PV}/passff.py -> ${P}.py
48 - https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> ${P}.json
49 -"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86"
54 -IUSE="chrome chromium firefox vivaldi"
55 -REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
56 -
57 -S="${WORKDIR}"
58 -
59 -src_unpack() {
60 - cp "${DISTDIR}/${P}.json" . || die
61 - cp "${DISTDIR}/${P}.py" . || die
62 -}
63 -
64 -src_prepare() {
65 - default
66 - python_fix_shebang "${P}.py"
67 -}
68 -
69 -src_install() {
70 - local target_dirs=()
71 -
72 - use chrome && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" )
73 - use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
74 - use firefox && target_dirs+=( "/usr/lib/mozilla/native-messaging-hosts" )
75 - use vivaldi && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
76 -
77 - for target_dir in "${target_dirs[@]}"; do
78 - sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > "passff.json" || die
79 -
80 - insinto "${target_dir}"
81 - doins passff.json
82 - exeinto "${target_dir}"
83 - newexe "${P}.py" passff.py
84 - done
85 -}