commit: 679a0223383cea8ae828858d0bbc3532c0229322 Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Sat Jun 15 02:10:38 2024 +0000 Commit: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> CommitDate: Sat Jun 15 02:10:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=679a0223
*/*: add versioned ebuild Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> app-doc/geeknote/Manifest | 1 + ...eeknote-9999-remove_completion_from_setup.patch | 21 ----------------- ...{geeknote-9999.ebuild => geeknote-3.0.5.ebuild} | 16 ++++--------- app-doc/geeknote/geeknote-9999.ebuild | 2 -- dev-python/evernote2/Manifest | 1 + dev-python/evernote2/evernote2-1.0.3.ebuild | 26 ++++++++++++++++++++++ 6 files changed, 32 insertions(+), 35 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-9999.ebuild b/app-doc/geeknote/geeknote-3.0.5.ebuild similarity index 68% copy from app-doc/geeknote/geeknote-9999.ebuild copy to app-doc/geeknote/geeknote-3.0.5.ebuild index 0cb845e3f..17e814e84 100644 --- a/app-doc/geeknote/geeknote-9999.ebuild +++ b/app-doc/geeknote/geeknote-3.0.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,14 +6,15 @@ EAPI=8 PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=setuptools -inherit bash-completion-r1 distutils-r1 git-r3 +inherit distutils-r1 DESCRIPTION="Evernote CLI: CRUD for notes in cloud, in markdown" HOMEPAGE="https://github.com/vitaly-zdanevich/geeknote" -EGIT_REPO_URI="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}] @@ -29,17 +30,8 @@ RDEPEND=" dev-python/lxml[${PYTHON_USEDEP}] " -PATCHES=( "${FILESDIR}/${P}-remove_completion_from_setup.patch" ) - RESTRICT="test" -# python_install_all() { -# dobashcomp completion/bash_completion/_geeknote -# insinto /usr/share/zsh/site-functions -# doins completion/zsh_completion/_geeknote -# distutils-r1_python_install_all -# } - distutils_enable_tests pytest pkg_postinst() { 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() { diff --git a/dev-python/evernote2/Manifest b/dev-python/evernote2/Manifest new file mode 100644 index 000000000..544ce1cc4 --- /dev/null +++ b/dev-python/evernote2/Manifest @@ -0,0 +1 @@ +DIST v1.0.3.tar.gz 247239 BLAKE2B 899067b7736a9e8e7932f1fe5b2c3c5e20650f5bc836f184de18ee7576cec1edb34c25211119bc41917a54bdabff65a6b33216f6bead08fcb3989081a87afff3 SHA512 2df19761dd02d67e1faa7a702ea363530b485e9a5c3ccab7e90f987cdbf06a4d1f00de0066c7cbce15f8a489bb0879d1024226ff8ef9aaff0226eb66f0a6998d diff --git a/dev-python/evernote2/evernote2-1.0.3.ebuild b/dev-python/evernote2/evernote2-1.0.3.ebuild new file mode 100644 index 000000000..f663b23a8 --- /dev/null +++ b/dev-python/evernote2/evernote2-1.0.3.ebuild @@ -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}] +"