[gentoo-commits] repo/proj/guru:master commit in: dev-python/mkdocs-rss-plugin/

2024-06-01 Thread Julien Roy
commit: 82e7ad1702ed61e96a925507c3c96a35e783a67a
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri May 31 22:02:52 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Fri May 31 22:16:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82e7ad17

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

Closes: https://bugs.gentoo.org/928256
Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/mkdocs-rss-plugin/Manifest  |  3 ++-
 ...ss-plugin-1.12.1.ebuild => mkdocs-rss-plugin-1.12.2.ebuild} | 10 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-python/mkdocs-rss-plugin/Manifest 
b/dev-python/mkdocs-rss-plugin/Manifest
index 3664e9ba1..8cbc4086f 100644
--- a/dev-python/mkdocs-rss-plugin/Manifest
+++ b/dev-python/mkdocs-rss-plugin/Manifest
@@ -1 +1,2 @@
-DIST mkdocs-rss-plugin-1.12.1.gh.tar.gz 551494 BLAKE2B 
37259e3207deb6bc8e231abd402fd962abcf81eb063b21751f4de89eeb0f9d300a53988e41a0461540214b046c9c72dd9e23e62548d8d19fbcc8aeaae09f88ab
 SHA512 
ed1a8a25df800c6ab9632194c985c6bbbd5b43f0eb46c4bf39f9715e6f8a7264e8b0f80bb54acadddc17b7236ed44b93f69b8c04db58b16eb0a582f3be7b81f3
+DIST mkdocs-rss-plugin-1.12.2.gh.tar.gz 552019 BLAKE2B 
fc88dba9b81d351227606d5f0e255affa120d36e53fcbd0800c188380dbecc52b6638c6efb969e279d960c3246e6e503dc6abd2b8ea3ad54d0aeaf90ffcbf30d
 SHA512 
537ca5e31860ab0164b6ef8bd1f20962064c6e31983e0e1d4be4a2176cdd00884d4862b7a2c9666f56aa194ea63ddb8fa462fb9e8df755c8c9d555a89b7b9909
+DIST mkdocs-rss-plugin-cache-1.12.2.gh.tar.gz 3913335 BLAKE2B 
0c11a0cf29599335f24d935798393acfb9bec27a278f8c5be4ae7279ad6ab588b50daed2aa377fe48435798c41ae290b273a5bae94547cc5b162aba54aa649c7
 SHA512 
eba19c77f0c0f1052b86a4eb7910aeffbd68e86184b80d35a768c568cbc1178a4f9180746905041defcf3b9707197d8938ab3edf6ce7832abc37d40fa00d

diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild 
b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.2.ebuild
similarity index 85%
rename from dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild
rename to dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.2.ebuild
index a07f1ea7c..02e5e9cef 100644
--- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild
+++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
@@ -22,12 +22,15 @@ 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/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+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 )"
+# RESTRICT="doc? ( network-sandbox )"
 
 BDEPEND="
>=dev-python/GitPython-3.1[${PYTHON_USEDEP}]
@@ -60,6 +63,7 @@ src_prepare() {
-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
 }
 



[gentoo-commits] repo/proj/guru:master commit in: dev-python/mkdocs-rss-plugin/

2024-03-10 Thread Haelwenn Monnier
commit: e4625dcdc6e81af80f81a34bedef000fac994599
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sun Mar 10 17:43:26 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sun Mar 10 17:43:47 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4625dcd

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

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/mkdocs-rss-plugin/Manifest  |  2 +-
 ...11.0.ebuild => mkdocs-rss-plugin-1.12.1.ebuild} | 45 ++
 2 files changed, 31 insertions(+), 16 deletions(-)

diff --git a/dev-python/mkdocs-rss-plugin/Manifest 
b/dev-python/mkdocs-rss-plugin/Manifest
index ef2575b1be..3664e9ba16 100644
--- a/dev-python/mkdocs-rss-plugin/Manifest
+++ b/dev-python/mkdocs-rss-plugin/Manifest
@@ -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

diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild 
b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild
similarity index 58%
rename from dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild
rename to dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild
index c649e688f1..90744e993c 100644
--- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild
+++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild
@@ -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/mkdocs-1.4[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/proj/guru:master commit in: dev-python/mkdocs-rss-plugin/

2023-12-27 Thread David Roman
commit: 45b4807477f7575cc91efefa09a03fd5f9c9c58d
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Dec 25 22:21:22 2023 +
Commit: David Roman  gmail  com>
CommitDate: Mon Dec 25 22:21:22 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45b48074

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

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/mkdocs-rss-plugin/Manifest| 2 +-
 ...s-rss-plugin-1.6.0.ebuild => mkdocs-rss-plugin-1.11.0.ebuild} | 9 +++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/mkdocs-rss-plugin/Manifest 
b/dev-python/mkdocs-rss-plugin/Manifest
index 72294a5a89..ef2575b1be 100644
--- a/dev-python/mkdocs-rss-plugin/Manifest
+++ b/dev-python/mkdocs-rss-plugin/Manifest
@@ -1 +1 @@
-DIST mkdocs-rss-plugin-1.6.0.gh.tar.gz 40747 BLAKE2B 
b10b65dc28a7c72b7f4ba6b2a9b866640dad196522724de510629183c71c80ab7fd3de66cca9fc06373b08b0ab2434248b8b2cf7d82ee12c06e94f73e61d0124
 SHA512 
b3f7a4037eddd0c9bd98448026d82407ba7042c4b4c33bbfa1932e516cdd54c26bc326030e4dc30e92d7e8f8aea3bdc83969f57f17d7e8668547d92c57ff714b
+DIST mkdocs-rss-plugin-1.11.0.gh.tar.gz 497347 BLAKE2B 
25a1f90bc263804dcb4bb08aee7f58a8b999f5cb7004f7ba3215e90cba3f74611ab8101f19d34df10a833312a06a6fae3ab23a2578dd5ef3f6cc61d9b9ac3a9d
 SHA512 
670b51f350ddca64e8637c910075aa1e84ae6950861cf4d84726b47df59bf7e701fc4e556153e337e753128a6233c1f21decee657c14a069be3494a220526acc

diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild 
b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild
similarity index 81%
rename from dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild
rename to dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild
index 87050fd620..c649e688f1 100644
--- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild
+++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1
 
@@ -22,9 +22,11 @@ BDEPEND="
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}]
@@ -51,6 +53,9 @@ python_test() {
git config --global user.name nobody || die
git config --global user.email foo@example.org || die
local EPYTEST_IGNORE="${S}/tests/_wip"
-   local 
EPYTEST_DESELECT="tests/test_rss_util.py::TestRssUtil::test_remote_image_ok"
+   local EPYTEST_DESELECT=(
+   tests/test_rss_util.py::TestRssUtil::test_remote_image_ok
+   
tests/test_integrations_material_social_cards.py::TestRssPluginIntegrationsMaterialSocialCards::test_simple_build
+   )
epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:master commit in: dev-python/mkdocs-rss-plugin/

2023-03-13 Thread Viorel Munteanu
commit: 1a7c0332ef7ed5278cc7f69d6ed5bacfec3bda8c
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sat Mar 11 12:10:32 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Mar 12 17:37:42 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a7c0332

dev-python/mkdocs-rss-plugin:

Update atom, allow tests

Closes: https://bugs.gentoo.org/894298
Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/mkdocs-rss-plugin/Manifest  |  2 +-
 .../mkdocs-rss-plugin-1.5.0.ebuild | 43 -
 .../mkdocs-rss-plugin-1.6.0.ebuild | 56 ++
 3 files changed, 57 insertions(+), 44 deletions(-)

diff --git a/dev-python/mkdocs-rss-plugin/Manifest 
b/dev-python/mkdocs-rss-plugin/Manifest
index 4ba441bac..72294a5a8 100644
--- a/dev-python/mkdocs-rss-plugin/Manifest
+++ b/dev-python/mkdocs-rss-plugin/Manifest
@@ -1 +1 @@
-DIST mkdocs-rss-plugin-1.5.0.gh.tar.gz 39301 BLAKE2B 
8d92ee030115b3d8ea589509a9558d61d72bfa4abd55b3451262928df8a63c9ed0399c2cd883a8d070c15241396cffcd96fd953a6b8e781b0d922d287b950886
 SHA512 
1ed861bca8feaab869c1e88a0533110a7b617b7a5bd68b6ea4b454975c56fee1aaa118d65abf8e8c03d41ff5b367f9561dee08cdffbcf7bfffa7268306c3f4b8
+DIST mkdocs-rss-plugin-1.6.0.gh.tar.gz 40747 BLAKE2B 
b10b65dc28a7c72b7f4ba6b2a9b866640dad196522724de510629183c71c80ab7fd3de66cca9fc06373b08b0ab2434248b8b2cf7d82ee12c06e94f73e61d0124
 SHA512 
b3f7a4037eddd0c9bd98448026d82407ba7042c4b4c33bbfa1932e516cdd54c26bc326030e4dc30e92d7e8f8aea3bdc83969f57f17d7e8668547d92c57ff714b

diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.5.0.ebuild 
b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.5.0.ebuild
deleted file mode 100644
index ad0721f47..0
--- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.5.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1
-
-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/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc"
-
-RDEPEND=""
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/mkdocs[${PYTHON_USEDEP}]
-   dev-python/GitPython[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/mkdocs-bootswatch[${PYTHON_USEDEP}]
-   dev-python/mkdocs-minify-plugin[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/pymdown-extensions[${PYTHON_USEDEP}]
-   )
-"
-DEPEND="${BDEPEND}"
-
-# No test because of upstream bug
-# BDEPEND+="
-#  test? (
-#  dev-python/black[${PYTHON_USEDEP}]
-#  dev-python/feedparser[${PYTHON_USEDEP}]
-#  dev-python/flake8[${PYTHON_USEDEP}]
-#  dev-vcs/pre-commit
-#  dev-python/pytest-cov[${PYTHON_USEDEP}]
-#  )"
-# distutils_enable_tests pytest

diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild 
b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild
new file mode 100644
index 0..87050fd62
--- /dev/null
+++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.6.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_10 )
+
+inherit distutils-r1
+
+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/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+   dev-python/mkdocs[${PYTHON_USEDEP}]
+   dev-python/GitPython[${PYTHON_USEDEP}]
+   test? (
+   dev-python/black[${PYTHON_USEDEP}]
+   dev-python/feedparser[${PYTHON_USEDEP}]
+   dev-vcs/pre-commit
+   dev-python/validator-collection[${PYTHON_USEDEP}]
+   dev-python/mkdocs-bootswatch[${PYTHON_USEDEP}]
+   dev-python/mkdocs-minify-plugin[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/pymdown-extensions[${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
+   distutils-r1_src_prepare
+}
+
+python_test() {
+