From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FB4F158092 for ; Mon, 6 Jun 2022 18:44:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CD24E086F; Mon, 6 Jun 2022 18:44:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21E25E086F for ; Mon, 6 Jun 2022 18:44:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18666341906 for ; Mon, 6 Jun 2022 18:44:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DD0C485 for ; Mon, 6 Jun 2022 18:44:37 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1654541066.08d25925520b4975f77b8b4f42e70817b5fc3d4b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymdown-extensions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymdown-extensions/Manifest dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild X-VCS-Directories: dev-python/pymdown-extensions/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 08d25925520b4975f77b8b4f42e70817b5fc3d4b X-VCS-Branch: master Date: Mon, 6 Jun 2022 18:44:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5d9534c-ee9c-4465-9246-e9e2d0122ec4 X-Archives-Hash: 2e01b8c7a65d4e3aa6e3da6cf7b06ed7 commit: 08d25925520b4975f77b8b4f42e70817b5fc3d4b Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jun 6 18:23:57 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jun 6 18:44:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d25925 dev-python/pymdown-extensions: add 9.5 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pymdown-extensions/Manifest | 1 + .../pymdown-extensions-9.5.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 3bbc889ba39c..313934d2b917 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1 +1,2 @@ DIST pymdown-extensions-9.4.gh.tar.gz 1009043 BLAKE2B af5d5af52861b80e859ec11444915613d752cc60ba7a1f179d5dbd242837c4fd5d5ad3d3e66a583c53567fe4feab4a6fbf3f5a96032e57c24185affcd98b0f52 SHA512 8b7b9dcb0d61a63eac1477cb8dbd0917c8e4dd35b98298b6d15ee744fd184747364f5e70de0cfe7959223df77e604f5d195d0d305932e1176c351a1fe1a036cb +DIST pymdown-extensions-9.5.gh.tar.gz 1004601 BLAKE2B 8950ca104edf476e5557eab1effd9ad4e879f2ef58823e1385b5ee000e704b260b20f758578021d4c03492e675027f079363da49429938221fb1c109c9e1fe2d SHA512 b640947b97be4f7592b86125c7de0f36c34052e77103f7d16818b8fc2794cc28d3b7baef84d99434ca1b2810fbe19bc2fc0d2430b8504425cca71677d9c8753c diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild new file mode 100644 index 000000000000..93c979c06ae4 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pymdown-lexers + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" +SRC_URI=" + https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +}