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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27CF515800A for ; Tue, 29 Aug 2023 07:01:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DE932BC014; Tue, 29 Aug 2023 07:01:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 395012BC014 for ; Tue, 29 Aug 2023 07:01:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8E83335CD2 for ; Tue, 29 Aug 2023 07:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2921BFB3 for ; Tue, 29 Aug 2023 07:01:10 +0000 (UTC) From: "Vitaly Zdanevich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vitaly Zdanevich" Message-ID: <1693292464.1bbbf8a16dcd49836f45836c6ce071c55d31fcc2.zdanevich.vitaly@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-doc/geeknote/, app-doc/geeknote/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-doc/geeknote/files/completion.patch app-doc/geeknote/geeknote-9999.ebuild app-doc/geeknote/metadata.xml X-VCS-Directories: app-doc/geeknote/ app-doc/geeknote/files/ X-VCS-Committer: zdanevich.vitaly X-VCS-Committer-Name: Vitaly Zdanevich X-VCS-Revision: 1bbbf8a16dcd49836f45836c6ce071c55d31fcc2 X-VCS-Branch: dev Date: Tue, 29 Aug 2023 07:01:10 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 32033a8d-bb2f-4a8b-8fee-9885548b6e07 X-Archives-Hash: ad940cd1401ac0f8b0906c0d4074ebc1 commit: 1bbbf8a16dcd49836f45836c6ce071c55d31fcc2 Author: Vitaly Zdanevich ya ru> AuthorDate: Tue Aug 29 07:01:04 2023 +0000 Commit: Vitaly Zdanevich ya ru> CommitDate: Tue Aug 29 07:01:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bbbf8a1 app-doc/geeknote: new package, add 9999 Signed-off-by: Vitaly Zdanevich ya.ru> app-doc/geeknote/files/completion.patch | 29 ++++++++++++++++++++++++++++ app-doc/geeknote/geeknote-9999.ebuild | 34 +++++++++++++++++++++++++++++++++ app-doc/geeknote/metadata.xml | 12 ++++++++++++ 3 files changed, 75 insertions(+) diff --git a/app-doc/geeknote/files/completion.patch b/app-doc/geeknote/files/completion.patch new file mode 100644 index 0000000000..fdc60cedf5 --- /dev/null +++ b/app-doc/geeknote/files/completion.patch @@ -0,0 +1,29 @@ +diff --git i/setup.py w/setup.py +index 5cd1e35..a2618ab 100755 +--- i/setup.py ++++ w/setup.py +@@ -24,22 +24,22 @@ class full_install(install): + ), + ( + "zsh-completion-dir=", + None, + "(Linux only) Set zsh completion directory (default: /usr/local/share/zsh/site-functions)", + ), + ] + + def initialize_options(self): + install.initialize_options(self) +- self.bash_completion_dir = "/etc/bash_completion.d" +- self.zsh_completion_dir = "/usr/local/share/zsh/site-functions" ++ self.bash_completion_dir = "${D}" ++ self.zsh_completion_dir = "${D}" + + def run(self): + if sys.platform.startswith("linux"): + self.install_autocomplete() + install.run(self) + + def install_autocomplete(self): + def copy_autocomplete(src, dst): + try: + if os.path.exists(dst): diff --git a/app-doc/geeknote/geeknote-9999.ebuild b/app-doc/geeknote/geeknote-9999.ebuild new file mode 100644 index 0000000000..fd032c8c11 --- /dev/null +++ b/app-doc/geeknote/geeknote-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 git-r3 + +DESCRIPTION="Evernote CLI" +HOMEPAGE="https://github.com/Evernote/evernote-sdk-python3" +EGIT_REPO_URI="https://github.com/jeffkowalski/geeknote" + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="dev-python/evernote3[${PYTHON_USEDEP}] +dev-python/html2text[${PYTHON_USEDEP}] +dev-python/sqlalchemy[${PYTHON_USEDEP}] +dev-python/markdown2[${PYTHON_USEDEP}] +dev-python/beautifulsoup4[${PYTHON_USEDEP}] +dev-python/thrift[${PYTHON_USEDEP}] +dev-python/lxml[${PYTHON_USEDEP}]" + +src_prepare() { + eapply "${FILESDIR}"/completion.patch + + default +} + +python_install_all() { + distutils-r1_python_install_all --bash-completion-dir="${D}"/etc/bash_completion.d +} diff --git a/app-doc/geeknote/metadata.xml b/app-doc/geeknote/metadata.xml new file mode 100644 index 0000000000..7a077c1735 --- /dev/null +++ b/app-doc/geeknote/metadata.xml @@ -0,0 +1,12 @@ + + + + + Vitaly Zdanevich + zdanevich.vitaly@ya.ru + + + jeffkowalski/geeknote + https://github.com/jeffkowalski/geeknote/issues + +