From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD4C01382C5 for ; Fri, 23 Mar 2018 21:42:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC9F9E097A; Fri, 23 Mar 2018 21:42:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91319E0986 for ; Fri, 23 Mar 2018 21:42:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 37913335C2C for ; Fri, 23 Mar 2018 21:42:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8693F265 for ; Fri, 23 Mar 2018 21:41:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1521841107.2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/passff/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-plugins/passff/Manifest www-plugins/passff/metadata.xml www-plugins/passff/passff-1.1.ebuild X-VCS-Directories: www-plugins/passff/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf X-VCS-Branch: master Date: Fri, 23 Mar 2018 21:41:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bf9c4681-18ec-445a-9a35-6e7b6cc9dba0 X-Archives-Hash: 735e7f4778209abd35c1580329fa3648 commit: 2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Mar 2 23:46:42 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 23 21:38:27 2018 +0000 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 00000000000..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 00000000000..764e78624bc --- /dev/null +++ b/www-plugins/passff/metadata.xml @@ -0,0 +1,11 @@ + + + + + contact@hacktivis.me + + + proxy-maint@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 00000000000..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 +}