Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx_ansible_theme/
Date: Mon, 14 Jun 2021 12:39:15
Message-Id: 1623674323.d82f7365821923e3b862343fb6b26489694f8b45.marecki@gentoo
1 commit: d82f7365821923e3b862343fb6b26489694f8b45
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 09:15:24 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 12:38:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82f7365
7
8 dev-python/sphinx_ansible_theme: initial import
9
10 Seems like it should work with CPython 3.10 but since upstream has not
11 officially declared that version as supported yet, the package has got
12 no test suite and the only revdep I know of (Ansible Molecule) depends
13 on several packages which do not support 3.10 yet, let's play it safe.
14
15 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
16
17 dev-python/sphinx_ansible_theme/Manifest | 1 +
18 dev-python/sphinx_ansible_theme/metadata.xml | 13 +++++++++++++
19 .../sphinx_ansible_theme-0.6.0.ebuild | 20 ++++++++++++++++++++
20 3 files changed, 34 insertions(+)
21
22 diff --git a/dev-python/sphinx_ansible_theme/Manifest b/dev-python/sphinx_ansible_theme/Manifest
23 new file mode 100644
24 index 00000000000..8dea597c4b1
25 --- /dev/null
26 +++ b/dev-python/sphinx_ansible_theme/Manifest
27 @@ -0,0 +1 @@
28 +DIST sphinx_ansible_theme-0.6.0.tar.gz 37606 BLAKE2B 3b27d15133e167602ce9515fb630ed9ecb0b0d346450417900e616476fa80aa216c033741121f82289d9e5bf977e01395663e5f61c4682576e8b773c17af2723 SHA512 d134a9e6eab0cab8e60c251a69e7b3dfa2864e5e19d65ce2e8b565a601e4b5255536f6b69ac17952ebd14929471a487200fc97c9c5e1f3f8232daf8e4ed63cef
29
30 diff --git a/dev-python/sphinx_ansible_theme/metadata.xml b/dev-python/sphinx_ansible_theme/metadata.xml
31 new file mode 100644
32 index 00000000000..0fb92487256
33 --- /dev/null
34 +++ b/dev-python/sphinx_ansible_theme/metadata.xml
35 @@ -0,0 +1,13 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>marecki@g.o</email>
41 + <name>Marek Szuba</name>
42 + </maintainer>
43 + <stabilize-allarches/>
44 + <upstream>
45 + <remote-id type="github">ansible-community/sphinx_ansible_theme</remote-id>
46 + <remote-id type="pypi">sphinx-ansible-theme</remote-id>
47 + </upstream>
48 +</pkgmetadata>
49
50 diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.6.0.ebuild b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.6.0.ebuild
51 new file mode 100644
52 index 00000000000..8b7f8535d30
53 --- /dev/null
54 +++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.6.0.ebuild
55 @@ -0,0 +1,20 @@
56 +# Copyright 1999-2021 Gentoo Authors
57 +# Distributed under the terms of the GNU General Public License v2
58 +
59 +EAPI=7
60 +
61 +PYTHON_COMPAT=( python3_{8..9} )
62 +
63 +inherit distutils-r1
64 +
65 +DESCRIPTION="A reusable Ansible Sphinx theme"
66 +HOMEPAGE="https://github.com/ansible-community/sphinx_ansible_theme"
67 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
68 +
69 +LICENSE="MIT"
70 +SLOT="0"
71 +KEYWORDS="~amd64"
72 +
73 +RDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
74 +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]
75 + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]"