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/argparse-manpage/
Date: Mon, 31 Oct 2022 15:49:27
Message-Id: 1667231354.2d823107fb429059941faddcf624fe6e0184dd59.mgorny@gentoo
1 commit: 2d823107fb429059941faddcf624fe6e0184dd59
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 15:23:52 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 15:49:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d823107
7
8 dev-python/argparse-manpage: Bump to v4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/argparse-manpage/Manifest | 1 +
13 .../argparse-manpage/argparse-manpage-4.ebuild | 36 ++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/argparse-manpage/Manifest b/dev-python/argparse-manpage/Manifest
17 index 818ad4b33ecb..f50d698e74d7 100644
18 --- a/dev-python/argparse-manpage/Manifest
19 +++ b/dev-python/argparse-manpage/Manifest
20 @@ -1 +1,2 @@
21 DIST argparse-manpage-3.tar.gz 45091 BLAKE2B b2ab9d4863227eacaf566865cd47763b9a52f4fd445ae78cf8212b3762a14c1ceb7f9008d25b8828f5e5da23e120a7be6d48239bb300670e559000de1e75fd68 SHA512 96225cf71dc60c638bd312331622e5b60589d7e6baf59fdfca0d90d24cff2bb232696c754c440c4e239949ea1a6280699c4f0f7816c50ec62bf77474d0c48cf4
22 +DIST argparse-manpage-4.gh.tar.gz 50506 BLAKE2B b291e4e77a076e87659bea611baf96d9a258deb8d9fe5e8d1a9278d4daa80d108d6bc7280aa351f1f7b5fa725a5a6508dd3d74bfc1dd226d24653645066173f2 SHA512 51b3cd10569b0bbd28587172cbb2818375c904c89c51a075e2f641c4d158a7a047ff939977c3ee0f164ace18ebccc0037f8c0e74e23b41fbcd990cacedcbee6a
23
24 diff --git a/dev-python/argparse-manpage/argparse-manpage-4.ebuild b/dev-python/argparse-manpage/argparse-manpage-4.ebuild
25 new file mode 100644
26 index 000000000000..9cb83d7cb886
27 --- /dev/null
28 +++ b/dev-python/argparse-manpage/argparse-manpage-4.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 2022 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=( python3_{8..11} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Automatically build man-pages for your Python project"
41 +HOMEPAGE="
42 + https://github.com/praiskup/argparse-manpage/
43 + https://pypi.org/project/argparse-manpage/
44 +"
45 +SRC_URI="
46 + https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm64 ~ppc ~sparc ~x86"
53 +
54 +BDEPEND="
55 + test? (
56 + dev-python/pip[${PYTHON_USEDEP}]
57 + )
58 +"
59 +
60 +distutils_enable_tests pytest
61 +
62 +python_test() {
63 + local -x COLUMNS=80
64 + epytest
65 +}