summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-16 20:35:27 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-16 21:19:39 +0200
commit3f8b4c8b1d8cbd953f5b8cf03e536e7c8e4d3bed (patch)
tree5b6bcadfbe3e5ca572d7aaa11b55480e7250f3d8 /dev-python/markdown
parentdev-python/griffe: Bump to 1.0.0 (diff)
downloadgentoo-3f8b4c8b1d8cbd953f5b8cf03e536e7c8e4d3bed.tar.gz
gentoo-3f8b4c8b1d8cbd953f5b8cf03e536e7c8e4d3bed.tar.bz2
gentoo-3f8b4c8b1d8cbd953f5b8cf03e536e7c8e4d3bed.zip
dev-python/markdown: Bump to 3.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/markdown')
-rw-r--r--dev-python/markdown/Manifest1
-rw-r--r--dev-python/markdown/markdown-3.7.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest
index dcb3b8d1fe19..c16c88f81b68 100644
--- a/dev-python/markdown/Manifest
+++ b/dev-python/markdown/Manifest
@@ -1 +1,2 @@
DIST Markdown-3.6.tar.gz 354715 BLAKE2B bd8cb489fb20c0d8416361c435113a6057ced5f4baceba8665e1afc70efcbd6a52153785a436c94ff9d68571d668b7898c6717851b10814d89e46e2b9daba3e7 SHA512 a523f75ea72fa71f4f0f1a59523bb1a6c5c7605ba5a0be4dc37aa5bd5c87e32563f5253404485c99c13caa27501c9003aea524154a7999a22e6497829492b997
+DIST markdown-3.7.tar.gz 357086 BLAKE2B 6b022c247d499939d1c8daffd947b788645ccbe25ad861b60dd5906bc762b1ab50f09d48edc829bc7ed6f2598398e6bce3a7cd177ca899159744ea4c54b8bb2e SHA512 9152ae942dfe5c93f29d4f083d7b04fa86f042a816b7a1360f6088cd5ea0fc730e14915a8fc48f6d36f74bc311ddc35dbfe1f78ef85779f285aa35a1e56caae1
diff --git a/dev-python/markdown/markdown-3.7.ebuild b/dev-python/markdown/markdown-3.7.ebuild
new file mode 100644
index 000000000000..44f392be6135
--- /dev/null
+++ b/dev-python/markdown/markdown-3.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python implementation of the markdown markup language"
+HOMEPAGE="
+ https://python-markdown.github.io/
+ https://pypi.org/project/Markdown/
+ https://github.com/Python-Markdown/markdown/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="doc"
+
+BDEPEND="
+ test? (
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pytidylib[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ use doc && dodoc -r docs/
+
+ distutils-r1_python_install_all
+}