From d2964b5f8466754fab0c30b25179b374e90a86e7 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Tue, 19 Apr 2022 14:12:40 +0200 Subject: [PATCH] Added --- app-text/cmark/Manifest | 1 + app-text/cmark/cmark-0.30.2.ebuild | 34 ++++++++++++++++++++++++++++++ app-text/cmark/metadata.xml | 15 +++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 app-text/cmark/Manifest create mode 100644 app-text/cmark/cmark-0.30.2.ebuild create mode 100644 app-text/cmark/metadata.xml diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest new file mode 100644 index 0000000..d5eca9e --- /dev/null +++ b/app-text/cmark/Manifest @@ -0,0 +1 @@ +DIST cmark-0.30.2.tar.gz 246033 BLAKE2B 487f5adf47afdd4133e16b6cca1403cd555f8722b47c423960909de73aacac1d0f8b16311f6d5349addb5f03a86562545bb2ec80771b822bb8e5b82816375124 SHA512 aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17 diff --git a/app-text/cmark/cmark-0.30.2.ebuild b/app-text/cmark/cmark-0.30.2.ebuild new file mode 100644 index 0000000..e9ac2bd --- /dev/null +++ b/app-text/cmark/cmark-0.30.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake 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/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="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_src_configure +} diff --git a/app-text/cmark/metadata.xml b/app-text/cmark/metadata.xml new file mode 100644 index 0000000..931b215 --- /dev/null +++ b/app-text/cmark/metadata.xml @@ -0,0 +1,15 @@ + + + + + azamat.hackimov@gmail.com + Azamat H. Hackimov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + commonmark/cmark + +