summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-07 06:02:47 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-07 06:43:02 +0200
commita196226df25639e512ab88ab5375941dd11c241d (patch)
tree23417b5bde330714de2c6e72a77e58431ba69858 /dev-python
parentdev-python/pycares: Bump to 4.4.0 (diff)
downloadgentoo-a196226df25639e512ab88ab5375941dd11c241d.tar.gz
gentoo-a196226df25639e512ab88ab5375941dd11c241d.tar.bz2
gentoo-a196226df25639e512ab88ab5375941dd11c241d.zip
dev-python/markdown: Bump to 3.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/markdown/Manifest1
-rw-r--r--dev-python/markdown/markdown-3.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest
index 5ba188677887..626c1a08729e 100644
--- a/dev-python/markdown/Manifest
+++ b/dev-python/markdown/Manifest
@@ -1 +1,2 @@
DIST Markdown-3.4.4.tar.gz 324459 BLAKE2B 3ff05a2c8e51905f16b0cb8cda51c65e47c9d02091487fe48edf7a8ab4a73003c3469f1ce9e80f0ca6d73a30d1f22d4b6fbc1c52c34506951376aa899938665e SHA512 39e808d5a4a07b57e931a844c3d8f6fe564849f8b5922eef6708e5a600cf7e742d92617d9d9649cab0eab34a6ffc7bc97e9ea960ffef75e9062aa375769e6a28
+DIST Markdown-3.5.tar.gz 348161 BLAKE2B b7a639f9da5d5278fd3e4b023f25f435ee526fd9b7314c546a72903efbfab00de5f6df6718899df3269337bb52cc78de2793c44967ab13164d9878868d5ddf45 SHA512 309b6161bbfdc71a8e62b2ea299febb765bafe2e4123198a72038ae587cbba0ca00cdb3b514ecb5cd8117425f2031fa0260bd52fac7de158e12253edbc185422
diff --git a/dev-python/markdown/markdown-3.5.ebuild b/dev-python/markdown/markdown-3.5.ebuild
new file mode 100644
index 000000000000..dfb46050bef0
--- /dev/null
+++ b/dev-python/markdown/markdown-3.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( python3_{10..12} 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
+}