Added
This commit is contained in:
parent
676672285d
commit
d2964b5f84
1
app-text/cmark/Manifest
Normal file
1
app-text/cmark/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST cmark-0.30.2.tar.gz 246033 BLAKE2B 487f5adf47afdd4133e16b6cca1403cd555f8722b47c423960909de73aacac1d0f8b16311f6d5349addb5f03a86562545bb2ec80771b822bb8e5b82816375124 SHA512 aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17
|
34
app-text/cmark/cmark-0.30.2.ebuild
Normal file
34
app-text/cmark/cmark-0.30.2.ebuild
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit cmake 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/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="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_src_configure
|
||||||
|
}
|
15
app-text/cmark/metadata.xml
Normal file
15
app-text/cmark/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>azamat.hackimov@gmail.com</email>
|
||||||
|
<name>Azamat H. Hackimov</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">commonmark/cmark</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user