mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/cmark: use python-any-r1 instead hardcoded, #615908
Bug: https://bugs.gentoo.org/615908 Closes: https://github.com/gentoo/gentoo/pull/4437 Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
committed by
Michał Górny
parent
c9b65c695d
commit
984ddfca7e
@@ -3,7 +3,9 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit cmake-utils python-any-r1
|
||||
|
||||
DESCRIPTION="CommonMark parsing and rendering library and program in C"
|
||||
HOMEPAGE="https://github.com/jgm/cmark"
|
||||
@@ -15,9 +17,13 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? ( || ( dev-lang/python:3.4 dev-lang/python:3.5 ) )"
|
||||
test? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
# Remove static library from installing
|
||||
|
||||
Reference in New Issue
Block a user