app-text/cmark: bump to 0.28.0
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>
Fri, 4 Aug 2017 05:15:29 +0000 (10:15 +0500)
committerMichał Górny <mgorny@gentoo.org>
Fri, 4 Aug 2017 20:22:51 +0000 (22:22 +0200)
Closes: https://github.com/gentoo/gentoo/pull/5289
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-text/cmark/Manifest
app-text/cmark/cmark-0.28.0.ebuild [new file with mode: 0644]
app-text/cmark/metadata.xml

index 7fcdd690b2142e147e8ecc6db7bc3b5cec424418..89a102ae4d0abcf3269dca11d77dbf18ff19cf44 100644 (file)
@@ -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 (file)
index 0000000..55850c4
--- /dev/null
@@ -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
+}
index 793f4e46310cea76e4b6773a6671f06bcd6a038f..da44e88f8f6eace79e9e22e9e97f2f65417156b8 100644 (file)
@@ -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>