aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-06-15 06:10:38 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-06-15 06:10:38 +0400
commit679a0223383cea8ae828858d0bbc3532c0229322 (patch)
treeb334e0edacaf870a79de71e7b1493e6d4452e304 /app-doc
parentnet-im/abaddon: add 0.2.1 (diff)
downloadguru-679a0223383cea8ae828858d0bbc3532c0229322.tar.gz
guru-679a0223383cea8ae828858d0bbc3532c0229322.tar.bz2
guru-679a0223383cea8ae828858d0bbc3532c0229322.zip
*/*: add versioned ebuild
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/geeknote/Manifest1
-rw-r--r--app-doc/geeknote/files/geeknote-9999-remove_completion_from_setup.patch21
-rw-r--r--app-doc/geeknote/geeknote-3.0.5.ebuild41
-rw-r--r--app-doc/geeknote/geeknote-9999.ebuild2
4 files changed, 42 insertions, 23 deletions
diff --git a/app-doc/geeknote/Manifest b/app-doc/geeknote/Manifest
new file mode 100644
index 000000000..515be19b3
--- /dev/null
+++ b/app-doc/geeknote/Manifest
@@ -0,0 +1 @@
+DIST geeknote-3.0.5.tar.gz 69842 BLAKE2B c6bc3c0622625531d2dc96f334d86fb3dcb9dc4ad459f7a1cbe54e64593641d40b485021b2442a8ac1c56ea5167bcdd46f1a4d9063150945a9a40d3e528aba37 SHA512 87f7598bff94c7b42c276270ab75fbf7dbc26b82229359bcdc684633b1cced2a42716590212b6c19be7e68330b08c292a54d9612eaf72c71bfd5a34c8c4036ac
diff --git a/app-doc/geeknote/files/geeknote-9999-remove_completion_from_setup.patch b/app-doc/geeknote/files/geeknote-9999-remove_completion_from_setup.patch
deleted file mode 100644
index c31c3c6c7..000000000
--- a/app-doc/geeknote/files/geeknote-9999-remove_completion_from_setup.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -52,12 +52,12 @@ class full_install(install):
- print(traceback.format_exc())
-
- print("installing autocomplete")
-- copy_autocomplete(
-- "completion/bash_completion/_geeknote", self.bash_completion_dir
-- )
-- copy_autocomplete(
-- "completion/zsh_completion/_geeknote", self.zsh_completion_dir
-- )
-+# copy_autocomplete(
-+# "completion/bash_completion/_geeknote", self.bash_completion_dir
-+# )
-+# copy_autocomplete(
-+# "completion/zsh_completion/_geeknote", self.zsh_completion_dir
-+# )
-
-
- with open("geeknote/__init__.py") as f:
diff --git a/app-doc/geeknote/geeknote-3.0.5.ebuild b/app-doc/geeknote/geeknote-3.0.5.ebuild
new file mode 100644
index 000000000..17e814e84
--- /dev/null
+++ b/app-doc/geeknote/geeknote-3.0.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Evernote CLI: CRUD for notes in cloud, in markdown"
+HOMEPAGE="https://github.com/vitaly-zdanevich/geeknote"
+SRC_URI="https://github.com/vitaly-zdanevich/$PN/archive/refs/tags/v$PV.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+)"
+
+RDEPEND="
+ dev-python/evernote2[${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}]
+"
+
+RESTRICT="test"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ einfo "Autocompletion plugin is already bundled in oh-my-zsh. To enable just configure plugin definition"
+ einfo "plugins=( ... geeknote ...)"
+ einfo "see more at https://github.com/s7anley/zsh-geeknote"
+}
diff --git a/app-doc/geeknote/geeknote-9999.ebuild b/app-doc/geeknote/geeknote-9999.ebuild
index 0cb845e3f..ce78f8a52 100644
--- a/app-doc/geeknote/geeknote-9999.ebuild
+++ b/app-doc/geeknote/geeknote-9999.ebuild
@@ -29,8 +29,6 @@ RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
"
-PATCHES=( "${FILESDIR}/${P}-remove_completion_from_setup.patch" )
-
RESTRICT="test"
# python_install_all() {