mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/md4c: drop 0.5.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e SHA512 30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85
|
||||
DIST md4c-0.5.3.tar.gz 244633 BLAKE2B 45a2d591eb12ec28b6fcb10f52d0cb2a48ca52edc61e2f0e8751ecd651afb6823efdd2c949311801eefb049b54645c368ded71f4c1c295cdfa025fe9f7a34d5e SHA512 213d6b9fbad24b2bfb4fa0a8124cb4c20861da2cb57790882aa0e5ff8c18903450f1d9ffdbcc0547debd103137777059f27a526cd818294f698b5ffdbfe7fbcb
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit cmake python-any-r1
|
||||
|
||||
DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant"
|
||||
HOMEPAGE="https://github.com/mity/md4c"
|
||||
# TODO(NRK):
|
||||
# - useflag for static lib (?)
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mity/md4c.git"
|
||||
else
|
||||
SRC_URI="https://github.com/mity/md4c/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/md4c-release-${PV}"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT test? ( CC-BY-SA-4.0 )"
|
||||
SLOT="0"
|
||||
IUSE="+md2html test"
|
||||
REQUIRED_USE="test? ( md2html )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_MD2HTML_EXECUTABLE=$(usex md2html)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
# Uses python internally
|
||||
"${S}"/scripts/run-tests.sh || die
|
||||
popd
|
||||
}
|
||||
Reference in New Issue
Block a user