Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-basic-ng/
Date: Thu, 02 Feb 2023 18:46:19
Message-Id: 1675363572.d25bc62d07da5f5ac4573c9b5a7f55c8d4715b96.mgorny@gentoo
1 commit: d25bc62d07da5f5ac4573c9b5a7f55c8d4715b96
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 2 18:43:32 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 2 18:46:12 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25bc62d
7
8 dev-python/sphinx-basic-ng: Bump to 1.0.0_beta1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinx-basic-ng/Manifest | 1 +
13 .../sphinx-basic-ng-1.0.0_beta1.ebuild | 43 ++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest
17 index 507052f15338..634391d85df1 100644
18 --- a/dev-python/sphinx-basic-ng/Manifest
19 +++ b/dev-python/sphinx-basic-ng/Manifest
20 @@ -1 +1,2 @@
21 DIST sphinx-basic-ng-0.0.1.a12.gh.tar.gz 23821 BLAKE2B 905186227d725d6f62c0f4c5b4df49ada8817dd44a4000b23b62e60ce5ca3bef4a4046c9543a07a7b0cc0c12dd5278dc783633324fbe113cf453ee540fa97ff7 SHA512 6df9445306b27ae4b29b338773fa4adcee631b4be04fdde674855dfcb683f7cf7ad3c40124c85353608b63523738b6bc83c6c4f4b2b212cafa41d38462ffcac4
22 +DIST sphinx-basic-ng-1.0.0.beta1.gh.tar.gz 24059 BLAKE2B 319f27b7326acf0ad1457fcb4d9b6257fb420eaf2bf7d4ebd6e9333f992bc5d0a5fdb518f196edc342c023f3a1c9d1258de2bac5f263d35226ac3ed62d747f23 SHA512 177da348fdb2af88bbe3a269f0d468f4d8cd5710a3102ea0fdd943505bc5251a73783a12e5397750fd7bec2df7ecce6601e82a95e777cbd40540a7833982c998
23
24 diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild
25 new file mode 100644
26 index 000000000000..b3a5b5209fe0
27 --- /dev/null
28 +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 2022-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( pypy3 python3_{9..11} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=${P/_/.}
41 +DESCRIPTION="A modern skeleton for Sphinx themes"
42 +HOMEPAGE="
43 + https://github.com/pradyunsg/sphinx-basic-ng/
44 + https://pypi.org/project/sphinx-basic-ng/
45 +"
46 +SRC_URI="
47 + https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_/.}.tar.gz
48 + -> ${MY_P}.gh.tar.gz
49 +"
50 +S=${WORKDIR}/${MY_P}
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
55 +IUSE="test"
56 +RESTRICT="!test? ( test )"
57 +
58 +RDEPEND="
59 + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + ${RDEPEND}
64 + dev-python/myst_parser[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +python_test() {
69 + local HTML_DOCS=()
70 + build_sphinx tests/barebones
71 + rm -r tests/barebones/_build || die
72 +}