[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-09-18 Thread Arthur Zamarin
commit: b03b484b7fc62827919ccb173dd94b15056ee8d9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 19 06:11:00 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep 19 06:11:00 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b03b484b

dev-libs/md4c: Stabilize 0.5.2 ppc64, #963003

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index a5cd4f1bcb94..f406aec95d3e 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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"
+   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-09-18 Thread Arthur Zamarin
commit: 2d9aabb72a2bac37231f09958451464455a899f3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 18 17:35:35 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 18 17:35:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9aabb7

dev-libs/md4c: Stabilize 0.5.2 x86, #963003

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 801a6c07d543..1a865951e4e7 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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"
+   KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-06-21 Thread Sam James
commit: e3d77242e6991638e0b7242f6f6712e8bbc7f9e6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 21 08:13:18 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 21 08:13:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d77242

dev-libs/md4c: Keyword 0.5.2 ppc, #957680

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index e10460551a0e..e1fc41c0a577 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-06-21 Thread Sam James
commit: b684065f017f2f943a78b8c7593f9a1ae30a15ff
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 21 07:43:26 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 21 07:43:26 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b684065f

dev-libs/md4c: Keyword 0.5.2 ppc64, #957680

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index c0a3fb1eb8a5..e10460551a0e 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-06-12 Thread Sam James
commit: 6e0fc884a3bf82024f2a8c7c4c897a4d55b0a6ce
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 12 08:19:02 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 08:19:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0fc884

dev-libs/md4c: Keyword 0.5.2 hppa, #957680

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 7058a5d285d7..c0a3fb1eb8a5 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~hppa ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-06-09 Thread Sam James
commit: 4ceba947c870fec3f83a1d56e5f753f834d3e1b0
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun  9 10:56:33 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  9 10:56:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ceba947

dev-libs/md4c: Keyword 0.5.2 arm64, #957680

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 566f866b62cb..7058a5d285d7 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-06-09 Thread Sam James
commit: 9b520b3eeb6aa42be01958829f09d08a225be36d
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun  9 10:56:31 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  9 10:56:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b520b3e

dev-libs/md4c: Keyword 0.5.2 arm, #957680

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 2bb5bb447f22..566f866b62cb 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-04-28 Thread Sam James
commit: 449a3764ee1850ea90d3eccb061af3e444c78020
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 28 16:46:24 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 28 16:46:24 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449a3764

dev-libs/md4c: Stabilize 0.5.2 amd64, #954912

Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index cf7039fb98a5..2bb5bb447f22 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~riscv ~x86"
+   KEYWORDS="amd64 ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-04-05 Thread Jakov Smolić
commit: 93b0233291bb997397ab0114cca1ba3c28d6aab9
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Apr  5 18:51:30 2025 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Apr  5 18:51:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b02332

dev-libs/md4c: Keyword 0.5.2 riscv, #953232

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 19d9b2f2e193..cf7039fb98a5 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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 ~x86"
+   KEYWORDS="~amd64 ~riscv ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-04-05 Thread Arthur Zamarin
commit: c0d337caeaebb47b53daaeb13413000b2be26a29
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  5 17:07:53 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  5 17:07:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d337ca

dev-libs/md4c: Keyword 0.5.2 x86, #953232

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/md4c/md4c-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
index 002381590ba4..19d9b2f2e193 100644
--- a/dev-libs/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
 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"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="MIT test? ( CC-BY-SA-4.0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/md4c/

2025-03-28 Thread Sam James
commit: e13dada4ff486c1cf8742104a5b3ee5a21fc3adb
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Wed Mar 26 00:42:13 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 28 15:04:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13dada4

dev-libs/md4c: new package, add 0.5.2

moved from ::guru, with some fixes and added test

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/md4c/Manifest  |  1 +
 dev-libs/md4c/md4c-0.5.2.ebuild | 50 +
 dev-libs/md4c/metadata.xml  | 17 ++
 3 files changed, 68 insertions(+)

diff --git a/dev-libs/md4c/Manifest b/dev-libs/md4c/Manifest
new file mode 100644
index ..47bc5af3b07d
--- /dev/null
+++ b/dev-libs/md4c/Manifest
@@ -0,0 +1 @@
+DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 
7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e
 SHA512 
30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85

diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
new file mode 100644
index ..002381590ba4
--- /dev/null
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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} ==  ]]; 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"
+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
+}

diff --git a/dev-libs/md4c/metadata.xml b/dev-libs/md4c/metadata.xml
new file mode 100644
index ..135e912b5165
--- /dev/null
+++ b/dev-libs/md4c/metadata.xml
@@ -0,0 +1,17 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   [email protected]
+   
+   
+   [email protected]
+   Proxy Maintainers
+   
+   
+   Build the md2html cli tool
+   
+   
+   mity/md4c
+   
+