mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -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-8.0.1.tar.gz 642787 BLAKE2B fe25fd828633bb1a653430431de9fd2f9abc881ff457d2c630befd7c094a147f4d4883088488a66c601190794c15fdfb8297a3252ba3b070412b2f18872f6126 SHA512 3f85bfe9128dcdc63cea4c2eb4d55173d697ae9d112559a74527ed64b3bd63f67eee119b81a54d0ac927bc21b6eb8411c03dc7afc77673739a81772c10ebe62a
|
||||
DIST pymdown-extensions-8.1.1.tar.gz 650451 BLAKE2B d72b4ff60747a5f2142b778d75ba438757f35e1bb45d1cf005c9ec7b187b8c6aa1e890ca1bf01b3a202dfd38c8f813c928041870a30bb2e0fc035e2a5ff9809e SHA512 a1472858b6afeb9b582cf97a4471e09e25dddcb0504d58f8aa703802fe0c075a0af2fa8e1895f02b48b5959297c37cd1feee789741d93a1739f9d19c3341b108
|
||||
DIST pymdown-extensions-8.2.tar.gz 766818 BLAKE2B db14bcb0e7bf572e97c6dc7d7ebb00780ce081f9006a0d067c98c369433c147e42b93eab0dfaddfed6f93030ab32f0ae1c7c0ac3c08a1f7f07fee15a1be1a398 SHA512 220465b2a2d0f9563c119dae61d2527207a4f3a1d24ea1b1585997c9c23c4a7c0bbc23b4dc7c551e533ac3af20c7852cb7b8cce6dd3908844aafcd801d20e14d
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
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}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=dev-python/markdown-3.2[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="test? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Fails on whitspaces
|
||||
rm tests/test_syntax.py || die
|
||||
|
||||
# AssertionError: False is not true
|
||||
sed -i -e 's:test_no_pygments_linenums_custom_class:_&:' \
|
||||
tests/test_extensions/test_highlight.py || die
|
||||
|
||||
sed -i -e 's:test_default_override:_&:' \
|
||||
tests/test_extensions/test_superfences.py || die
|
||||
|
||||
sed -i -e 's:test_tabbed:_&:' \
|
||||
-e 's:test_tabbed_split:_&:' \
|
||||
tests/test_extensions/test_tabbed.py || die
|
||||
|
||||
# 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
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
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}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=dev-python/markdown-3.2[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pygments[${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
|
||||
}
|
||||
Reference in New Issue
Block a user