diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/cmark/Manifest | 1 | ||||
-rw-r--r-- | app-text/cmark/cmark-0.28.0.ebuild | 33 | ||||
-rw-r--r-- | app-text/cmark/metadata.xml | 2 |
3 files changed, 35 insertions, 1 deletions
diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest index 7fcdd690b214..89a102ae4d0a 100644 --- a/app-text/cmark/Manifest +++ b/app-text/cmark/Manifest @@ -1 +1,2 @@ DIST cmark-0.27.1.tar.gz 215574 SHA256 669b4c19355e8cb90139fdd03b02283b97130e92ea99a104552a2976751446b5 SHA512 a7797c9dfd54e20499666e37ba67b1902ef0d40867e7b941c1cfc93d4fbe935fb073be69aecc9f9f8c8e9524049037771635b45e071af981613431f3fbbe7b41 WHIRLPOOL 0eac7dd03176ca0fd21f89288b8e1ce92889cac00690e512304afa58c4e1777040697b78897c851a8c1c59d181cfc6e5ce3f5a980efd9939f66cc950e91fdc07 +DIST cmark-0.28.0.tar.gz 228973 SHA256 68cf191f4a78494a43b7e1663506635e370f0ba4c67c9ee9518e295685bbfe0e SHA512 86aeb42f17440c8e743057851bc3cee9ed4b3fa27dacc37d6af54dee7739210a712020e59c102ed1852b7c3f904881cb4e9b80ea475772095514c4025284cbb6 WHIRLPOOL 27705cc8cd65c5c094eb62a2d0e44942aa6f89e86218a8971ca7a6d617a49fdde44ff7358d77dd36fa42ff0cd6a54d473695742f827b773300b76bc221477cea diff --git a/app-text/cmark/cmark-0.28.0.ebuild b/app-text/cmark/cmark-0.28.0.ebuild new file mode 100644 index 000000000000..55850c46f6d4 --- /dev/null +++ b/app-text/cmark/cmark-0.28.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +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" +KEYWORDS="~amd64 ~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 +} diff --git a/app-text/cmark/metadata.xml b/app-text/cmark/metadata.xml index 793f4e46310c..da44e88f8f6e 100644 --- a/app-text/cmark/metadata.xml +++ b/app-text/cmark/metadata.xml @@ -13,6 +13,6 @@ CommonMark parsing and rendering library and program in C. </longdescription> <upstream> - <remote-id type="github">jgm/cmark</remote-id> + <remote-id type="github">commonmark/cmark</remote-id> </upstream> </pkgmetadata> |