diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /app-text/cmark/cmark-0.29.0.ebuild | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'app-text/cmark/cmark-0.29.0.ebuild')
-rw-r--r-- | app-text/cmark/cmark-0.29.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/cmark/cmark-0.29.0.ebuild b/app-text/cmark/cmark-0.29.0.ebuild new file mode 100644 index 000000000000..7400fd7331da --- /dev/null +++ b/app-text/cmark/cmark-0.29.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="CommonMark parsing and rendering library and program in C" +HOMEPAGE="https://github.com/commonmark/cmark" +SRC_URI="https://github.com/commonmark/cmark/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/0.29.0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCMARK_LIB_FUZZER=OFF + -DCMARK_SHARED=ON + -DCMARK_STATIC=OFF + -DCMARK_TESTS="$(usex test)" + ) + cmake-utils_src_configure +} |