diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-06-30 02:02:15 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-06-30 14:30:15 +0200 |
commit | a5c1a762be7b13770644c1d3dc174e3f5cb177d8 (patch) | |
tree | 4c0851c9984db6af0c0e0ea7ee240311e1bc7e8b /app-text/cmark-gfm | |
parent | net-p2p/bisq: 1.7.0 update (diff) | |
download | guru-a5c1a762be7b13770644c1d3dc174e3f5cb177d8.tar.gz guru-a5c1a762be7b13770644c1d3dc174e3f5cb177d8.tar.bz2 guru-a5c1a762be7b13770644c1d3dc174e3f5cb177d8.zip |
app-text/cmark-gfm: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-text/cmark-gfm')
-rw-r--r-- | app-text/cmark-gfm/Manifest | 1 | ||||
-rw-r--r-- | app-text/cmark-gfm/cmark-gfm-0.29.0.0.ebuild | 35 | ||||
-rw-r--r-- | app-text/cmark-gfm/metadata.xml | 11 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-text/cmark-gfm/Manifest b/app-text/cmark-gfm/Manifest new file mode 100644 index 000000000..1111d9c64 --- /dev/null +++ b/app-text/cmark-gfm/Manifest @@ -0,0 +1 @@ +DIST cmark-gfm-0.29.0.0.tar.gz 284071 BLAKE2B aeb831c899bb53934b8a84387d0e690174ce4083da047f7c7de890e04df0ca9b16660e9a67a5b337a24fa3075c809596478fad2bbfb5fd20b7cfeb021af997f6 SHA512 54e396e035a43e4d0c86fa7f1c48a6a1283c0caaabdbc56dfcecee92e89e69f6d2e016ae2d9cf4f40258a6455fba7b813c1c6e6d37e53d33a381088ccbc5673e diff --git a/app-text/cmark-gfm/cmark-gfm-0.29.0.0.ebuild b/app-text/cmark-gfm/cmark-gfm-0.29.0.0.ebuild new file mode 100644 index 000000000..386e2c8db --- /dev/null +++ b/app-text/cmark-gfm/cmark-gfm-0.29.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MYPV="$(ver_rs 3 '.gfm.')" +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-any-r1 + +DESCRIPTION="GitHub's fork of cmark" +HOMEPAGE="https://github.com/github/cmark-gfm" +SRC_URI="https://github.com/github/cmark-gfm/archive/${MYPV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MYPV}" +LICENSE="BSD-2" +SLOT="0/0.29.0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( 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_src_configure +} diff --git a/app-text/cmark-gfm/metadata.xml b/app-text/cmark-gfm/metadata.xml new file mode 100644 index 000000000..69854aee3 --- /dev/null +++ b/app-text/cmark-gfm/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <remote-id type="github">github/cmark-gfm</remote-id> + </upstream> +</pkgmetadata> |