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