summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mkdocs-redirects')
-rw-r--r--dev-python/mkdocs-redirects/Manifest2
-rw-r--r--dev-python/mkdocs-redirects/metadata.xml2
-rw-r--r--dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3-r1.ebuild (renamed from dev-python/mkdocs-redirects/mkdocs-redirects-1.0.1.ebuild)18
-rw-r--r--dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3.ebuild4
4 files changed, 18 insertions, 8 deletions
diff --git a/dev-python/mkdocs-redirects/Manifest b/dev-python/mkdocs-redirects/Manifest
index 6416987b220..195ce2cb163 100644
--- a/dev-python/mkdocs-redirects/Manifest
+++ b/dev-python/mkdocs-redirects/Manifest
@@ -1,2 +1,2 @@
-DIST mkdocs-redirects-1.0.1.tar.gz 5772 BLAKE2B e48a35b18690c040efcca2e3e6a97650a3f951b89d537537b54b297e61c590099c6891dd1d64f21dd4efcc4a20d3d709a2815280c2846324f9f57b5a953a31bb SHA512 e3eb31ce920aceab2e4c93988853fc0e63ba789db229ac798791061b26252416c5c68b2c221f82e3a08ce7522e6b2aa58ca606b9a31653f782e31c415861f7d0
+DIST mkdocs-redirects-1.0.3.gh.tar.gz 6395 BLAKE2B 6e6b319cacd5039550755b1796d09c5377b65174b9e0f2dab7e47b37626bfdeda4f9c52ecc7eb3adeec31f4c28c408bcbc4f8461b16c8f02cfb60bdf929d776a SHA512 7977e92e1e8e29a7ef3f3644060d1d872bb67c2386d1880799b95e7d505834ff629bf70824301972f10af39ad8c60e8813f28ca3165ddb9b150af359bce361c9
DIST mkdocs-redirects-1.0.3.tar.gz 5148 BLAKE2B 438e2751b4570e8347b06a67d86b0afbb99c9204cb0732719e3301d09ac70f268b0302dc9876d7dbb11f24a3dd4a6eba94c3fb3c765c21e934d72442a1ea37b2 SHA512 c33837473211e9ad13da23789f23242182c4f07fe662b448c17d3976f8eb6ee9acdd69ecb7836c025471862c3ff27c8e3bf9a7178596ec8abd940912d48ae9a7
diff --git a/dev-python/mkdocs-redirects/metadata.xml b/dev-python/mkdocs-redirects/metadata.xml
index 2e442c4d3a0..d0c823bedf0 100644
--- a/dev-python/mkdocs-redirects/metadata.xml
+++ b/dev-python/mkdocs-redirects/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
diff --git a/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.1.ebuild b/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3-r1.ebuild
index f71bc6d9521..385cc47db4f 100644
--- a/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.1.ebuild
+++ b/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3-r1.ebuild
@@ -1,24 +1,34 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
+# Upstream forgot to tag the release, and no tests on pypi tarball
+COMMIT="07ef89796ec97be3c6ea2681441992d5d4bfa87b"
+
DESCRIPTION="Plugin for Mkdocs page redirects"
HOMEPAGE="
https://github.com/datarobot/mkdocs-redirects
https://pypi.org/project/mkdocs-redirects/
"
-SRC_URI="https://github.com/datarobot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/datarobot/mkdocs-redirects/archive/${COMMIT}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
RDEPEND="
>=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
dev-python/twine[${PYTHON_USEDEP}]
"
+
+distutils_enable_tests pytest
diff --git a/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3.ebuild b/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3.ebuild
index 5bf26ec6b06..12bff0dd690 100644
--- a/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3.ebuild
+++ b/dev-python/mkdocs-redirects/mkdocs-redirects-1.0.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
RDEPEND="
>=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}]