commit:     57e90927f45d60fc11553b375ef78e498010b902
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 17:59:56 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 17:59:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e90927

dev-python/markdown: add 3.4

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/markdown/Manifest            |  1 +
 dev-python/markdown/markdown-3.4.ebuild | 40 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest
index 04cfe029ba61..6e147c912a8d 100644
--- a/dev-python/markdown/Manifest
+++ b/dev-python/markdown/Manifest
@@ -1 +1,2 @@
 DIST Markdown-3.3.7.tar.gz 324130 BLAKE2B 
4ecf804b81181a9895e15d2f54881544648939f2bb772b036aa84dc8bf57b7976c6ebdf8549041b39a303bd7c68c16df3c126463a8da19b3c92f99b420e9ffb9
 SHA512 
39b9f45939be9e842e90470307c3aeec88d1389439b0c7a0c5b39f6e203b51d3a52ce431c4d5c278f399552c4218fc1a619b0efc56883de50a9f300f42120f4e
+DIST Markdown-3.4.tar.gz 322529 BLAKE2B 
db7d5a6f9c6e60916756d208b90ad5134349df83f2cf720ec23421de3e48cae4cc812b73423f1e1731b643642560697295499955dc3c40846efe40e23e3a9f43
 SHA512 
5ef87d89518a758009ec0d52ce1141b48777088e82c8dc4862d2b388f9a6b82ebaf66a7382342303076c8f71ca7afe5c79133f33b23dced5eb21ddcd8bdaa426

diff --git a/dev-python/markdown/markdown-3.4.ebuild 
b/dev-python/markdown/markdown-3.4.ebuild
new file mode 100644
index 000000000000..80d3ecb64f9a
--- /dev/null
+++ b/dev-python/markdown/markdown-3.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+inherit distutils-r1
+
+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";
+SRC_URI="mirror://pypi/M/${PN^}/${P^}.tar.gz"
+S="${WORKDIR}/${P^}"
+
+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"
+
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/importlib_metadata[${PYTHON_USEDEP}]
+       ' 3.8 3.9)"
+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
+}

Reply via email to