Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/sphinxcontrib-restbuilder/
Date: Sat, 03 Jul 2021 23:55:53
Message-Id: 1625356545.90ffae5e70ff2b6192dbf4d46918022f6ccaf853.Alessandro-Barbieri@gentoo
1 commit: 90ffae5e70ff2b6192dbf4d46918022f6ccaf853
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Jul 3 21:44:19 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sat Jul 3 23:55:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=90ffae5e
7
8 dev-python/sphinxcontrib-restbuilder: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/sphinxcontrib-restbuilder/Manifest | 1 +
13 dev-python/sphinxcontrib-restbuilder/metadata.xml | 13 ++++++++++
14 .../sphinxcontrib-restbuilder-0.3.ebuild | 29 ++++++++++++++++++++++
15 3 files changed, 43 insertions(+)
16
17 diff --git a/dev-python/sphinxcontrib-restbuilder/Manifest b/dev-python/sphinxcontrib-restbuilder/Manifest
18 new file mode 100644
19 index 000000000..bde5235cd
20 --- /dev/null
21 +++ b/dev-python/sphinxcontrib-restbuilder/Manifest
22 @@ -0,0 +1 @@
23 +DIST sphinxcontrib-restbuilder-0.3.tar.gz 24926 BLAKE2B 885ec51030ef05c9bf528efc5ee8ac1552692d760854c750342947b599411a1d469aff577938286ef22de0e051450605e646b7b904dd69b513c9016ddbc8345c SHA512 0b94d05a2fed1f2203fea94cd3a525a62530ec1777d28d59f9232241dd6816eedf871d6a6f616f6f9ce2946a90143871be09d8cae75747b224a6032e284963ed
24
25 diff --git a/dev-python/sphinxcontrib-restbuilder/metadata.xml b/dev-python/sphinxcontrib-restbuilder/metadata.xml
26 new file mode 100644
27 index 000000000..b6ef8d6ec
28 --- /dev/null
29 +++ b/dev-python/sphinxcontrib-restbuilder/metadata.xml
30 @@ -0,0 +1,13 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>lssndrbarbieri@×××××.com</email>
36 + <name>Alessandro Barbieri</name>
37 + </maintainer>
38 + <upstream>
39 + <bugs-to>https://github.com/sphinx-contrib/restbuilder/issues</bugs-to>
40 + <remote-id type="github">sphinx-contrib/restbuilder</remote-id>
41 + <remote-id type="pypi">sphinxcontrib-restbuilder</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild b/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild
46 new file mode 100644
47 index 000000000..95458e825
48 --- /dev/null
49 +++ b/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild
50 @@ -0,0 +1,29 @@
51 +# Copyright 1999-2021 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
57 +
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files"
61 +HOMEPAGE="
62 + https://github.com/sphinx-contrib/restbuilder
63 + https://pypi.org/project/sphinxcontrib-restbuilder
64 +"
65 +SRC_URI="https://github.com/sphinx-contrib/restbuilder/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
66 +S="${WORKDIR}/${P/sphinxcontrib-/}"
67 +
68 +LICENSE="BSD"
69 +SLOT="0"
70 +KEYWORDS="~amd64"
71 +
72 +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
73 +
74 +distutils_enable_tests pytest
75 +
76 +python_install_all() {
77 + distutils-r1_python_install_all
78 + find "${ED}" -name '*.pth' -delete || die
79 +}