summaryrefslogtreecommitdiffstats
path: root/app-misc/geeknote
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/geeknote')
-rw-r--r--app-misc/geeknote/Manifest2
-rw-r--r--app-misc/geeknote/files/geeknote15
-rw-r--r--app-misc/geeknote/geeknote-9999.ebuild42
3 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/geeknote/Manifest b/app-misc/geeknote/Manifest
new file mode 100644
index 0000000..427e4e9
--- /dev/null
+++ b/app-misc/geeknote/Manifest
@@ -0,0 +1,2 @@
+AUX geeknote 286 SHA256 0ea3b74543839713dfab183f47d0aeaa49e70d07b07ece9209bdac674b8cc864 SHA512 d149154e2c1404e8561696cbf3b61df8539f6626d6af52f8a57b11d983426c7ba48a93bca2d9cbe110efacceefb1dfdf123279e03879835f737d14f356b7c847 WHIRLPOOL 4ccbbde6f2c3b341526dbb787e2d02c9fca2d6fc8b7c030ea6994add2b2e6324f2504d9a14fc5691092bd2e758aeb549b45c05bd7edb5aa6551fba9eb967b9aa
+EBUILD geeknote-9999.ebuild 756 SHA256 7d04dba012e1d6b15131f35641ab242f1d6df3a9a6d53a626764d7f3affe41cc SHA512 51293f276a7f0203ed85bb45aa706c60c4c92eaafb7ee5a240ac6efedff856f0ad088a758c13e623c67847f2e07825e725232afce0bc69a62905d0f1d56297fb WHIRLPOOL 6ed1af3d91c59bfee9d1db5d9cccdc5b1cafad076c75d90703df1b0fb4167d9971fc863a74aa71d0f2ac4b032630eabef6995fe325b90d0e883bb276ff6c3904
diff --git a/app-misc/geeknote/files/geeknote b/app-misc/geeknote/files/geeknote
new file mode 100644
index 0000000..1f919b2
--- /dev/null
+++ b/app-misc/geeknote/files/geeknote
@@ -0,0 +1,15 @@
+_geeknote_command()
+{
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+
+ SAVE_IFS=$IFS
+ IFS=" "
+ args="${COMP_WORDS[*]:1}"
+ IFS=$SAVE_IFS
+
+ COMPREPLY=( $(compgen -W "`geeknote autocomplete ${args}`" -- ${cur}) )
+
+ return 0
+}
+complete -F _geeknote_command geeknote
diff --git a/app-misc/geeknote/geeknote-9999.ebuild b/app-misc/geeknote/geeknote-9999.ebuild
new file mode 100644
index 0000000..a635486
--- /dev/null
+++ b/app-misc/geeknote/geeknote-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 eutils distutils-r1 git-2
+
+DESCRIPTION="Console client for Evernote"
+HOMEPAGE="http://geeknote.me"
+
+EGIT_REPO_URI="git://github.com/VitaliyRodnenko/geeknote.git"
+EGIT_BRANCH="master"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+bash-completion"
+
+RDEPEND="
+ bash-completion? ( app-shells/bash-completion )
+ dev-python/html2text
+ dev-python/sqlalchemy
+ dev-python/markdown2
+ dev-python/beautifulsoup:4
+ dev-python/evernote-sdk-python
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+src_install() {
+
+ if use bash-completion; then
+ dobashcomp ${FILESDIR}/geeknote
+ fi
+
+ distutils-r1_src_install
+}