public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Henri Gasc" <gasc@eurecom.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/mkdocs-rss-plugin/
Date: Sun, 10 Mar 2024 17:45:21 +0000 (UTC)	[thread overview]
Message-ID: <1710092627.e4625dcdc6e81af80f81a34bedef000fac994599.gasc@gentoo> (raw)

commit:     e4625dcdc6e81af80f81a34bedef000fac994599
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Mar 10 17:43:26 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sun Mar 10 17:43:47 2024 +0000
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 <gasc <AT> 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/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
 	)


             reply	other threads:[~2024-03-10 17:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-10 17:45 Henri Gasc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-31 22:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/mkdocs-rss-plugin/ Henri Gasc
2024-04-15  9:26 Julien Roy
2023-12-25 22:22 Henri Gasc
2023-03-12 17:37 Henri Gasc
2023-02-08 15:59 Henri Gasc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710092627.e4625dcdc6e81af80f81a34bedef000fac994599.gasc@gentoo \
    --to=gasc@eurecom.fr \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox