1 |
commit: e78d74110d357673aae0902026e5d3cb42296322 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 4 05:15:29 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 4 20:22:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78d7411 |
7 |
|
8 |
app-text/cmark: bump to 0.28.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5289 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
12 |
|
13 |
app-text/cmark/Manifest | 1 + |
14 |
app-text/cmark/cmark-0.28.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
15 |
app-text/cmark/metadata.xml | 2 +- |
16 |
3 files changed, 35 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest |
19 |
index 7fcdd690b21..89a102ae4d0 100644 |
20 |
--- a/app-text/cmark/Manifest |
21 |
+++ b/app-text/cmark/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST cmark-0.27.1.tar.gz 215574 SHA256 669b4c19355e8cb90139fdd03b02283b97130e92ea99a104552a2976751446b5 SHA512 a7797c9dfd54e20499666e37ba67b1902ef0d40867e7b941c1cfc93d4fbe935fb073be69aecc9f9f8c8e9524049037771635b45e071af981613431f3fbbe7b41 WHIRLPOOL 0eac7dd03176ca0fd21f89288b8e1ce92889cac00690e512304afa58c4e1777040697b78897c851a8c1c59d181cfc6e5ce3f5a980efd9939f66cc950e91fdc07 |
24 |
+DIST cmark-0.28.0.tar.gz 228973 SHA256 68cf191f4a78494a43b7e1663506635e370f0ba4c67c9ee9518e295685bbfe0e SHA512 86aeb42f17440c8e743057851bc3cee9ed4b3fa27dacc37d6af54dee7739210a712020e59c102ed1852b7c3f904881cb4e9b80ea475772095514c4025284cbb6 WHIRLPOOL 27705cc8cd65c5c094eb62a2d0e44942aa6f89e86218a8971ca7a6d617a49fdde44ff7358d77dd36fa42ff0cd6a54d473695742f827b773300b76bc221477cea |
25 |
|
26 |
diff --git a/app-text/cmark/cmark-0.28.0.ebuild b/app-text/cmark/cmark-0.28.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..55850c46f6d |
29 |
--- /dev/null |
30 |
+++ b/app-text/cmark/cmark-0.28.0.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
38 |
+ |
39 |
+inherit cmake-utils python-any-r1 |
40 |
+ |
41 |
+DESCRIPTION="CommonMark parsing and rendering library and program in C" |
42 |
+HOMEPAGE="https://github.com/commonmark/cmark" |
43 |
+SRC_URI="https://github.com/commonmark/cmark/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+DEPEND="test? ( ${PYTHON_DEPS} )" |
51 |
+ |
52 |
+pkg_setup() { |
53 |
+ use test && python-any-r1_pkg_setup |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DCMARK_LIB_FUZZER=OFF |
59 |
+ -DCMARK_SHARED=ON |
60 |
+ -DCMARK_STATIC=OFF |
61 |
+ -DCMARK_TESTS="$(usex test)" |
62 |
+ ) |
63 |
+ cmake-utils_src_configure |
64 |
+} |
65 |
|
66 |
diff --git a/app-text/cmark/metadata.xml b/app-text/cmark/metadata.xml |
67 |
index 793f4e46310..da44e88f8f6 100644 |
68 |
--- a/app-text/cmark/metadata.xml |
69 |
+++ b/app-text/cmark/metadata.xml |
70 |
@@ -13,6 +13,6 @@ |
71 |
CommonMark parsing and rendering library and program in C. |
72 |
</longdescription> |
73 |
<upstream> |
74 |
- <remote-id type="github">jgm/cmark</remote-id> |
75 |
+ <remote-id type="github">commonmark/cmark</remote-id> |
76 |
</upstream> |
77 |
</pkgmetadata> |