mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -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-9.9.1.gh.tar.gz 1017213 BLAKE2B ba445aa93f044a0df91f99c362bbef0dbdc15c4edfa18e938c8e55398c4b8844a1124d48c36789a7b190350701ce685c7b6a6c04bb220ad1255417ca1526b60c SHA512 082cb6ed83f48495a01269be613a77f6fce75e297c136d1b17edd07cbdd11e7ed148b6a3a8d90c8bcfe62ce89e260762e0bdccc7e68c53f233c68a3e00b21bc5
|
||||
DIST pymdown-extensions-9.9.2.gh.tar.gz 1017219 BLAKE2B d41f0863654c3d4aa6a947f5fef9d0029368e4a990f48a6997ecd1a0196a6b70198a698a22bfe536217bc001b4d21b69b2d5e3b479616825787648ef33ad1a9b SHA512 7f89f527f4d28ee31bf74dfd2343509592d287e1196e8a5045bbeaa5f2a038defc36e5b52ed53064f6cc797534032ed7a9e733070ff68db099e41614b07e417c
|
||||
DIST pymdown-extensions-9.9.gh.tar.gz 1013192 BLAKE2B 51b9baf40f8a40f3553529f0670a895d141b3b92c2b5a66b215e8551246c20ba7b96891714b2012a005056b1534d72bb0cc644cc719b230ae1f3bb03e2258203 SHA512 000ca793d891abdbeac3c9902c25d842d5ed2c209a0e32deb5cdab41f2019dc85e0be41abdbecc369b4def1291d30e4bf9a71e86d522f45d629423b4d42c6d8b
|
||||
|
||||
@@ -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 ~ppc ~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}]
|
||||
)
|
||||
"
|
||||
|
||||
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/${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}]
|
||||
)
|
||||
"
|
||||
|
||||
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