Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cmark/
Date: Wed, 29 Sep 2021 00:59:53
Message-Id: 1632876995.ef42a7f69b0f13c7c03f737a7ba6212201c25ee5.ionen@gentoo
1 commit: ef42a7f69b0f13c7c03f737a7ba6212201c25ee5
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 27 19:25:50 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 00:56:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef42a7f6
7
8 app-text/cmark: update to 0.30.2
9
10 Updated to EAPI=8.
11
12 Package-Manager: Portage-3.0.20, Repoman-3.0.3
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
15
16 app-text/cmark/Manifest | 1 +
17 app-text/cmark/cmark-0.30.2.ebuild | 34 ++++++++++++++++++++++++++++++++++
18 2 files changed, 35 insertions(+)
19
20 diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest
21 index c54ea3ac458..8b66ab3fabd 100644
22 --- a/app-text/cmark/Manifest
23 +++ b/app-text/cmark/Manifest
24 @@ -1,2 +1,3 @@
25 DIST cmark-0.29.0.tar.gz 234545 BLAKE2B 1571cdf08f85142ff790db811b7973f2d95a7b1c8669af467cbeac1ad0907826a46f7e0e3ba717ba677746406f8372e40b9878f7810d317fa3c0e14db06dc8fb SHA512 06eb110cfd90c9e980c022b7588e28864d15a4da5d07d61ad4b27c6de47367492b9e58e9434e62b07517aa6dc484f17af13916808be3188f38c37d20cbf33112
26 DIST cmark-0.30.1.tar.gz 245126 BLAKE2B 4b6b7bcd87f931a50849d70afdd8593131fec6d937a804432444045b90eb6813a56c50e08dbb94bd424e0d5d53f9323f596d1bd2d1ab363bef742fe8d24971a6 SHA512 883bf559874f05af501de9dbce7e08c7297c09ebb26b3e08f55a8a5c43109e47ac14d129a2db31d7f105803e7259e3e104fe4241fd5c1248820a96e5228008f4
27 +DIST cmark-0.30.2.tar.gz 246033 BLAKE2B 487f5adf47afdd4133e16b6cca1403cd555f8722b47c423960909de73aacac1d0f8b16311f6d5349addb5f03a86562545bb2ec80771b822bb8e5b82816375124 SHA512 aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17
28
29 diff --git a/app-text/cmark/cmark-0.30.2.ebuild b/app-text/cmark/cmark-0.30.2.ebuild
30 new file mode 100644
31 index 00000000000..67faa19c8c5
32 --- /dev/null
33 +++ b/app-text/cmark/cmark-0.30.2.ebuild
34 @@ -0,0 +1,34 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +PYTHON_COMPAT=( python3_{8..10} )
41 +
42 +inherit cmake python-any-r1
43 +
44 +DESCRIPTION="CommonMark parsing and rendering library and program in C"
45 +HOMEPAGE="https://github.com/commonmark/cmark"
46 +SRC_URI="https://github.com/commonmark/cmark/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="BSD-2"
49 +SLOT="0/${PV}"
50 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +BDEPEND="test? ( ${PYTHON_DEPS} )"
55 +
56 +pkg_setup() {
57 + use test && python-any-r1_pkg_setup
58 +}
59 +
60 +src_configure() {
61 + local mycmakeargs=(
62 + -DCMARK_LIB_FUZZER=OFF
63 + -DCMARK_SHARED=ON
64 + -DCMARK_STATIC=OFF
65 + -DCMARK_TESTS="$(usex test)"
66 + )
67 + cmake_src_configure
68 +}