summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-17 08:28:02 +0000
committerSam James <sam@gentoo.org>2022-05-17 08:28:02 +0000
commitb582e35c2b27a52d9c5ff42ee469cab712a0ae91 (patch)
treee5edf9a1ff212fb0034768cdfe8fbfdb1daed0d1
parentgames-misc/usolitaire: PEP517 (diff)
downloadgentoo-b582e35c2b27a52d9c5ff42ee469cab712a0ae91.tar.gz
gentoo-b582e35c2b27a52d9c5ff42ee469cab712a0ae91.tar.bz2
gentoo-b582e35c2b27a52d9c5ff42ee469cab712a0ae91.zip
app-text/restview: add 3.0.0
Closes: https://bugs.gentoo.org/814401 Closes: https://bugs.gentoo.org/773151 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-text/restview/Manifest1
-rw-r--r--app-text/restview/metadata.xml9
-rw-r--r--app-text/restview/restview-3.0.0.ebuild24
3 files changed, 30 insertions, 4 deletions
diff --git a/app-text/restview/Manifest b/app-text/restview/Manifest
index 7e0fdf2ad557..48d6fc624641 100644
--- a/app-text/restview/Manifest
+++ b/app-text/restview/Manifest
@@ -1 +1,2 @@
DIST restview-2.9.2.tar.gz 47181 BLAKE2B 6812e39eb2f830cedacc359fe24988191fc6c7b46b4ddc7005e6e6ee3e52d6998b4b99687892842710154eb2bceb22dc161986f0c8f5f0d1910733226084b0b2 SHA512 4b8627248097368a06fba5dba8994d349b96e605ebde0965a9100c213d9c8bb9320e6ff33a93ce40d80a6b5f3150e4094e2824b5ef5b4757d1e3bd39399a8e0c
+DIST restview-3.0.0.tar.gz 49774 BLAKE2B 21a8a25964b995287ce8c584424eae8db5d6190ebf60a435a9af50a9995083fba61d5ccd1a06b1eb193590bc68219f98298a4773fab565bd711cca1eacd8149b SHA512 55b053f03964eb637245810894e970e16a3d1be4587e44802410afbb5c046921e7f3c07825e4f7889569d2f7a980f0a320835d0c2994bb5df0d66c3ebcffc797
diff --git a/app-text/restview/metadata.xml b/app-text/restview/metadata.xml
index 1ad1d969aa96..f8194520164f 100644
--- a/app-text/restview/metadata.xml
+++ b/app-text/restview/metadata.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="pypi">restview</remote-id>
- </upstream>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">mgedmin/restview</remote-id>
+ <remote-id type="pypi">restview</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-text/restview/restview-3.0.0.ebuild b/app-text/restview/restview-3.0.0.ebuild
new file mode 100644
index 000000000000..4a4a17059c90
--- /dev/null
+++ b/app-text/restview/restview-3.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="reStructuredText viewer"
+HOMEPAGE="https://mg.pov.lt/restview/ https://pypi.org/project/restview/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/readme_renderer[${PYTHON_USEDEP}]"
+
+DOCS=( README.rst CHANGES.rst )
+
+distutils_enable_tests pytest