Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xdoctest/
Date: Fri, 09 Sep 2022 07:23:27
Message-Id: 1662708177.f52c55e43c06d552ab02d0497722db0080b93bfd.arthurzam@gentoo
1 commit: f52c55e43c06d552ab02d0497722db0080b93bfd
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 07:22:17 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 07:22:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52c55e4
7
8 dev-python/xdoctest: add 1.1.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/xdoctest/Manifest | 1 +
13 dev-python/xdoctest/xdoctest-1.1.0.ebuild | 43 +++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest
17 index 0e5ac09acc6f..ea352ebbdf21 100644
18 --- a/dev-python/xdoctest/Manifest
19 +++ b/dev-python/xdoctest/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xdoctest-1.0.0.gh.tar.gz 193294 BLAKE2B 95725757faafd2a15652557e07753ad8c4a8ee57b545169ba29b6e8f0ef5c7a021eff3c092cfe123da91311db98ef7700b29d52b1418a8160869402fb4ecfcab SHA512 8c77fbd8fcd1a3030b33651d35567dd4506ece3aa2c6155223d5cdea6e16510b59bcbd5b9ebb6dc13e20af92c5d07dc205485566b836874e835b18a53cbe7355
22 DIST xdoctest-1.0.1.gh.tar.gz 200921 BLAKE2B 29d4947e8a49b11721c2ab8500e12334c9937d892519154267ad1ff3f98e3a35767eb770ed40d34c253e282e09e90de2567b92fd7b3167f7d8a58dcd762bc43d SHA512 c853f0b673ebc8b1f6fc6305a8688bffdf33cabab734a53f4ed1668d4f94d0431dd6e867b30a1c4588a86f3552e9b94ceaf540c3ed8e66f80bd9ce45ddbae690
23 DIST xdoctest-1.0.2.gh.tar.gz 204010 BLAKE2B a11d3bee9f4bb32f3eea34630a359695290f72792cae57c8bdf789164068b40fddf637fb5676bc0a63dcd319394791872060499de031e063d0122e1888b2ccc9 SHA512 dede66113cf474e160da3b389d377fcb7e56d2db29c957d6ff279e4d52098395a1085d546bd9d7a739b72da7986d90ad55d264df54579c5257e47bf23551c714
24 +DIST xdoctest-1.1.0.gh.tar.gz 208884 BLAKE2B cdba39e0e7108ddf7b637391dc549853754864d407b11c9237e9bc9988686bba2787e37892451bbdd3df4f7a2f01b0c446a658180c6ab06081b494313bbfe066 SHA512 55d3e58969414098a60fc4f825a8323c4e0de88e7f387fd93e61bd7c54fcebd76a66eff8d07850383009fce0e5c301838a051c886a45e4f1159e6210493a057c
25
26 diff --git a/dev-python/xdoctest/xdoctest-1.1.0.ebuild b/dev-python/xdoctest/xdoctest-1.1.0.ebuild
27 new file mode 100644
28 index 000000000000..91a000c8aac6
29 --- /dev/null
30 +++ b/dev-python/xdoctest/xdoctest-1.1.0.ebuild
31 @@ -0,0 +1,43 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness"
43 +HOMEPAGE="https://github.com/Erotemic/xdoctest/"
44 +SRC_URI="
45 + https://github.com/Erotemic/xdoctest/archive/v${PV}.tar.gz
46 + -> ${P}.gh.tar.gz
47 +"
48 +
49 +SLOT="0"
50 +LICENSE="Apache-2.0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND="
54 + dev-python/six[${PYTHON_USEDEP}]
55 +"
56 +# dev-python/nbformat-5.1.{0..2} did not install package data
57 +BDEPEND="
58 + test? (
59 + >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +#distutils_enable_sphinx docs/source \
65 +# dev-python/autoapi \
66 +# dev-python/sphinx_rtd_theme
67 +
68 +EPYTEST_DESELECT=(
69 + tests/test_pytest_cli.py::test_simple_pytest_import_error_cli
70 +)
71 +
72 +python_test() {
73 + epytest --pyargs tests xdoctest
74 +}