Gentoo Archives: gentoo-commits

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