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/reno/
Date: Thu, 07 Oct 2021 21:48:35
Message-Id: 1633642608.07add58b59ee1d61214c3e7e5e4321a325b14782.mgorny@gentoo
1 commit: 07add58b59ee1d61214c3e7e5e4321a325b14782
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 7 21:33:05 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 7 21:36:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07add58b
7
8 dev-python/reno: Bump to 3.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/reno/Manifest | 1 +
13 dev-python/reno/reno-3.5.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/reno/Manifest b/dev-python/reno/Manifest
17 index 36a196a5f0e..626eefb60a7 100644
18 --- a/dev-python/reno/Manifest
19 +++ b/dev-python/reno/Manifest
20 @@ -1 +1,2 @@
21 DIST reno-3.4.0.tar.gz 82815 BLAKE2B aab374c48c1dcf25ba7a78d46069c5d659762bf01d25dc05f597f02098ee10e7b8c518a0afad186ecd93602782a7c50294183b7e33075f8bfe57cc0bc3c1d016 SHA512 cbfd5d9b41beb1599438e249b8082175c8bd2b8dca62d8e6fd1ef742bf889adf6490e1ed0fa78d8aca663a0fb6bbe70742815a6512c6d51fb8073745b6860d65
22 +DIST reno-3.5.0.tar.gz 83644 BLAKE2B 803d3d3c9ed572624b77d2851221edcd0a86241f86876970f1a64877d3083b39d8e574567f14dea52680538770a37bc70c55d74b66ddab6fda551209c32bb844 SHA512 4d48ec3faf26d046498edccc0dd6007dff36d8346395b5c62b2b85a8ff9bba5ac571cbdcb2aa8e522b6f4c155bd845a416cc715c30a29e8eae6d033ee1b52be7
23
24 diff --git a/dev-python/reno/reno-3.5.0.ebuild b/dev-python/reno/reno-3.5.0.ebuild
25 new file mode 100644
26 index 00000000000..d05d134d0ba
27 --- /dev/null
28 +++ b/dev-python/reno/reno-3.5.0.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Release notes manager, storing release notes in a git repo and building docs"
39 +HOMEPAGE="https://pypi.org/project/reno/"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
45 +
46 +RDEPEND="
47 + dev-python/pbr[${PYTHON_USEDEP}]
48 + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
49 + >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}]
50 + >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
51 + >=dev-python/docutils-0.11[${PYTHON_USEDEP}]
52 + >=dev-python/sphinx-2.1.1[${PYTHON_USEDEP}]
53 +"
54 +BDEPEND="
55 + dev-python/pbr[${PYTHON_USEDEP}]
56 + test? (
57 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +# The doc needs to be built from a git repository
62 +distutils_enable_tests unittest
63 +
64 +python_prepare_all() {
65 + # Some tests need to be run from a git repository
66 + rm reno/tests/test_{cache,semver}.py || die
67 + distutils-r1_python_prepare_all
68 +}