mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pymdown-extensions: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pymdown-extensions-10.0.1.gh.tar.gz 1063025 BLAKE2B 937273053918cbb8e0245ba38a78a93184a492e21846db60f675d015cc5f942bef5e7085136cc861aa4a6068096e23fdb5f212182d47f245ac6a45127b5ca2a2 SHA512 579aa70c21cffdc7d5ffd927bce071f40bc6ace040cbcb4d15d620a54b97eae2cee7afa049e9005dccc2081dac7db3ff7e2deb2c1c468cf27fe42a306b6e46ab
|
||||
DIST pymdown-extensions-10.0.gh.tar.gz 1062913 BLAKE2B a7f0da6ce416ece64ecf4340e9c0c0330858cc972924b7d646abfb2080b10814f81bf4f5ad42895e523edfb1bdb61e805cb66507780fdad04dad7ffa6e266c66 SHA512 660e903705fe379e6ed2c67ede21eea8a4d0e14731e036b556eaccc6a3ab76dce71e29d1581fbd822794d66382970fbc95ece9c2cd2f5854018a81a65e06239a
|
||||
DIST pymdown-extensions-9.11.gh.tar.gz 1062074 BLAKE2B d695fa946c264f7ce2da7731fd5ce5388152a2179830108a6b43f769144246c33118084b4b2fe1e45b4255e26dc91871be699043008f67d2f04c5e5396f9ad12 SHA512 7745f0da83e3ecab9ac16947662c7a4da31e9ed62c6c519457083e0e8075f386a10146f18edc59cb17dee383335bb303c109da2ab08501118a53ee7315b1095f
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..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
|
||||
"
|
||||
DOCS_INITIALIZE_GIT=1
|
||||
|
||||
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/pymdown-extensions/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile_all() {
|
||||
default
|
||||
# We need to do this manually instead of relying on docs_compile
|
||||
# https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446
|
||||
# https://bugs.gentoo.org/859637
|
||||
if use doc; then
|
||||
python -m mkdocs build || die "Failed to make docs"
|
||||
# Colliding files found by ecompress:
|
||||
rm site/sitemap.xml.gz || die
|
||||
HTML_DOCS=( "site/." )
|
||||
fi
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{9..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
|
||||
"
|
||||
DOCS_INITIALIZE_GIT=1
|
||||
|
||||
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/pymdown-extensions/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile_all() {
|
||||
default
|
||||
# We need to do this manually instead of relying on docs_compile
|
||||
# https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446
|
||||
# https://bugs.gentoo.org/859637
|
||||
if use doc; then
|
||||
python -m mkdocs build || die "Failed to make docs"
|
||||
# Colliding files found by ecompress:
|
||||
rm site/sitemap.xml.gz || die
|
||||
HTML_DOCS=( "site/." )
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user