| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.3.0 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{9..13} )
inherit distutils-r1
DESCRIPTION="A TUI MarkDown editor with live preview"
HOMEPAGE="
https://cp737.net/blog/markln-markdown-editor-for-the-terminal
https://github.com/xqtr/markln.git
"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/xqtr/${PN}.git"
else
SRC_URI="https://github.com/xqtr/markln/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-python/textual-0.52.1[${PYTHON_USEDEP}]
>=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}]
dev-libs/tree-sitter-markdown
"
RDEPEND="${DEPEND}"
BDEPEND=""
DOCS=( README.md LICENSE )
src_install() {
exeinto "/usr/bin"
newexe ${PN}.py ${PN}
dodoc ${DOCS}
}
>=dev-python/textual-0.52.1[${PYTHON_USEDEP}]
>=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}]
dev-libs/tree-sitter-markdown
>=dev-python/textual-0.52.1[${PYTHON_USEDEP}]
>=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}]
dev-libs/tree-sitter-markdown
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | markln-1.3.0.tar.gz | 25141 bytes | https://github.com/xqtr/markln/archive/refs/tags/v1.3.0.tar.gz |