app-misc/tasksh - 1.2.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =app-misc/tasksh-1.2.0

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

autounmask =app-misc/tasksh-1.2.0

Or alternatively:

emerge --autounmask-write -a =app-misc/tasksh-1.2.0

Package Information

Description:
Shell command that wraps Taskwarrior commands
Homepage:
https://gothenburgbitfactory.org/tasksh/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.0 8 ~amd64 ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Shell command that wraps Taskwarrior commands"
HOMEPAGE="https://gothenburgbitfactory.org/tasksh/"
LIBSHARED_SHA="f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9"
SRC_URI="https://github.com/GothenburgBitFactory/taskshell/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/GothenburgBitFactory/libshared/archive/${LIBSHARED_SHA}.tar.gz -> ${PN}-libshared-${LIBSHARED_SHA:0:7}.tar.gz"

S="${WORKDIR}/${PN}ell-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"

DEPEND="sys-libs/readline:="
RDEPEND="${DEPEND}"

src_prepare() {
	sed -e "s|TASKSH_DOCDIR\\s\\+share/doc/tasksh|TASKSH_DOCDIR share/doc/${P}|" \
		-i CMakeLists.txt || die
	rmdir src/libshared || die
	mv "../libshared-${LIBSHARED_SHA}" src/libshared || die
	touch src/commit.h
	# CMake 4 removed support for CMP0037 OLD. The tests do not define a
	# reserved target name, so the policy request is simply unnecessary.
	sed -i -e '/cmake_policy(SET CMP0037 OLD)/d' test/CMakeLists.txt || die
	cmake_src_prepare
}

Inherited Eclasses

Dependencies

DEPEND

sys-libs/readline:=

RDEPEND

sys-libs/readline:=

Manifest for 1.2.0

Type File Size Source URLs
DIST tasksh-1.2.0.tar.gz 30386 bytes https://github.com/GothenburgBitFactory/taskshell/archive/v1.2.0.tar.gz
DIST tasksh-libshared-f1a3cd6.tar.gz 146322 bytes https://github.com/GothenburgBitFactory/libshared/archive/f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9.tar.gz