summaryrefslogtreecommitdiff
path: root/dev-python/commonmark
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/commonmark
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/commonmark')
-rw-r--r--dev-python/commonmark/Manifest2
-rw-r--r--dev-python/commonmark/commonmark-0.9.1-r1.ebuild44
-rw-r--r--dev-python/commonmark/commonmark-0.9.2.ebuild44
-rw-r--r--dev-python/commonmark/metadata.xml17
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/commonmark/Manifest b/dev-python/commonmark/Manifest
new file mode 100644
index 000000000000..427c25bd2837
--- /dev/null
+++ b/dev-python/commonmark/Manifest
@@ -0,0 +1,2 @@
+DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
+DIST commonmark-0.9.2.tar.gz 97077 BLAKE2B 29a013968e4c602ce31dd13e5e677e190ccf5bef71361258a4b3e9e9872b199bbf2d1d82a010b2b361152e7f8fab8865951ee46229397dd2b55145b2d4ea3f5b SHA512 8ceb69af4d68cdc6c7456ae6fe509af6f9f8fd07f74321e46cec1ac4a928967975c6ef78a2babcbbd18a9a368c3b84199e9c4bc68e53f8eb1844ce7c46c7cf7c
diff --git a/dev-python/commonmark/commonmark-0.9.1-r1.ebuild b/dev-python/commonmark/commonmark-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..8d2a58761210
--- /dev/null
+++ b/dev-python/commonmark/commonmark-0.9.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python parser for the CommonMark Markdown spec"
+HOMEPAGE="
+ https://pypi.org/project/commonmark/
+ https://github.com/readthedocs/commonmark.py/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ local -x PYTHONIOENCODING='utf8'
+ "${EPYTHON}" commonmark/tests/run_spec_tests.py || die
+}
+
+src_prepare() {
+ default
+ # Fix file collision with app-text/cmark, see bug #627034
+ sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \
+ setup.py || die
+}
+
+pkg_postinst() {
+ ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
+ ewarn "collision with app-text/cmark (see bug #627034)"
+}
diff --git a/dev-python/commonmark/commonmark-0.9.2.ebuild b/dev-python/commonmark/commonmark-0.9.2.ebuild
new file mode 100644
index 000000000000..3971a6ec4c05
--- /dev/null
+++ b/dev-python/commonmark/commonmark-0.9.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python parser for the CommonMark Markdown spec"
+HOMEPAGE="
+ https://pypi.org/project/commonmark/
+ https://github.com/readthedocs/commonmark.py/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ local -x PYTHONIOENCODING='utf8'
+ "${EPYTHON}" commonmark/tests/run_spec_tests.py || die
+}
+
+src_prepare() {
+ default
+ # Fix file collision with app-text/cmark, see bug #627034
+ sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \
+ setup.py || die
+}
+
+pkg_postinst() {
+ ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
+ ewarn "collision with app-text/cmark (see bug #627034)"
+}
diff --git a/dev-python/commonmark/metadata.xml b/dev-python/commonmark/metadata.xml
new file mode 100644
index 000000000000..113b254e9e37
--- /dev/null
+++ b/dev-python/commonmark/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Pure Python port of jgm’s commonmark.js, a Markdown parser and
+ renderer for the CommonMark specification, using only native
+ modules. Once both this project and the CommonMark specification
+ are stable we will release the first 1.0 version and attempt to
+ keep up to date with changes in commonmark.js.
+ </longdescription>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>