dev-util/etask - 9999 (myov)

Search

Install

Install this version:

emerge -a =dev-util/etask-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/etask-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/etask-9999

Package Information

Description:
CLI interface to GNU Emacs
Homepage:
https://gitlab.com/xgqt/python-etask/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{12..13} )

inherit distutils-r1

DESCRIPTION="CLI interface to GNU Emacs"
HOMEPAGE="https://gitlab.com/xgqt/python-etask/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://gitlab.com/xgqt/python-${PN}"
else
	SRC_URI="https://gitlab.com/xgqt/python-${PN}/-/archive/${PV}/python-${P}.tar.bz2"
	S="${WORKDIR}/python-${P}"

	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE="doc"

COMMON_DEPEND="
	dev-python/colorama[${PYTHON_USEDEP}]
"
RDEPEND="
	${COMMON_DEPEND}
	>=app-editors/emacs-23.1:*
"
BDEPEND="
	${COMMON_DEPEND}
	doc? (
		app-text/doxygen
	)
"

DOCS=( ./README.md ./logo.png )

distutils_enable_tests pytest

src_compile() {
	( cd "./src/${PN}" \
		  && distutils-r1_src_compile )

	if use doc ; then
		emake docs
	fi
}

src_install() {
	( cd "./src/${PN}" \
		  && distutils-r1_src_install )

	if use doc ; then
		dodoc -r ./docs/artifacts/{html,latex}
		doman ./docs/artifacts/man/man3/*
	fi

	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/etask | euse -E <flag> -p dev-util/etask | euse -D <flag> -p dev-util/etask

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

RDEPEND

	
	dev-python/colorama[]

	>=app-editors/emacs-23.1:*

BDEPEND

	
	dev-python/colorama[]

	doc? (
		app-text/doxygen
	)