dev-python/mkdocs-rss-plugin: treeclean

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2026-04-30 21:23:23 +05:00
parent d204fe9d1f
commit 64edd34e39
4 changed files with 0 additions and 98 deletions

View File

@@ -1,2 +0,0 @@
DIST mkdocs-rss-plugin-1.17.4.gh.tar.gz 564673 BLAKE2B e540d15e722c3465a724097a00ae07baf66d28e8511eb09a8ecb63b07d2f847e72cb3b294400711b05de6872cbf190493a4cf6357bcfd23c2acc86c53dae3a87 SHA512 9da1533279984df7ebfa52dd9ead758088eb1ece1871aa42be2f288a1f63d849215436d0cc550789deec490496414f5e9cbe0b00a2a7a8bb4d45114a8e3df0ee
DIST mkdocs-rss-plugin-cache-1.17.4.gh.tar.gz 3727935 BLAKE2B a36bfe703ac841e6a864e99fadf7e7c993f657c106dcb4ac641b46211085c6a16bbee8e97552a5933855fe8365f6927f2220925df682cc7784805e4be77b7cb2 SHA512 5be757bc9560620ba1d76e0ac8f719598b7fd5c310b1933593f9f5a692b8988bcfa63860d7b256c34d49dcb3ecca2d319e1ce21f1a035adae1f2f876091f5400

View File

@@ -1,13 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="pypi">mkdocs-rss-plugin</remote-id>
<remote-id type="github">Guts/mkdocs-rss-plugin</remote-id>
<doc>https://guts.github.io/mkdocs-rss-plugin/</doc>
</upstream>
</pkgmetadata>

View File

@@ -1,82 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
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"
SRC_URI="
https://github.com/Guts/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/henri-gasc/${PN}-cache/archive/refs/tags/${PV}.tar.gz -> ${PN}-cache-${PV}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# RESTRICT="doc? ( network-sandbox )"
BDEPEND="
>=dev-python/gitpython-3.1.43[${PYTHON_USEDEP}]
<dev-python/gitpython-3.2[${PYTHON_USEDEP}]
>=dev-python/mkdocs-1.6.1[${PYTHON_USEDEP}]
<dev-python/mkdocs-2[${PYTHON_USEDEP}]
>=dev-python/cachecontrol-0.14[${PYTHON_USEDEP}]
<dev-python/cachecontrol-1[${PYTHON_USEDEP}]
dev-python/filelock[${PYTHON_USEDEP}]
>=dev-python/requests-2.31[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
test? (
>=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}]
<dev-python/feedparser-6.1[${PYTHON_USEDEP}]
>=dev-python/jsonfeed-1.1.2[${PYTHON_USEDEP}]
<dev-python/jsonfeed-2[${PYTHON_USEDEP}]
>=dev-python/mkdocs-material-9.5.47[${PYTHON_USEDEP},social]
>=dev-python/validator-collection-1.5[${PYTHON_USEDEP}]
<dev-python/validator-collection-1.6[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
src_prepare() {
sed -i \
-e 's/--cov-config=setup.cfg//' \
-e 's/--cov=mkdocs_rss_plugin//' \
-e 's/--cov-report=html//' \
-e 's/--cov-report=term//' \
-e 's/--cov-report=xml//' \
"${S}/setup.cfg" || die
cp "${WORKDIR}/${PN}-cache-${PV}/.cache" -rt "${S}" || die
distutils-r1_src_prepare
}
python_test() {
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
tests/test_integrations_material_social_cards.py::TestRssPluginIntegrationsMaterialSocialCards::test_plugin_config_social_cards_enabled_with_directory_urls_disabled
)
epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
}

View File

@@ -77,7 +77,6 @@ media-sound/yewtube
dev-python/mkdocs-bootstrap-tables-plugin
dev-python/mkdocs-exclude
dev-python/mkdocs-git-committers-plugin
dev-python/mkdocs-rss-plugin
# Lucio Sauer <watermanpaint@posteo.net> (2026-02-10)
# The hyprland suite is moving to the unofficial 'hyproverlay' repository at