summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2017-08-04 10:15:29 +0500
committerMichał Górny <mgorny@gentoo.org>2017-08-04 22:22:51 +0200
commite78d74110d357673aae0902026e5d3cb42296322 (patch)
tree526f57da0bd0ea2227aa2179fa1b82fed531c5a5 /app-text
parentprofiles/base: Mask app-text/texlive-core[xetex] for <2013 (diff)
downloadgentoo-e78d74110d357673aae0902026e5d3cb42296322.tar.gz
gentoo-e78d74110d357673aae0902026e5d3cb42296322.tar.bz2
gentoo-e78d74110d357673aae0902026e5d3cb42296322.zip
app-text/cmark: bump to 0.28.0
Closes: https://github.com/gentoo/gentoo/pull/5289 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-text')
-rw-r--r--app-text/cmark/Manifest1
-rw-r--r--app-text/cmark/cmark-0.28.0.ebuild33
-rw-r--r--app-text/cmark/metadata.xml2
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>