[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2024-09-18 Thread Petr Vaněk
commit: 712618abe5b3b725e2452fad1755ec49213eb19c
Author: Petr Vaněk  gentoo  org>
AuthorDate: Wed Sep 18 18:03:40 2024 +
Commit: Petr Vaněk  gentoo  org>
CommitDate: Wed Sep 18 18:14:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712618ab

www-plugins/passff-host: drop 1.2.3-r1

Signed-off-by: Petr Vaněk  gentoo.org>

 www-plugins/passff-host/Manifest   |  2 -
 .../passff-host/passff-host-1.2.3-r1.ebuild| 68 --
 2 files changed, 70 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 67b1d77bd8f1..c6dba1f43879 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.2.3.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.2.3.py 3691 BLAKE2B 
428573d2493f9ff8ef1dc6c8971508a05afa1bef7e06831462106e8daa98c9bedf63489e6630ff9c441ef981164656932c404ffd47e12a2e1e77a55c3ec4955e
 SHA512 
be01e5ed3974bc0967e0dd102593ea8b4f62a5b4ca3f8f2fa2743f9abb4118334cfd27ecd595ce31dd079831614ebf8d91c5b504ad5ead067c245b921d756ceb
 DIST passff-host-1.2.4.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.4.py 4427 BLAKE2B 
495947577f9ee7b2e02e42e5200d29896c63234f33dd3576b9d19fb986ac9419685f39c6bfd061fcc3754ab386030a62b08147b0967a6f49ac2be79268ea8e5a
 SHA512 
ddc14a634f5ae33d3dd8db211fbea0e7728eb8fec8bca366b1860f0d92abc019556c1e3643fbcf85e92cbfbe99a4a67dda0c1d9c5651d20676fdd63b3635ffaa

diff --git a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
deleted file mode 100644
index 833c60452afa..
--- a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2018-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
-IUSE="chrome chromium +firefox vivaldi"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( chrome chromium firefox vivaldi )
-"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   app-crypt/pinentry
-"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
-   # www-client/firefox-bin compile-time dir is under /usr/lib/
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}
-
-pkg_postinst() {
-   elog "Make sure to use graphical version of pinentry for ${PN} to work 
properly"
-   elog "Run 'eselect pinentry list'"
-   elog "And select 'pinentry-qt5' or 'pinentry-gnome'. efl might work 
too."
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2024-05-28 Thread Joonas Niilola
commit: 788582dc70a54512d90829eac42bf4a8cb7f7ccb
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May 29 05:43:21 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 29 05:43:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788582dc

www-plugins/passff-host: Stabilize 1.2.4 amd64, #933061

Signed-off-by: Joonas Niilola  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.4.ebuild 
b/www-plugins/passff-host/passff-host-1.2.4.ebuild
index 7a0d38a68576..206e86fbb171 100644
--- a/www-plugins/passff-host/passff-host-1.2.4.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
 IUSE="chrome chromium +firefox vivaldi"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2024-02-24 Thread Matt Turner
commit: d4aa6dd7f0f43bae7f9ab7f0adfa2cae2e0303f7
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Feb 25 02:42:27 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Feb 25 02:43:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4aa6dd7

www-plugins/passff-host: Version bump to 1.2.4

Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.2.4.ebuild | 68 
 2 files changed, 70 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index dc0d3ec7ab24..67b1d77bd8f1 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.2.3.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.3.py 3691 BLAKE2B 
428573d2493f9ff8ef1dc6c8971508a05afa1bef7e06831462106e8daa98c9bedf63489e6630ff9c441ef981164656932c404ffd47e12a2e1e77a55c3ec4955e
 SHA512 
be01e5ed3974bc0967e0dd102593ea8b4f62a5b4ca3f8f2fa2743f9abb4118334cfd27ecd595ce31dd079831614ebf8d91c5b504ad5ead067c245b921d756ceb
+DIST passff-host-1.2.4.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.2.4.py 4427 BLAKE2B 
495947577f9ee7b2e02e42e5200d29896c63234f33dd3576b9d19fb986ac9419685f39c6bfd061fcc3754ab386030a62b08147b0967a6f49ac2be79268ea8e5a
 SHA512 
ddc14a634f5ae33d3dd8db211fbea0e7728eb8fec8bca366b1860f0d92abc019556c1e3643fbcf85e92cbfbe99a4a67dda0c1d9c5651d20676fdd63b3635ffaa

diff --git a/www-plugins/passff-host/passff-host-1.2.4.ebuild 
b/www-plugins/passff-host/passff-host-1.2.4.ebuild
new file mode 100644
index ..7a0d38a68576
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2018-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="chrome chromium +firefox vivaldi"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-crypt/pinentry
+"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   # www-client/firefox-bin compile-time dir is under /usr/lib/
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}
+
+pkg_postinst() {
+   elog "Make sure to use graphical version of pinentry for ${PN} to work 
properly"
+   elog "Run 'eselect pinentry list'"
+   elog "And select 'pinentry-qt5' or 'pinentry-gnome'. efl might work 
too."
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2023-12-20 Thread Michał Górny
commit: 6a801d0d0867b3bab51f592e9383ff429f487b3c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 20 16:14:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 20 16:14:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a801d0d

www-plugins/passff-host: Stabilize 1.2.3-r1 amd64, #915828

Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
index 69e81bf5f5d8..833c60452afa 100644
--- a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
 IUSE="chrome chromium +firefox vivaldi"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2023-02-23 Thread Matt Turner
commit: 499d0c5686b593c22d4ebfe7b95f42c9d5b3cbdd
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Feb 24 03:43:25 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Feb 24 04:10:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499d0c56

www-plugins/passff-host: Add Python 3.11 compatibility

Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
index 8fc98f6dbd33..69e81bf5f5d8 100644
--- a/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-12-31 Thread Georgy Yakovlev
commit: 6a7aa45300ade316ff7294754a90f39e07e2b840
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Dec 31 12:04:47 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Dec 31 12:11:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7aa453

www-plugins/passff-host: drop 1.2.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/Manifest |  2 -
 www-plugins/passff-host/passff-host-1.2.2.ebuild | 59 
 2 files changed, 61 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 9f9f2d6f529e..dc0d3ec7ab24 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.2.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.2.2.py 3691 BLAKE2B 
3fb64c6ca0d512d61f7bd3884ff5714f5a1b93095ab1c99043645d8253b5128d3d054faec6bff0f560f536b10ffa1cd523dc440b19d90cfff3bac6009f0ce86e
 SHA512 
407be35359e987f355f04a45bf8a0c1023ee04d3c6d7c4ea9cce29955957cd514302ca04aeda4367e8560e8d765159b5fddad2e51ea089f9eb2947564605b5cf
 DIST passff-host-1.2.3.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.3.py 3691 BLAKE2B 
428573d2493f9ff8ef1dc6c8971508a05afa1bef7e06831462106e8daa98c9bedf63489e6630ff9c441ef981164656932c404ffd47e12a2e1e77a55c3ec4955e
 SHA512 
be01e5ed3974bc0967e0dd102593ea8b4f62a5b4ca3f8f2fa2743f9abb4118334cfd27ecd595ce31dd079831614ebf8d91c5b504ad5ead067c245b921d756ceb

diff --git a/www-plugins/passff-host/passff-host-1.2.2.ebuild 
b/www-plugins/passff-host/passff-host-1.2.2.ebuild
deleted file mode 100644
index 3c481e7e23ec..
--- a/www-plugins/passff-host/passff-host-1.2.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2018-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="chrome chromium +firefox vivaldi"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( chrome chromium firefox vivaldi )
-"
-
-RDEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
-   # www-client/firefox-bin compile-time dir is under /usr/lib/
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-12-31 Thread Georgy Yakovlev
commit: 4456c756e6e3f911e06a4ff26dd890d8370e1d95
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Dec 31 12:10:39 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Dec 31 12:11:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4456c756

www-plugins/passff-host: add pinentry to rdepend

Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../{passff-host-1.2.3.ebuild => passff-host-1.2.3-r1.ebuild} | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.3.ebuild 
b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
similarity index 85%
rename from www-plugins/passff-host/passff-host-1.2.3.ebuild
rename to www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
index 3c481e7e23ec..0f40d6776d69 100644
--- a/www-plugins/passff-host/passff-host-1.2.3.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild
@@ -24,7 +24,10 @@ REQUIRED_USE="
|| ( chrome chromium firefox vivaldi )
 "
 
-RDEPEND="${PYTHON_DEPS}"
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-crypt/pinentry
+"
 
 S="${WORKDIR}"
 
@@ -57,3 +60,9 @@ src_install() {
newexe "${P}.py" passff.py
done
 }
+
+pkg_postinst() {
+   elog "Make sure to use graphical version of pinentry for ${PN} to work 
properly"
+   elog "Run 'eselect pinentry list'"
+   elog "And select 'pinentry-qt5' or 'pinentry-gnome'. efl might work 
too."
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-11-08 Thread Georgy Yakovlev
commit: 3d0b476f7886e2c28978790946bff9b58dadd1ce
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Nov  9 02:01:23 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Nov  9 02:04:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0b476f

www-plugins/passff-host: add 1.2.3

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.2.3.ebuild | 59 
 2 files changed, 61 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index a9d55db5e56..9f9f2d6f529 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.2.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.2.py 3691 BLAKE2B 
3fb64c6ca0d512d61f7bd3884ff5714f5a1b93095ab1c99043645d8253b5128d3d054faec6bff0f560f536b10ffa1cd523dc440b19d90cfff3bac6009f0ce86e
 SHA512 
407be35359e987f355f04a45bf8a0c1023ee04d3c6d7c4ea9cce29955957cd514302ca04aeda4367e8560e8d765159b5fddad2e51ea089f9eb2947564605b5cf
+DIST passff-host-1.2.3.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.2.3.py 3691 BLAKE2B 
428573d2493f9ff8ef1dc6c8971508a05afa1bef7e06831462106e8daa98c9bedf63489e6630ff9c441ef981164656932c404ffd47e12a2e1e77a55c3ec4955e
 SHA512 
be01e5ed3974bc0967e0dd102593ea8b4f62a5b4ca3f8f2fa2743f9abb4118334cfd27ecd595ce31dd079831614ebf8d91c5b504ad5ead067c245b921d756ceb

diff --git a/www-plugins/passff-host/passff-host-1.2.3.ebuild 
b/www-plugins/passff-host/passff-host-1.2.3.ebuild
new file mode 100644
index 000..3c481e7e23e
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="chrome chromium +firefox vivaldi"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   # www-client/firefox-bin compile-time dir is under /usr/lib/
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-10-31 Thread Georgy Yakovlev
commit: d07578f141d305149d5c4111ba9af5fb2f06eb7c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Oct 31 10:25:58 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Oct 31 10:26:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07578f1

www-plugins/passff-host: enable py3.10

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.2.ebuild 
b/www-plugins/passff-host/passff-host-1.2.2.ebuild
index df908c998ab..3c481e7e23e 100644
--- a/www-plugins/passff-host/passff-host-1.2.2.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-10-31 Thread Georgy Yakovlev
commit: 50b459eb9fd61a4853d981e8e0d5b11fdf01e6eb
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Oct 31 10:28:45 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Oct 31 10:28:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b459eb

www-plugins/passff-host: drop 1.2.1-r1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/Manifest   |  2 -
 .../passff-host/passff-host-1.2.1-r1.ebuild| 59 --
 2 files changed, 61 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index a71c12dfafb..a9d55db5e56 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.2.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.2.1.py 3666 BLAKE2B 
6a95defc3b1abe91f95e83ab20e9d0e533da2ae0e2153d2b50abf0a77aeb426b6b0a0ed042c00912a434dadbf53a9091fa772df9b9f5c330982a9ab49b891bc8
 SHA512 
5fe848fe0d6a75b679ee18fd5d32fda963853b91ad382fc19780104d44d1052a7191188946af470722dab883f0318ec38980fc24f052aeb5c54cac98f810ee15
 DIST passff-host-1.2.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.2.py 3691 BLAKE2B 
3fb64c6ca0d512d61f7bd3884ff5714f5a1b93095ab1c99043645d8253b5128d3d054faec6bff0f560f536b10ffa1cd523dc440b19d90cfff3bac6009f0ce86e
 SHA512 
407be35359e987f355f04a45bf8a0c1023ee04d3c6d7c4ea9cce29955957cd514302ca04aeda4367e8560e8d765159b5fddad2e51ea089f9eb2947564605b5cf

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
deleted file mode 100644
index df908c998ab..000
--- a/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2018-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="chrome chromium +firefox vivaldi"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( chrome chromium firefox vivaldi )
-"
-
-RDEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
-   # www-client/firefox-bin compile-time dir is under /usr/lib/
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-10-13 Thread Georgy Yakovlev
commit: 3763d5f20f41266ecd600d68de4b197c891172b1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Oct 13 22:07:06 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Oct 13 22:07:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3763d5f2

www-plugins/passff-host: add 1.2.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.2.2.ebuild | 59 
 2 files changed, 61 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 6a9bd2fdfee..a71c12dfafb 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.2.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.1.py 3666 BLAKE2B 
6a95defc3b1abe91f95e83ab20e9d0e533da2ae0e2153d2b50abf0a77aeb426b6b0a0ed042c00912a434dadbf53a9091fa772df9b9f5c330982a9ab49b891bc8
 SHA512 
5fe848fe0d6a75b679ee18fd5d32fda963853b91ad382fc19780104d44d1052a7191188946af470722dab883f0318ec38980fc24f052aeb5c54cac98f810ee15
+DIST passff-host-1.2.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.2.2.py 3691 BLAKE2B 
3fb64c6ca0d512d61f7bd3884ff5714f5a1b93095ab1c99043645d8253b5128d3d054faec6bff0f560f536b10ffa1cd523dc440b19d90cfff3bac6009f0ce86e
 SHA512 
407be35359e987f355f04a45bf8a0c1023ee04d3c6d7c4ea9cce29955957cd514302ca04aeda4367e8560e8d765159b5fddad2e51ea089f9eb2947564605b5cf

diff --git a/www-plugins/passff-host/passff-host-1.2.2.ebuild 
b/www-plugins/passff-host/passff-host-1.2.2.ebuild
new file mode 100644
index 000..df908c998ab
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="chrome chromium +firefox vivaldi"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   # www-client/firefox-bin compile-time dir is under /usr/lib/
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2021-04-20 Thread Georgy Yakovlev
commit: 9956bcfbe800e7651871b7566b3965d510fd1e23
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Apr 20 23:56:42 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Apr 20 23:56:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9956bcfb

www-plugins/passff-host: USE=firefox by default

to fix QA  failed REQUIRED_USE: ( chrome || chromium || firefox || vivaldi )
it's most likely to be used with firefox, so it should be default.

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index a052e672cc3..df908c998ab 100644
--- a/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2020 Gentoo Authors
+# Copyright 2018-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ SRC_URI="
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
+IUSE="chrome chromium +firefox vivaldi"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( chrome chromium firefox vivaldi )



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2020-09-18 Thread Georgy Yakovlev
commit: fe9edcfa2ea68cfcbe2f4c26e61ecd582d457840
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Sep 18 22:24:44 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Sep 18 22:24:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9edcfa

www-plugins/passff: remove last rited pkg

Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff/Manifest|  1 -
 www-plugins/passff/metadata.xml|  8 
 www-plugins/passff/passff-1.9.1.ebuild | 30 --
 3 files changed, 39 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
deleted file mode 100644
index 911b19fc39a..000
--- a/www-plugins/passff/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST passff-1.9.1-fx.xpi 72849 BLAKE2B 
8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671
 SHA512 
7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850

diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml
deleted file mode 100644
index c4a7fed3506..000
--- a/www-plugins/passff/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-
-
-   passff/passff
-
-

diff --git a/www-plugins/passff/passff-1.9.1.ebuild 
b/www-plugins/passff/passff-1.9.1.ebuild
deleted file mode 100644
index 3abafff5d72..000
--- a/www-plugins/passff/passff-1.9.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_XPINAME="${P}-fx"
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="https://addons.mozilla.org/firefox/downloads/file/3051801/${MY_XPINAME}.xpi";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="www-plugins/passff-host[firefox]"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
-}
-
-src_install() {
-   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
-   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
-   # pas...@invicem.pro is the extension id found in the manifest.json
-   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-07-31 Thread Matt Turner
commit: ae30dcf121c8a24dff3f907b331466e1898b455c
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jul 31 22:32:59 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul 31 22:34:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae30dcf1

www-plugins/passff-host: Add Python 3.8 and 3.9 compatibility

Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index ae62d7aaca1..ec245115cb0 100644
--- a/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 python3_7 )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-07-31 Thread Matt Turner
commit: 95a4a139cf9357f3fffc76708206095505525bb5
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jul 31 22:33:38 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul 31 22:34:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a4a139

www-plugins/passff-host: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.1.ebuild | 57 
 1 file changed, 57 deletions(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.1.ebuild
deleted file mode 100644
index 3dd1e204515..000
--- a/www-plugins/passff-host/passff-host-1.2.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 python3_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( chrome chromium firefox vivaldi )
-"
-
-RDEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-02-11 Thread Georgy Yakovlev
commit: b29bf7bd1007ec4bdb62d45a1a62a0f4b9588fee
Author: Lucian Poston  pm  me>
AuthorDate: Tue Feb 11 22:26:58 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Feb 12 06:24:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b29bf7bd

www-plugins/passff-host: Install to firefox-bin dir

Firefox's directory for native messaging hosts is a compile-time
variable. www-client/firefox-bin is set to a directory under /usr/lib/,
while www-client/firefox varies. This -r1 bump will install passff-host
to both locations so that both firefox and firefox-bin are able to
locate the plugin.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lucian Poston  pm.me>
Closes: https://bugs.gentoo.org/687746
Closes: https://github.com/gentoo/gentoo/pull/14632
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../passff-host/passff-host-1.2.1-r1.ebuild| 59 ++
 1 file changed, 59 insertions(+)

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
new file mode 100644
index 000..ae62d7aaca1
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 python3_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   # www-client/firefox-bin compile-time dir is under /usr/lib/
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-01-26 Thread Georgy Yakovlev
commit: 7da24b075adaacbb1b6ba5fe2df95e1b40b069db
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jan 26 10:49:05 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jan 26 10:49:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da24b07

www-plugins/passff-host: drop old

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/Manifest   |  2 -
 .../passff-host/passff-host-1.2.0-r1.ebuild| 57 --
 2 files changed, 59 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index c67e81caa08..6a9bd2fdfee 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.2.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.2.0.py 3658 BLAKE2B 
2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36
 SHA512 
8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0
 DIST passff-host-1.2.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.1.py 3666 BLAKE2B 
6a95defc3b1abe91f95e83ab20e9d0e533da2ae0e2153d2b50abf0a77aeb426b6b0a0ed042c00912a434dadbf53a9091fa772df9b9f5c330982a9ab49b891bc8
 SHA512 
5fe848fe0d6a75b679ee18fd5d32fda963853b91ad382fc19780104d44d1052a7191188946af470722dab883f0318ec38980fc24f052aeb5c54cac98f810ee15

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
deleted file mode 100644
index 4544b6bbd9f..000
--- a/www-plugins/passff-host/passff-host-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 python3_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( chrome chromium firefox vivaldi )
-"
-
-RDEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-01-26 Thread Georgy Yakovlev
commit: 3adc124ad1efd41e7f14bb661c63ccf9bbb9fe0b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jan 26 10:47:47 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jan 26 10:47:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3adc124a

www-plugins/passff-host: add myself to metadata.xml

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/metadata.xml | 23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/www-plugins/passff-host/metadata.xml 
b/www-plugins/passff-host/metadata.xml
index b490196434d..31e0c3fa53a 100644
--- a/www-plugins/passff-host/metadata.xml
+++ b/www-plugins/passff-host/metadata.xml
@@ -1,14 +1,17 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-
-   Install plugin for chrome (which also includes 
opera)
-   Install plugin for chromium
-   Install plugin for firefox
-   Install plugin for vivaldi
-
-
-   passff/passff-host
-
+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   
+   
+   Install plugin for chrome (which also 
includes opera)
+   Install plugin for chromium
+   Install plugin for firefox
+   Install plugin for vivaldi
+   
+   
+   passff/passff-host
+   
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2020-01-26 Thread Georgy Yakovlev
commit: 1733473d561c24a85f95d9e87f54739705a49907
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jan 26 10:48:38 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jan 26 10:48:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1733473d

www-plugins/passff-host: keyword on ~ppc64

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 www-plugins/passff-host/passff-host-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.1.ebuild
index 4544b6bbd9f..3dd1e204515 100644
--- a/www-plugins/passff-host/passff-host-1.2.1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="chrome chromium firefox vivaldi"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2020-01-03 Thread Matt Turner
commit: e3030dc0c88fc343271a0f00841b61088916f4c3
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jan  3 22:59:30 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jan  3 23:01:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3030dc0

www-plugins/passff: Version bump to 1.9.1

Closes: https://bugs.gentoo.org/703066
Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff/Manifest   | 2 +-
 www-plugins/passff/{passff-1.9.ebuild => passff-1.9.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 6dc113ca0cf..911b19fc39a 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1 +1 @@
-DIST passff-1.9-fx.xpi 72849 BLAKE2B 
8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671
 SHA512 
7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850
+DIST passff-1.9.1-fx.xpi 72849 BLAKE2B 
8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671
 SHA512 
7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850

diff --git a/www-plugins/passff/passff-1.9.ebuild 
b/www-plugins/passff/passff-1.9.1.ebuild
similarity index 95%
rename from www-plugins/passff/passff-1.9.ebuild
rename to www-plugins/passff/passff-1.9.1.ebuild
index d2745055d54..3abafff5d72 100644
--- a/www-plugins/passff/passff-1.9.ebuild
+++ b/www-plugins/passff/passff-1.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Gentoo Authors
+# Copyright 2018-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/, www-plugins/passff/

2019-12-19 Thread Michał Górny
commit: 10f715f736761a98bb95b40a7e549190c4376d81
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Dec 19 02:27:12 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 19 08:33:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f715f7

www-plugins/passff{,-host}: Removing myself from maintainer

See 
https://archives.gentoo.org/gentoo-proxy-maint/message/e7b639f94acd6812bf508e25694c

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff-host/metadata.xml | 8 +---
 www-plugins/passff/metadata.xml  | 8 +---
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/www-plugins/passff-host/metadata.xml 
b/www-plugins/passff-host/metadata.xml
index 1e9cea82ee0..b490196434d 100644
--- a/www-plugins/passff-host/metadata.xml
+++ b/www-plugins/passff-host/metadata.xml
@@ -1,13 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   cont...@hacktivis.me
-
-
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-
+
 
Install plugin for chrome (which also includes 
opera)
Install plugin for chromium

diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml
index af94d61a342..c4a7fed3506 100644
--- a/www-plugins/passff/metadata.xml
+++ b/www-plugins/passff/metadata.xml
@@ -1,13 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   cont...@hacktivis.me
-
-
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-
+
 
passff/passff
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-11-22 Thread Matt Turner
commit: 11219861d3cac6f8fb81ba5ee0c8f2b7e982f281
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 23 03:29:21 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 23 03:31:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11219861

www-plugins/passff-host: Version bump to 1.2.1

Closes: https://bugs.gentoo.org/696594
Signed-off-by: Matt Turner  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.2.1.ebuild | 57 
 2 files changed, 59 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 1f70adbbc56..c67e81caa08 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.2.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.0.py 3658 BLAKE2B 
2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36
 SHA512 
8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0
+DIST passff-host-1.2.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.2.1.py 3666 BLAKE2B 
6a95defc3b1abe91f95e83ab20e9d0e533da2ae0e2153d2b50abf0a77aeb426b6b0a0ed042c00912a434dadbf53a9091fa772df9b9f5c330982a9ab49b891bc8
 SHA512 
5fe848fe0d6a75b679ee18fd5d32fda963853b91ad382fc19780104d44d1052a7191188946af470722dab883f0318ec38980fc24f052aeb5c54cac98f810ee15

diff --git a/www-plugins/passff-host/passff-host-1.2.1.ebuild 
b/www-plugins/passff-host/passff-host-1.2.1.ebuild
new file mode 100644
index 000..790ceb42622
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-07-23 Thread Michał Górny
commit: 39bc66d9cb1e1dc8c853df170f485196f73aff18
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Tue Jul 23 19:08:15 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 19:45:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bc66d9

www-plugins/passff-host: Fix python eclass warnings

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 .../{passff-host-1.2.0.ebuild => passff-host-1.2.0-r1.ebuild}  | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.2.0.ebuild 
b/www-plugins/passff-host/passff-host-1.2.0-r1.ebuild
similarity index 92%
rename from www-plugins/passff-host/passff-host-1.2.0.ebuild
rename to www-plugins/passff-host/passff-host-1.2.0-r1.ebuild
index f42fb96ba19..790ceb42622 100644
--- a/www-plugins/passff-host/passff-host-1.2.0.ebuild
+++ b/www-plugins/passff-host/passff-host-1.2.0-r1.ebuild
@@ -19,7 +19,12 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( chrome chromium firefox vivaldi )
+"
+
+RDEPEND="${PYTHON_DEPS}"
 
 S="${WORKDIR}"
 



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-06-28 Thread Michał Górny
commit: 3f7bf19ddececb01e80288deeec4495ea6977797
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Jun 28 07:03:34 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 28 08:37:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7bf19d

www-plugins/passff: Remove old, 1.8

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff/Manifest  |  1 -
 www-plugins/passff/passff-1.8.ebuild | 30 --
 2 files changed, 31 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 0cfd5cf3ac0..6dc113ca0cf 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,2 +1 @@
-DIST passff-1.8-fx.xpi 72678 BLAKE2B 
d5ec67fff396d62960fbf813ab9d8f6086028a282bab78aa4dc6e63132e723ce4b1bb6d05015d3934fabbd37460d04f7626043b97fd29c5c72486754ef14e111
 SHA512 
5500e7439d5eda3481eaa405abaef5b846f4f29b5fee4dffc49084b2ce658f9e13e4ced747a28d368892034921a556e3a989c1f8682365cdab787e41913c8250
 DIST passff-1.9-fx.xpi 72849 BLAKE2B 
8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671
 SHA512 
7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850

diff --git a/www-plugins/passff/passff-1.8.ebuild 
b/www-plugins/passff/passff-1.8.ebuild
deleted file mode 100644
index 8a9894c396e..000
--- a/www-plugins/passff/passff-1.8.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2018-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_XPINAME="${P}-fx"
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="https://addons.mozilla.org/firefox/downloads/file/2983533/${MY_XPINAME}.xpi";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="www-plugins/passff-host[firefox]"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
-}
-
-src_install() {
-   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
-   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
-   # pas...@invicem.pro is the extension id found in the manifest.json
-   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-06-28 Thread Michał Górny
commit: 1ac4bcb8526e2785bf9bfdf20ba057cd506c28a9
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Jun 28 07:03:33 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 28 08:37:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ac4bcb8

www-plugins/passff: Version bump, 1.9

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff/Manifest  |  1 +
 www-plugins/passff/passff-1.9.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 25af54a823f..0cfd5cf3ac0 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1 +1,2 @@
 DIST passff-1.8-fx.xpi 72678 BLAKE2B 
d5ec67fff396d62960fbf813ab9d8f6086028a282bab78aa4dc6e63132e723ce4b1bb6d05015d3934fabbd37460d04f7626043b97fd29c5c72486754ef14e111
 SHA512 
5500e7439d5eda3481eaa405abaef5b846f4f29b5fee4dffc49084b2ce658f9e13e4ced747a28d368892034921a556e3a989c1f8682365cdab787e41913c8250
+DIST passff-1.9-fx.xpi 72849 BLAKE2B 
8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671
 SHA512 
7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850

diff --git a/www-plugins/passff/passff-1.9.ebuild 
b/www-plugins/passff/passff-1.9.ebuild
new file mode 100644
index 000..d2745055d54
--- /dev/null
+++ b/www-plugins/passff/passff-1.9.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_XPINAME="${P}-fx"
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/3051801/${MY_XPINAME}.xpi";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="www-plugins/passff-host[firefox]"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
+}
+
+src_install() {
+   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
+   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
+   # pas...@invicem.pro is the extension id found in the manifest.json
+   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-05-30 Thread Michał Górny
commit: 6bd41b52ea682c2e909b45a1470fbc84e705d2a5
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Apr 21 09:55:58 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 30 14:30:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd41b52

www-plugins/passff-host: Remove old (1.1.0)

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/11762
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff-host/Manifest |  2 -
 www-plugins/passff-host/passff-host-1.1.0.ebuild | 52 
 2 files changed, 54 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index a6676171599..1f70adbbc56 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.1.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.1.0.py 3405 BLAKE2B 
6a73c070bc12c1a408ba3d8f1c76f81f1a73e878096d68b7b682b879fe4b51fd45bb24baa9e901bdabf77975ad24713e6846bf713c3e6a42ef8cbe617ef3a927
 SHA512 
7a275df3fb11f7a3823a7d9fbb41b2b83fb66f893570b95c89d2dfae3669ac12d30d13086c250882241978e555a064021ff26d3837d6e2704b20f3b12b3fd4af
 DIST passff-host-1.2.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.2.0.py 3658 BLAKE2B 
2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36
 SHA512 
8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0

diff --git a/www-plugins/passff-host/passff-host-1.1.0.ebuild 
b/www-plugins/passff-host/passff-host-1.1.0.ebuild
deleted file mode 100644
index aba30e810e6..000
--- a/www-plugins/passff-host/passff-host-1.1.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2018-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-05-30 Thread Michał Górny
commit: d74fea75f42233e9d63fcbea51b9b4786fa054da
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Apr 21 09:48:29 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 30 14:30:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74fea75

www-plugins/passff: Bump to 1.8

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff/Manifest  |  1 +
 www-plugins/passff/passff-1.8.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index e1dfb70e122..28b0246c1d9 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1 +1,2 @@
 DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 
9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a
 SHA512 
83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5
+DIST passff-1.8-fx.xpi 72678 BLAKE2B 
d5ec67fff396d62960fbf813ab9d8f6086028a282bab78aa4dc6e63132e723ce4b1bb6d05015d3934fabbd37460d04f7626043b97fd29c5c72486754ef14e111
 SHA512 
5500e7439d5eda3481eaa405abaef5b846f4f29b5fee4dffc49084b2ce658f9e13e4ced747a28d368892034921a556e3a989c1f8682365cdab787e41913c8250

diff --git a/www-plugins/passff/passff-1.8.ebuild 
b/www-plugins/passff/passff-1.8.ebuild
new file mode 100644
index 000..8a9894c396e
--- /dev/null
+++ b/www-plugins/passff/passff-1.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_XPINAME="${P}-fx"
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/2983533/${MY_XPINAME}.xpi";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="www-plugins/passff-host[firefox]"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
+}
+
+src_install() {
+   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
+   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
+   # pas...@invicem.pro is the extension id found in the manifest.json
+   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-05-30 Thread Michał Górny
commit: e96bbcfd4ddfaf7727abd666f6eb5dd64820dca5
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Apr 21 09:49:03 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 30 14:30:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96bbcfd

www-plugins/passff: Remove old (1.6.3)

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/11761
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff/Manifest|  1 -
 www-plugins/passff/passff-1.6.3.ebuild | 30 --
 2 files changed, 31 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 28b0246c1d9..25af54a823f 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,2 +1 @@
-DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 
9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a
 SHA512 
83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5
 DIST passff-1.8-fx.xpi 72678 BLAKE2B 
d5ec67fff396d62960fbf813ab9d8f6086028a282bab78aa4dc6e63132e723ce4b1bb6d05015d3934fabbd37460d04f7626043b97fd29c5c72486754ef14e111
 SHA512 
5500e7439d5eda3481eaa405abaef5b846f4f29b5fee4dffc49084b2ce658f9e13e4ced747a28d368892034921a556e3a989c1f8682365cdab787e41913c8250

diff --git a/www-plugins/passff/passff-1.6.3.ebuild 
b/www-plugins/passff/passff-1.6.3.ebuild
deleted file mode 100644
index 80c02c29368..000
--- a/www-plugins/passff/passff-1.6.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2018-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_XPINAME="${P}-fx"
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1681210/${MY_XPINAME}.xpi";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="www-plugins/passff-host[firefox]"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
-}
-
-src_install() {
-   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
-   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
-   # pas...@invicem.pro is the extension id found in the manifest.json
-   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-05-30 Thread Michał Górny
commit: c3d98da3a35c6c716d84517713c28970daffbf05
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Apr 21 09:55:06 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 30 14:30:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d98da3

www-plugins/passff-host: Bump to 1.2.0

Closes: https://bugs.gentoo.org/662672
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Michał Górny  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.2.0.ebuild | 52 
 2 files changed, 54 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 0e9eddc2a04..a6676171599 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.1.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.1.0.py 3405 BLAKE2B 
6a73c070bc12c1a408ba3d8f1c76f81f1a73e878096d68b7b682b879fe4b51fd45bb24baa9e901bdabf77975ad24713e6846bf713c3e6a42ef8cbe617ef3a927
 SHA512 
7a275df3fb11f7a3823a7d9fbb41b2b83fb66f893570b95c89d2dfae3669ac12d30d13086c250882241978e555a064021ff26d3837d6e2704b20f3b12b3fd4af
+DIST passff-host-1.2.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.2.0.py 3658 BLAKE2B 
2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36
 SHA512 
8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0

diff --git a/www-plugins/passff-host/passff-host-1.2.0.ebuild 
b/www-plugins/passff-host/passff-host-1.2.0.ebuild
new file mode 100644
index 000..f42fb96ba19
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/$(get_libdir)/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-02-16 Thread Patrice Clement
commit: ab9d00347bdb9918116339782a0ede6b8e045c7c
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Feb 10 04:13:27 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 16 22:29:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9d0034

www-plugins/passff: remove old 1.5.1.

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Patrice Clement  gentoo.org>

 www-plugins/passff/Manifest|  1 -
 www-plugins/passff/passff-1.5.1.ebuild | 39 --
 2 files changed, 40 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index a238c54bd06..e1dfb70e122 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,2 +1 @@
-DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B 
ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e
 SHA512 
23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7
 DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 
9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a
 SHA512 
83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5

diff --git a/www-plugins/passff/passff-1.5.1.ebuild 
b/www-plugins/passff/passff-1.5.1.ebuild
deleted file mode 100644
index 8e1bdf3fe70..000
--- a/www-plugins/passff/passff-1.5.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit mozextension
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1056515/passff-1.5.1-an+fx-linux.xpi";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="firefox firefox-bin"
-
-RDEPEND="www-plugins/passff-host[firefox]"
-REQUIRED_USE="|| ( firefox firefox-bin )"
-
-S="${WORKDIR}"
-
-MY_XPINAME="passff-1.5.1-an+fx-linux"
-
-src_unpack() {
-   xpi_unpack "${MY_XPINAME}.xpi"
-}
-
-src_install() {
-   local MOZILLA_FIVE_HOME
-   if use firefox; then
-   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
-   xpi_install "${MY_XPINAME}"
-   fi
-
-   if use firefox-bin; then
-   MOZILLA_FIVE_HOME="/opt/firefox"
-   xpi_install "${MY_XPINAME}"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-02-16 Thread Patrice Clement
commit: fc1d3e9fde0dee6a6bc37196621b4b1ebe0e4116
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Feb 15 16:15:36 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 16 22:29:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1d3e9f

www-plugins/passff: fix installation method.

Closes: https://bugs.gentoo.org/677984
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Patrice Clement  gentoo.org>

 www-plugins/passff/metadata.xml|  4 
 www-plugins/passff/passff-1.6.3.ebuild | 21 ++---
 2 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml
index 234e183d237..af94d61a342 100644
--- a/www-plugins/passff/metadata.xml
+++ b/www-plugins/passff/metadata.xml
@@ -8,10 +8,6 @@
proxy-ma...@gentoo.org
Proxy Maintainers
 
-
-   Install plugin for 
www-client/firefox
-   Install plugin for 
www-client/firefox-bin
-
 
passff/passff
 

diff --git a/www-plugins/passff/passff-1.6.3.ebuild 
b/www-plugins/passff/passff-1.6.3.ebuild
index 884acd904a9..80c02c29368 100644
--- a/www-plugins/passff/passff-1.6.3.ebuild
+++ b/www-plugins/passff/passff-1.6.3.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=7
 
-inherit mozextension
-
 MY_XPINAME="${P}-fx"
 
 DESCRIPTION="zx2c4 pass manager extension for Firefox"
@@ -14,26 +12,19 @@ 
SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1681210/${MY_XPINAME}
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="firefox firefox-bin"
+IUSE=""
 
 RDEPEND="www-plugins/passff-host[firefox]"
-REQUIRED_USE="|| ( firefox firefox-bin )"
 
 S="${WORKDIR}"
 
 src_unpack() {
-   xpi_unpack "${MY_XPINAME}.xpi"
+   cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die
 }
 
 src_install() {
-   local MOZILLA_FIVE_HOME
-   if use firefox; then
-   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
-   xpi_install "${MY_XPINAME}"
-   fi
-
-   if use firefox-bin; then
-   MOZILLA_FIVE_HOME="/opt/firefox"
-   xpi_install "${MY_XPINAME}"
-   fi
+   # See 
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders
+   insinto 
"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
+   # pas...@invicem.pro is the extension id found in the manifest.json
+   newins "${MY_XPINAME}.xpi" "pas...@invicem.pro.xpi"
 }



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2019-02-16 Thread Patrice Clement
commit: 5432a855907ced64b7240e909babc26139eee841
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Feb 10 04:11:55 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 16 22:29:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5432a855

www-plugins/passff: version bump to 1.6.3.

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/11053
Signed-off-by: Patrice Clement  gentoo.org>

 www-plugins/passff/Manifest|  1 +
 www-plugins/passff/passff-1.6.3.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 3aeb03fe346..a238c54bd06 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1 +1,2 @@
 DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B 
ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e
 SHA512 
23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7
+DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 
9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a
 SHA512 
83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5

diff --git a/www-plugins/passff/passff-1.6.3.ebuild 
b/www-plugins/passff/passff-1.6.3.ebuild
new file mode 100644
index 000..884acd904a9
--- /dev/null
+++ b/www-plugins/passff/passff-1.6.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit mozextension
+
+MY_XPINAME="${P}-fx"
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1681210/${MY_XPINAME}.xpi";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="firefox firefox-bin"
+
+RDEPEND="www-plugins/passff-host[firefox]"
+REQUIRED_USE="|| ( firefox firefox-bin )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   xpi_unpack "${MY_XPINAME}.xpi"
+}
+
+src_install() {
+   local MOZILLA_FIVE_HOME
+   if use firefox; then
+   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
+   xpi_install "${MY_XPINAME}"
+   fi
+
+   if use firefox-bin; then
+   MOZILLA_FIVE_HOME="/opt/firefox"
+   xpi_install "${MY_XPINAME}"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-02-13 Thread Craig Andrews
commit: 2804f23a0fed6382cdc3e581f06952208b5bb314
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Feb  8 13:06:33 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Feb 13 22:27:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2804f23a

www-plugins/passff-host: Bump to 1.1.0

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Craig Andrews  gentoo.org>

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.1.0.ebuild | 52 
 2 files changed, 54 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index e434bc77ad6..d6db32a60a4 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.0.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.0.2.py 3153 BLAKE2B 
54cc951628f18a0e8c88dc7404a6c035473c1a8d5974a26e0d6c48692cf29a8d507bf89d11a1247eb0705418719601d2bbcdfca77018d3480fb97f13d660b58d
 SHA512 
d7818055e5cee6b3fc270d7a84f342ba68b8c1f5e5e01e120cff173b1cc50f2e6189121f4d258d470885de9ba0c06b687ccdbe6b3de653d2274954a4777b2a6b
+DIST passff-host-1.1.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.1.0.py 3405 BLAKE2B 
6a73c070bc12c1a408ba3d8f1c76f81f1a73e878096d68b7b682b879fe4b51fd45bb24baa9e901bdabf77975ad24713e6846bf713c3e6a42ef8cbe617ef3a927
 SHA512 
7a275df3fb11f7a3823a7d9fbb41b2b83fb66f893570b95c89d2dfae3669ac12d30d13086c250882241978e555a064021ff26d3837d6e2704b20f3b12b3fd4af

diff --git a/www-plugins/passff-host/passff-host-1.1.0.ebuild 
b/www-plugins/passff-host/passff-host-1.1.0.ebuild
new file mode 100644
index 000..aba30e810e6
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.1.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2019-02-13 Thread Craig Andrews
commit: 80b8782b1b5ff09a5fbf5a2525f1da19690befc3
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Feb  8 13:07:42 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Feb 13 22:27:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b8782b

www-plugins/passff-host: Remove old (1.0.2)

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Craig Andrews  gentoo.org>

 www-plugins/passff-host/Manifest |  2 -
 www-plugins/passff-host/passff-host-1.0.2.ebuild | 52 
 2 files changed, 54 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index d6db32a60a4..0e9eddc2a04 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.0.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.0.2.py 3153 BLAKE2B 
54cc951628f18a0e8c88dc7404a6c035473c1a8d5974a26e0d6c48692cf29a8d507bf89d11a1247eb0705418719601d2bbcdfca77018d3480fb97f13d660b58d
 SHA512 
d7818055e5cee6b3fc270d7a84f342ba68b8c1f5e5e01e120cff173b1cc50f2e6189121f4d258d470885de9ba0c06b687ccdbe6b3de653d2274954a4777b2a6b
 DIST passff-host-1.1.0.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.1.0.py 3405 BLAKE2B 
6a73c070bc12c1a408ba3d8f1c76f81f1a73e878096d68b7b682b879fe4b51fd45bb24baa9e901bdabf77975ad24713e6846bf713c3e6a42ef8cbe617ef3a927
 SHA512 
7a275df3fb11f7a3823a7d9fbb41b2b83fb66f893570b95c89d2dfae3669ac12d30d13086c250882241978e555a064021ff26d3837d6e2704b20f3b12b3fd4af

diff --git a/www-plugins/passff-host/passff-host-1.0.2.ebuild 
b/www-plugins/passff-host/passff-host-1.0.2.ebuild
deleted file mode 100644
index a2509be3e2c..000
--- a/www-plugins/passff-host/passff-host-1.0.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-SRC_URI="
-   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
-   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2018-09-17 Thread Michał Górny
commit: f2bbaf89ad57413f1fa194e6dc6c06284a6adaf1
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Sep  9 18:49:06 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 17 17:06:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2bbaf89

www-plugins/passff-host: Remove old version 1.0.1

Closes: https://github.com/gentoo/gentoo/pull/9814

 www-plugins/passff-host/Manifest |  2 -
 www-plugins/passff-host/passff-host-1.0.1.ebuild | 56 
 2 files changed, 58 deletions(-)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 60432e91804..e434bc77ad6 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,4 +1,2 @@
-DIST passff-host-1.0.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-host-1.0.1.py 3432 BLAKE2B 
f45054bf9323608b515de559c36ad28705fb9c75de00824b0ed8e05d21545b861ba61194cf25a4db84b55d64f7d08abec27d56bb8d098961e94fbbcb9d7f3707
 SHA512 
168b4d3cdc9f463a7969adc851c878b5b7ddad7d05415770273510c99d8fa7c80015611df1554f24c8b8cd0f256d3a8f687a325e34105e029487eb4fc5ea7290
 DIST passff-host-1.0.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.0.2.py 3153 BLAKE2B 
54cc951628f18a0e8c88dc7404a6c035473c1a8d5974a26e0d6c48692cf29a8d507bf89d11a1247eb0705418719601d2bbcdfca77018d3480fb97f13d660b58d
 SHA512 
d7818055e5cee6b3fc270d7a84f342ba68b8c1f5e5e01e120cff173b1cc50f2e6189121f4d258d470885de9ba0c06b687ccdbe6b3de653d2274954a4777b2a6b

diff --git a/www-plugins/passff-host/passff-host-1.0.1.ebuild 
b/www-plugins/passff-host/passff-host-1.0.1.ebuild
deleted file mode 100644
index ddcae5e621f..000
--- a/www-plugins/passff-host/passff-host-1.0.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
-
-inherit python-single-r1
-
-DESCRIPTION="Host app for the PassFF WebExtension"
-HOMEPAGE="https://github.com/passff/passff-host";
-
-# Using raw because of difference between git and release
-# See https://github.com/passff/passff-host/issues/18
-SRC_URI="
-   https://github.com/passff/passff-host/raw/${PV}/src/passff.py -> ${P}.py
-   https://github.com/passff/passff-host/raw/${PV}/src/passff.json -> 
${P}.json
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="chrome chromium firefox vivaldi"
-REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" . || die
-   cp "${DISTDIR}/${P}.py" . || die
-}
-
-src_prepare() {
-   default
-
-   sed -i "s/_VERSIONHOLDER_/${PV}/" "${P}.py" || die
-   python_fix_shebang "${P}.py"
-}
-
-src_install() {
-   local target_dirs=()
-
-   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
-   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
-   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
-   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
-
-   for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
-
-   insinto "${target_dir}"
-   doins passff.json
-   exeinto "${target_dir}"
-   newexe "${P}.py" passff.py
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2018-09-17 Thread Michał Górny
commit: 519537eb30b59af69a14872aef359f95f1a88be3
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Sep  9 18:48:17 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 17 17:06:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519537eb

www-plugins/passff-host: Bump to 1.0.2

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/passff-host-1.0.2.ebuild | 52 
 2 files changed, 54 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
index 5f1b3eb2ed4..60432e91804 100644
--- a/www-plugins/passff-host/Manifest
+++ b/www-plugins/passff-host/Manifest
@@ -1,2 +1,4 @@
 DIST passff-host-1.0.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-host-1.0.1.py 3432 BLAKE2B 
f45054bf9323608b515de559c36ad28705fb9c75de00824b0ed8e05d21545b861ba61194cf25a4db84b55d64f7d08abec27d56bb8d098961e94fbbcb9d7f3707
 SHA512 
168b4d3cdc9f463a7969adc851c878b5b7ddad7d05415770273510c99d8fa7c80015611df1554f24c8b8cd0f256d3a8f687a325e34105e029487eb4fc5ea7290
+DIST passff-host-1.0.2.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.0.2.py 3153 BLAKE2B 
54cc951628f18a0e8c88dc7404a6c035473c1a8d5974a26e0d6c48692cf29a8d507bf89d11a1247eb0705418719601d2bbcdfca77018d3480fb97f13d660b58d
 SHA512 
d7818055e5cee6b3fc270d7a84f342ba68b8c1f5e5e01e120cff173b1cc50f2e6189121f4d258d470885de9ba0c06b687ccdbe6b3de653d2274954a4777b2a6b

diff --git a/www-plugins/passff-host/passff-host-1.0.2.ebuild 
b/www-plugins/passff-host/passff-host-1.0.2.ebuild
new file mode 100644
index 000..a2509be3e2c
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.0.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+SRC_URI="
+   https://github.com/passff/passff-host/releases/download/${PV}/passff.py 
-> ${P}.py
+   
https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2018-09-04 Thread Andreas Sturmlechner
commit: 96ec942ff1cbe48d98bb7f9b92fe5cf061b165d9
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Aug 30 23:07:31 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Sep  4 20:49:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ec942f

www-plugins/passff: Bump to 1.5.1

Closes: https://github.com/gentoo/gentoo/pull/9740

 www-plugins/passff/Manifest|  1 +
 www-plugins/passff/passff-1.5.1.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 020445e5515..eb836493b17 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1 +1,2 @@
 DIST passff-1.3-an+fx-linux.xpi 59512 BLAKE2B 
48eb41e8be2e090aa32137fe93eb6cb7a22218f865f1ade4e6f4516ea3fedc34333f43438fd7c96817ec695ca1d0ced9cff0dd53157e06442e000c12a4bff33c
 SHA512 
d5e5c29fda852c08908ce27e55bb2cd3daaacedf4f1375eb626cf4228d9b8c5113d2210578d80420c1df3846cbb948c184702274ece851c9e8279000e38989a6
+DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B 
ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e
 SHA512 
23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7

diff --git a/www-plugins/passff/passff-1.5.1.ebuild 
b/www-plugins/passff/passff-1.5.1.ebuild
new file mode 100644
index 000..8e1bdf3fe70
--- /dev/null
+++ b/www-plugins/passff/passff-1.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mozextension
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1056515/passff-1.5.1-an+fx-linux.xpi";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="firefox firefox-bin"
+
+RDEPEND="www-plugins/passff-host[firefox]"
+REQUIRED_USE="|| ( firefox firefox-bin )"
+
+S="${WORKDIR}"
+
+MY_XPINAME="passff-1.5.1-an+fx-linux"
+
+src_unpack() {
+   xpi_unpack "${MY_XPINAME}.xpi"
+}
+
+src_install() {
+   local MOZILLA_FIVE_HOME
+   if use firefox; then
+   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
+   xpi_install "${MY_XPINAME}"
+   fi
+
+   if use firefox-bin; then
+   MOZILLA_FIVE_HOME="/opt/firefox"
+   xpi_install "${MY_XPINAME}"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2018-09-04 Thread Andreas Sturmlechner
commit: a70bf921f3b347709285502bbf19301f1831e432
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Aug 30 23:14:11 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Sep  4 20:49:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70bf921

www-plugins/passff: Remove old (1.3)

 www-plugins/passff/Manifest  |  1 -
 www-plugins/passff/passff-1.3.ebuild | 37 
 2 files changed, 38 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index eb836493b17..3aeb03fe346 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,2 +1 @@
-DIST passff-1.3-an+fx-linux.xpi 59512 BLAKE2B 
48eb41e8be2e090aa32137fe93eb6cb7a22218f865f1ade4e6f4516ea3fedc34333f43438fd7c96817ec695ca1d0ced9cff0dd53157e06442e000c12a4bff33c
 SHA512 
d5e5c29fda852c08908ce27e55bb2cd3daaacedf4f1375eb626cf4228d9b8c5113d2210578d80420c1df3846cbb948c184702274ece851c9e8279000e38989a6
 DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B 
ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e
 SHA512 
23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7

diff --git a/www-plugins/passff/passff-1.3.ebuild 
b/www-plugins/passff/passff-1.3.ebuild
deleted file mode 100644
index 2cc136021db..000
--- a/www-plugins/passff/passff-1.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit mozextension
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="https://addons.mozilla.org/firefox/downloads/file/914592/passff-1.3-an+fx-linux.xpi";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="firefox firefox-bin"
-
-RDEPEND="www-plugins/passff-host[firefox]"
-REQUIRED_USE="|| ( firefox firefox-bin )"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   xpi_unpack "passff-1.3-an+fx-linux.xpi"
-}
-
-src_install() {
-   local MOZILLA_FIVE_HOME
-   if use firefox; then
-   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
-   xpi_install "passff-1.3-an+fx-linux"
-   fi
-
-   if use firefox-bin; then
-   MOZILLA_FIVE_HOME="/opt/firefox"
-   xpi_install "passff-1.3-an+fx-linux"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2018-06-09 Thread Michał Górny
commit: 09bb7c2ef3ee998c14c6b3c7162b00ab4cbaa27e
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Jun  8 14:26:32 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  9 08:30:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bb7c2e

www-plugins/passff-host: Fix .path in the json

Closes: https://github.com/gentoo/gentoo/pull/8761

 www-plugins/passff-host/passff-host-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.0.1.ebuild 
b/www-plugins/passff-host/passff-host-1.0.1.ebuild
index 9b984afdc45..ddcae5e621f 100644
--- a/www-plugins/passff-host/passff-host-1.0.1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.0.1.ebuild
@@ -46,7 +46,7 @@ src_install() {
use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
 
for target_dir in "${target_dirs[@]}"; do
-   sed "s;PLACEHOLDER;${target_dir};g" "${P}.json" > "passff.json" 
|| die
+   sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
 
insinto "${target_dir}"
doins passff.json



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff-host/

2018-06-06 Thread Michał Górny
commit: 180c91de42c89e14de71abb52c9ca6792425daca
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Mon May 14 04:12:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  7 06:22:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180c91de

www-plugins/passff-host: New Package

Closes: https://bugs.gentoo.org/654218
Closes: https://bugs.gentoo.org/656358

 www-plugins/passff-host/Manifest |  2 +
 www-plugins/passff-host/metadata.xml | 20 +
 www-plugins/passff-host/passff-host-1.0.1.ebuild | 56 
 3 files changed, 78 insertions(+)

diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest
new file mode 100644
index 000..5f1b3eb2ed4
--- /dev/null
+++ b/www-plugins/passff-host/Manifest
@@ -0,0 +1,2 @@
+DIST passff-host-1.0.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-host-1.0.1.py 3432 BLAKE2B 
f45054bf9323608b515de559c36ad28705fb9c75de00824b0ed8e05d21545b861ba61194cf25a4db84b55d64f7d08abec27d56bb8d098961e94fbbcb9d7f3707
 SHA512 
168b4d3cdc9f463a7969adc851c878b5b7ddad7d05415770273510c99d8fa7c80015611df1554f24c8b8cd0f256d3a8f687a325e34105e029487eb4fc5ea7290

diff --git a/www-plugins/passff-host/metadata.xml 
b/www-plugins/passff-host/metadata.xml
new file mode 100644
index 000..1e9cea82ee0
--- /dev/null
+++ b/www-plugins/passff-host/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   cont...@hacktivis.me
+
+
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+
+
+   Install plugin for chrome (which also includes 
opera)
+   Install plugin for chromium
+   Install plugin for firefox
+   Install plugin for vivaldi
+
+
+   passff/passff-host
+
+

diff --git a/www-plugins/passff-host/passff-host-1.0.1.ebuild 
b/www-plugins/passff-host/passff-host-1.0.1.ebuild
new file mode 100644
index 000..9b984afdc45
--- /dev/null
+++ b/www-plugins/passff-host/passff-host-1.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
+
+inherit python-single-r1
+
+DESCRIPTION="Host app for the PassFF WebExtension"
+HOMEPAGE="https://github.com/passff/passff-host";
+
+# Using raw because of difference between git and release
+# See https://github.com/passff/passff-host/issues/18
+SRC_URI="
+   https://github.com/passff/passff-host/raw/${PV}/src/passff.py -> ${P}.py
+   https://github.com/passff/passff-host/raw/${PV}/src/passff.json -> 
${P}.json
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="chrome chromium firefox vivaldi"
+REQUIRED_USE="|| ( chrome chromium firefox vivaldi )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" . || die
+   cp "${DISTDIR}/${P}.py" . || die
+}
+
+src_prepare() {
+   default
+
+   sed -i "s/_VERSIONHOLDER_/${PV}/" "${P}.py" || die
+   python_fix_shebang "${P}.py"
+}
+
+src_install() {
+   local target_dirs=()
+
+   use chrome   && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" 
)
+   use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" )
+   use firefox  && target_dirs+=( 
"/usr/lib/mozilla/native-messaging-hosts" )
+   use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
+
+   for target_dir in "${target_dirs[@]}"; do
+   sed "s;PLACEHOLDER;${target_dir};g" "${P}.json" > "passff.json" 
|| die
+
+   insinto "${target_dir}"
+   doins passff.json
+   exeinto "${target_dir}"
+   newexe "${P}.py" passff.py
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2018-06-06 Thread Michał Górny
commit: 25c6e8aec01ba9001025364b7b7e7007f6a8c938
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Mon May 14 04:14:20 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  7 06:22:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c6e8ae

www-plugins/passff: Remove old (1.1)

Closes: https://github.com/gentoo/gentoo/pull/8214

 www-plugins/passff/Manifest  |  2 --
 www-plugins/passff/passff-1.1.ebuild | 40 
 2 files changed, 42 deletions(-)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index ff7e637a1e1..020445e5515 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,3 +1 @@
-DIST passff-1.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
-DIST passff-1.1.py 2256 BLAKE2B 
fcde1a8d1fe4e8793df46c182a8d717931e7b5ee98ae39a6a03bf32c51528dd7036beefc47dd5839bede47a78bcb7904a745fa38522183057dd7b29e20eae726
 SHA512 
b5d4aa3d3a9455adece3d291a6e1e05178296e72828ec708cd33541f30e4fbef2385978f24ba27eaefc739e4792f4cbac1830e8dcd15380c7243e11ddbcafe9d
 DIST passff-1.3-an+fx-linux.xpi 59512 BLAKE2B 
48eb41e8be2e090aa32137fe93eb6cb7a22218f865f1ade4e6f4516ea3fedc34333f43438fd7c96817ec695ca1d0ced9cff0dd53157e06442e000c12a4bff33c
 SHA512 
d5e5c29fda852c08908ce27e55bb2cd3daaacedf4f1375eb626cf4228d9b8c5113d2210578d80420c1df3846cbb948c184702274ece851c9e8279000e38989a6

diff --git a/www-plugins/passff/passff-1.1.ebuild 
b/www-plugins/passff/passff-1.1.ebuild
deleted file mode 100644
index 3c07171aa77..000
--- a/www-plugins/passff/passff-1.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 )
-
-inherit python-single-r1
-
-DESCRIPTION="zx2c4 pass manager extension for Firefox (Host Binary)"
-HOMEPAGE="https://github.com/passff/passff";
-SRC_URI="
-   https://github.com/passff/passff/releases/download/${PV}/passff.json -> 
${P}.json
-   https://github.com/passff/passff/releases/download/${PV}/passff.py -> 
${P}.py
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-TARGET_DIR="/usr/lib/mozilla/native-messaging-hosts"
-
-S="${WORKDIR}"
-
-src_unpack() {
-   cp "${DISTDIR}/${P}.json" passff.json || die
-   cp "${DISTDIR}/${P}.py" passff.py || die
-}
-
-src_compile() {
-   sed -i "s|PLACEHOLDER|${EPREFIX}${TARGET_DIR}/${PN}.py|" passff.json || 
die
-   python_fix_shebang passff.py
-}
-
-src_install() {
-   insinto "${TARGET_DIR}"
-   doins passff.json
-   exeinto "${TARGET_DIR}"
-   doexe passff.py
-}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2018-06-06 Thread Michał Górny
commit: c7387053711bab6ed3740ece001aeb135c89682e
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Mon May 14 04:04:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  7 06:22:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7387053

www-plugins/passff: Bump to 1.3

 www-plugins/passff/Manifest  |  1 +
 www-plugins/passff/metadata.xml  |  7 +++
 www-plugins/passff/passff-1.3.ebuild | 37 
 3 files changed, 45 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
index 40c9f56bb39..ff7e637a1e1 100644
--- a/www-plugins/passff/Manifest
+++ b/www-plugins/passff/Manifest
@@ -1,2 +1,3 @@
 DIST passff-1.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
 DIST passff-1.1.py 2256 BLAKE2B 
fcde1a8d1fe4e8793df46c182a8d717931e7b5ee98ae39a6a03bf32c51528dd7036beefc47dd5839bede47a78bcb7904a745fa38522183057dd7b29e20eae726
 SHA512 
b5d4aa3d3a9455adece3d291a6e1e05178296e72828ec708cd33541f30e4fbef2385978f24ba27eaefc739e4792f4cbac1830e8dcd15380c7243e11ddbcafe9d
+DIST passff-1.3-an+fx-linux.xpi 59512 BLAKE2B 
48eb41e8be2e090aa32137fe93eb6cb7a22218f865f1ade4e6f4516ea3fedc34333f43438fd7c96817ec695ca1d0ced9cff0dd53157e06442e000c12a4bff33c
 SHA512 
d5e5c29fda852c08908ce27e55bb2cd3daaacedf4f1375eb626cf4228d9b8c5113d2210578d80420c1df3846cbb948c184702274ece851c9e8279000e38989a6

diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml
index 764e78624bc..234e183d237 100644
--- a/www-plugins/passff/metadata.xml
+++ b/www-plugins/passff/metadata.xml
@@ -8,4 +8,11 @@
proxy-ma...@gentoo.org
Proxy Maintainers
 
+
+   Install plugin for 
www-client/firefox
+   Install plugin for 
www-client/firefox-bin
+
+
+   passff/passff
+
 

diff --git a/www-plugins/passff/passff-1.3.ebuild 
b/www-plugins/passff/passff-1.3.ebuild
new file mode 100644
index 000..2cc136021db
--- /dev/null
+++ b/www-plugins/passff/passff-1.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mozextension
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/914592/passff-1.3-an+fx-linux.xpi";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="firefox firefox-bin"
+
+RDEPEND="www-plugins/passff-host[firefox]"
+REQUIRED_USE="|| ( firefox firefox-bin )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   xpi_unpack "passff-1.3-an+fx-linux.xpi"
+}
+
+src_install() {
+   local MOZILLA_FIVE_HOME
+   if use firefox; then
+   MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
+   xpi_install "passff-1.3-an+fx-linux"
+   fi
+
+   if use firefox-bin; then
+   MOZILLA_FIVE_HOME="/opt/firefox"
+   xpi_install "passff-1.3-an+fx-linux"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/

2018-03-23 Thread Michał Górny
commit: 2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Mar  2 23:46:42 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 23 21:38:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c24bf3a

www-plugins/passff: New Package

Closes: https://bugs.gentoo.org/645978
Closes: https://github.com/gentoo/gentoo/pull/7341

 www-plugins/passff/Manifest  |  2 ++
 www-plugins/passff/metadata.xml  | 11 ++
 www-plugins/passff/passff-1.1.ebuild | 40 
 3 files changed, 53 insertions(+)

diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest
new file mode 100644
index 000..40c9f56bb39
--- /dev/null
+++ b/www-plugins/passff/Manifest
@@ -0,0 +1,2 @@
+DIST passff-1.1.json 176 BLAKE2B 
8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264
 SHA512 
e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911
+DIST passff-1.1.py 2256 BLAKE2B 
fcde1a8d1fe4e8793df46c182a8d717931e7b5ee98ae39a6a03bf32c51528dd7036beefc47dd5839bede47a78bcb7904a745fa38522183057dd7b29e20eae726
 SHA512 
b5d4aa3d3a9455adece3d291a6e1e05178296e72828ec708cd33541f30e4fbef2385978f24ba27eaefc739e4792f4cbac1830e8dcd15380c7243e11ddbcafe9d

diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml
new file mode 100644
index 000..764e78624bc
--- /dev/null
+++ b/www-plugins/passff/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   cont...@hacktivis.me
+
+
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+
+

diff --git a/www-plugins/passff/passff-1.1.ebuild 
b/www-plugins/passff/passff-1.1.ebuild
new file mode 100644
index 000..3c07171aa77
--- /dev/null
+++ b/www-plugins/passff/passff-1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 )
+
+inherit python-single-r1
+
+DESCRIPTION="zx2c4 pass manager extension for Firefox (Host Binary)"
+HOMEPAGE="https://github.com/passff/passff";
+SRC_URI="
+   https://github.com/passff/passff/releases/download/${PV}/passff.json -> 
${P}.json
+   https://github.com/passff/passff/releases/download/${PV}/passff.py -> 
${P}.py
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+TARGET_DIR="/usr/lib/mozilla/native-messaging-hosts"
+
+S="${WORKDIR}"
+
+src_unpack() {
+   cp "${DISTDIR}/${P}.json" passff.json || die
+   cp "${DISTDIR}/${P}.py" passff.py || die
+}
+
+src_compile() {
+   sed -i "s|PLACEHOLDER|${EPREFIX}${TARGET_DIR}/${PN}.py|" passff.json || 
die
+   python_fix_shebang passff.py
+}
+
+src_install() {
+   insinto "${TARGET_DIR}"
+   doins passff.json
+   exeinto "${TARGET_DIR}"
+   doexe passff.py
+}