summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/pass_python_keyring/Manifest1
-rw-r--r--app-admin/pass_python_keyring/pass_python_keyring-1.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/app-admin/pass_python_keyring/Manifest b/app-admin/pass_python_keyring/Manifest
index 19ac3fe..a226edc 100644
--- a/app-admin/pass_python_keyring/Manifest
+++ b/app-admin/pass_python_keyring/Manifest
@@ -1 +1,2 @@
DIST pass_python_keyring-1.0.tar.gz 1422 SHA256 1339274f44e8413494925d8f1de91cf2e7b2a53e6977156df287fd99b5dbc3bc SHA512 92d8096c552255b15e23de60202b3bc689b0e77c6cf81b1e26adbc6eb75bcbe5ade9e9d06c5ef916d9ba6daebc5769119ce2b0e4e901c658a35885bda37e661b WHIRLPOOL 6a65b39f0bd9ddb364e096b87cc3cd8bb2664b44d4e5d9c6477a8d3af9d96ff2aaca4233beca8b59d5fa4643f39aefb2a2102c0437e4e6a3825de5c9db7afa92
+DIST pass_python_keyring-1.1.tar.gz 1521 SHA256 294bb492ea747cae2fb91d719146247dad6cfaadb07fb5b2f46cb01df6942800 SHA512 48555133fb80065cd86d3cd6dc79304fa4afe43686ee4e2dd8b66d5d05dc22abfb48b4143646a3b5b62fd415bd77359bb5f0a41b12c93c72553b58ce7e5cc26a WHIRLPOOL 6aaca33ce8592005ee1be4f22e37a87959bcb01b19f77063d75afbe24822203e4689cfabe8ce4b0ddfd9cdd6207965f02d57ea74102acf0d8545005a64702e0f
diff --git a/app-admin/pass_python_keyring/pass_python_keyring-1.1.ebuild b/app-admin/pass_python_keyring/pass_python_keyring-1.1.ebuild
new file mode 100644
index 0000000..deecb9a
--- /dev/null
+++ b/app-admin/pass_python_keyring/pass_python_keyring-1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="a pass-powered backend for Python Keyring Lib"
+HOMEPAGE="https://github.com/notandy/pass_python_keyring"
+SRC_URI="https://github.com/notandy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-admin/pass"
+DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ einfo "To get pass support to the python keyring, use:"
+ einfo "mkdir -pv \`python -c \"import keyring.util.platform_; print(keyring.util.platform_.config_root())\"\`"
+ einfo "echo -e \"[backend]\\\\ndefault-keyring=pass.Keyring\" > \`python -c \"import keyring.util.platform_; print(keyring.util.platform_.config_root())\"\`/keyringrc.cfg"
+}