*/*: add versioned ebuild

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-06-15 06:10:38 +04:00
parent 230de882f1
commit 679a022338
6 changed files with 69 additions and 23 deletions

View File

@@ -0,0 +1 @@
DIST geeknote-3.0.5.tar.gz 69842 BLAKE2B c6bc3c0622625531d2dc96f334d86fb3dcb9dc4ad459f7a1cbe54e64593641d40b485021b2442a8ac1c56ea5167bcdd46f1a4d9063150945a9a40d3e528aba37 SHA512 87f7598bff94c7b42c276270ab75fbf7dbc26b82229359bcdc684633b1cced2a42716590212b6c19be7e68330b08c292a54d9612eaf72c71bfd5a34c8c4036ac

View File

@@ -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:

View File

@@ -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"
}

View File

@@ -29,8 +29,6 @@ RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/${P}-remove_completion_from_setup.patch" )
RESTRICT="test"
# python_install_all() {

View File

@@ -0,0 +1 @@
DIST v1.0.3.tar.gz 247239 BLAKE2B 899067b7736a9e8e7932f1fe5b2c3c5e20650f5bc836f184de18ee7576cec1edb34c25211119bc41917a54bdabff65a6b33216f6bead08fcb3989081a87afff3 SHA512 2df19761dd02d67e1faa7a702ea363530b485e9a5c3ccab7e90f987cdbf06a4d1f00de0066c7cbce15f8a489bb0879d1024226ff8ef9aaff0226eb66f0a6998d

View File

@@ -0,0 +1,26 @@
# Copyright Gentoo Authors 2024
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1
DESCRIPTION="Unofficial Evernote SDK for Python 3"
HOMEPAGE="
https://github.com/JackonYang/evernote2
https://pypi.org/project/evernote2/
"
SRC_URI="https://github.com/JackonYang/$PN/archive/refs/tags/v$PV.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/oauthlib[${PYTHON_USEDEP}]
dev-python/thrift[${PYTHON_USEDEP}]
"