commit: 83469e472ba2a450278f76f65f6a977527aab92e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 03:29:45 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 24 04:03:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83469e47
dev-python/sphinx-notfound-page: Bump to 1.0.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx-notfound-page/Manifest | 1 +
.../sphinx-notfound-page-1.0.2.ebuild | 35 ++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-python/sphinx-notfound-page/Manifest
b/dev-python/sphinx-notfound-page/Manifest
index e9ee7ab3a724..94a0f5c3a6b3 100644
--- a/dev-python/sphinx-notfound-page/Manifest
+++ b/dev-python/sphinx-notfound-page/Manifest
@@ -1,2 +1,3 @@
DIST sphinx-notfound-page-1.0.0.gh.tar.gz 543729 BLAKE2B
87da323277a38b20d43fa23e67528fee9530a243aa557a2be279a4a6877ac18bc36546beba0c6cc4ff598410d4be3a4337c7508005064df52867dca2675c8a3d
SHA512
e9d235fb0461ee9f349a57d37caeaf4cb4ec5faab7e731067e69467bf0990d5c5ce31d024fe2ac531fb84f49a4e2e74092ce09d5977135c759669523fc59ab4e
DIST sphinx-notfound-page-1.0.1.gh.tar.gz 543803 BLAKE2B
e1d7c568a0d7bfdde3cde397424d8e5e00291ec442278613bcc9dcf1fdd372ad3483e9e0fd23e9e9dd2bcdbfe4ec33c6ddfbd21705ee73743820b2e46b3f6718
SHA512
464373abf7b9d1025a339eb83305800866f0b8bfc53fbc1d320637c4be9016aa36daf2f22a9ed47224db0f64d5c3236a35b291681a56e9f2f7a2b6aec96a40a2
+DIST sphinx-notfound-page-1.0.2.gh.tar.gz 543984 BLAKE2B
a6a7a1f157c9500618c296152f44a441db9bf4198e196e5be5c71444e05f2623457d0807103dcc55d08c869afb0d35b719dc73f7f43e57f08a025aa08a4f42b1
SHA512
faa6c2cf59dcb3ab90e00176f1f9480ad8f5ff07e76dfd49a17985e638ea05329faaffa15f64d5c7cedc37028d0beeee9de10927429eb85d5b0bb1397d6bd14e
diff --git a/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.0.2.ebuild
b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.0.2.ebuild
new file mode 100644
index 000000000000..d7552cfa7cd8
--- /dev/null
+++ b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Create a custom 404 page with absolute URLs hardcoded"
+HOMEPAGE="
+ https://sphinx-notfound-page.readthedocs.io/
+ https://github.com/readthedocs/sphinx-notfound-page/
+ https://pypi.org/project/sphinx-notfound-page/
+"
+SRC_URI="
+ https://github.com/readthedocs/sphinx-notfound-page/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc
~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/sphinx-5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # calls sphinx-build directly, works around venv
+ tests/test_urls.py::test_parallel_build
+)