mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
*/*: add versioned ebuild
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
1
app-doc/geeknote/Manifest
Normal file
1
app-doc/geeknote/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST geeknote-3.0.5.tar.gz 69842 BLAKE2B c6bc3c0622625531d2dc96f334d86fb3dcb9dc4ad459f7a1cbe54e64593641d40b485021b2442a8ac1c56ea5167bcdd46f1a4d9063150945a9a40d3e528aba37 SHA512 87f7598bff94c7b42c276270ab75fbf7dbc26b82229359bcdc684633b1cced2a42716590212b6c19be7e68330b08c292a54d9612eaf72c71bfd5a34c8c4036ac
|
||||
@@ -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:
|
||||
41
app-doc/geeknote/geeknote-3.0.5.ebuild
Normal file
41
app-doc/geeknote/geeknote-3.0.5.ebuild
Normal 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"
|
||||
}
|
||||
@@ -29,8 +29,6 @@ RDEPEND="
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove_completion_from_setup.patch" )
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# python_install_all() {
|
||||
|
||||
Reference in New Issue
Block a user