Skip to content

Commit

Permalink
dev-cpp/cpp-taskflow: add missing doctest test dependency; fix double…
Browse files Browse the repository at this point in the history
… KEYWORDS

Closes: https://bugs.gentoo.org/826894
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 24, 2021
1 parent bb7f807 commit e4c0465
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ HOMEPAGE="https://cpp-taskflow.github.io"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/cpp-taskflow/${PN}.git"
inherit git-r3
KEYWORDS=""
S="${WORKDIR}/cpp-taskflow-${PV}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
Expand All @@ -23,6 +22,8 @@ SLOT="0"
IUSE="examples test"
RESTRICT="!test? ( test )"

DEPEND="test? ( dev-cpp/doctest )"

HTML_DOCS=( docs/. )

src_prepare() {
Expand Down
3 changes: 2 additions & 1 deletion dev-cpp/cpp-taskflow/cpp-taskflow-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ HOMEPAGE="https://cpp-taskflow.github.io"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/cpp-taskflow/${PN}.git"
inherit git-r3
KEYWORDS=""
S="${WORKDIR}/cpp-taskflow-${PV}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
Expand All @@ -23,6 +22,8 @@ SLOT="0"
IUSE="examples test"
RESTRICT="!test? ( test )"

DEPEND="test? ( dev-cpp/doctest )"

HTML_DOCS=( docs/. )

src_prepare() {
Expand Down

0 comments on commit e4c0465

Please sign in to comment.