dev-python/mkdocs-rss-plugin: add 1.12.1, drop 1.11.0

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2024-03-10 18:43:26 +01:00
parent f7edeb6a2e
commit e4625dcdc6
2 changed files with 31 additions and 16 deletions

View File

@@ -1 +1 @@
DIST mkdocs-rss-plugin-1.11.0.gh.tar.gz 497347 BLAKE2B 25a1f90bc263804dcb4bb08aee7f58a8b999f5cb7004f7ba3215e90cba3f74611ab8101f19d34df10a833312a06a6fae3ab23a2578dd5ef3f6cc61d9b9ac3a9d SHA512 670b51f350ddca64e8637c910075aa1e84ae6950861cf4d84726b47df59bf7e701fc4e556153e337e753128a6233c1f21decee657c14a069be3494a220526acc
DIST mkdocs-rss-plugin-1.12.1.gh.tar.gz 551494 BLAKE2B 37259e3207deb6bc8e231abd402fd962abcf81eb063b21751f4de89eeb0f9d300a53988e41a0461540214b046c9c72dd9e23e62548d8d19fbcc8aeaae09f88ab SHA512 ed1a8a25df800c6ab9632194c985c6bbbd5b43f0eb46c4bf39f9715e6f8a7264e8b0f80bb54acadddc17b7236ed44b93f69b8c04db58b16eb0a582f3be7b81f3

View File

@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,19 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="
dev-python/termynal
dev-python/mkdocstrings
dev-python/mkdocstrings-python
dev-python/mkdocs-material
dev-python/mkdocs-minify-plugin
dev-python/mkdocs-git-committers-plugin
dev-python/mkdocs-git-revision-date-localized-plugin
"
DOCS_INITIALIZE_GIT=1
inherit distutils-r1 docs
DESCRIPTION="MkDocs plugin to generate a RSS feeds."
HOMEPAGE="https://github.com/Guts/mkdocs-rss-plugin https://pypi.org/project/mkdocs-rss-plugin"
@@ -15,21 +27,25 @@ SRC_URI="https://github.com/Guts/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.g
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="doc? ( network-sandbox )"
BDEPEND="
dev-python/mkdocs[${PYTHON_USEDEP}]
dev-python/GitPython[${PYTHON_USEDEP}]
>=dev-python/GitPython-3.1[${PYTHON_USEDEP}]
<dev-python/GitPython-3.2[${PYTHON_USEDEP}]
>=dev-python/mkdocs-1.4[${PYTHON_USEDEP}]
<dev-python/mkdocs-2[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP},truetype]
test? (
dev-python/black[${PYTHON_USEDEP}]
dev-python/feedparser[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-vcs/pre-commit
dev-python/validator-collection[${PYTHON_USEDEP}]
dev-python/mkdocs-bootswatch[${PYTHON_USEDEP}]
dev-python/mkdocs-material[${PYTHON_USEDEP}]
dev-python/mkdocs-minify-plugin[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pymdown-extensions[${PYTHON_USEDEP}]
dev-python/validator-collection[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/validator-collection[${PYTHON_USEDEP}]
dev-python/jsonfeed[${PYTHON_USEDEP}]
)
doc? (
dev-python/mkdocs-material[${PYTHON_USEDEP},social]
)
"
DEPEND="${BDEPEND}"
@@ -48,12 +64,11 @@ src_prepare() {
}
python_test() {
cd "${S}"
git init
git config --global user.name nobody || die
git config --global user.email foo.bar@example.org || die
mkdir "${S}/.git"
local EPYTEST_IGNORE="${S}/tests/_wip"
local EPYTEST_DESELECT=(
# Most tests need internet access
tests/test_build.py::TestBuildRss
tests/test_rss_util.py::TestRssUtil::test_remote_image_ok
tests/test_integrations_material_social_cards.py::TestRssPluginIntegrationsMaterialSocialCards::test_simple_build
)