diff options
author | 2018-03-03 00:46:42 +0100 | |
---|---|---|
committer | 2018-03-23 22:38:27 +0100 | |
commit | 2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf (patch) | |
tree | 56476110444cd1d5660b59999b389ec15b77d23b /www-plugins/passff | |
parent | app-misc/gcstar: belated version bump to 1.7.1 - bug #606784 (diff) | |
download | gentoo-2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf.tar.gz gentoo-2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf.tar.bz2 gentoo-2c24bf3a88dd5a2988c2b3093b0568a6c503e4cf.zip |
www-plugins/passff: New Package
Closes: https://bugs.gentoo.org/645978
Closes: https://github.com/gentoo/gentoo/pull/7341
Diffstat (limited to 'www-plugins/passff')
-rw-r--r-- | www-plugins/passff/Manifest | 2 | ||||
-rw-r--r-- | www-plugins/passff/metadata.xml | 11 | ||||
-rw-r--r-- | www-plugins/passff/passff-1.1.ebuild | 40 |
3 files changed, 53 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>contact@hacktivis.me</email> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +</pkgmetadata> 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 +} |