Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reno/
Date: Sun, 04 Oct 2020 19:25:36
Message-Id: 1601839524.79e2fe8673b1b0703afba4ac15aa349a22efb8ed.sbraz@gentoo
1 commit: 79e2fe8673b1b0703afba4ac15aa349a22efb8ed
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 18:50:59 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 19:25:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e2fe86
7
8 dev-python/reno: bump to 3.2.0, add Python 3.9 support+tests
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/reno/Manifest | 1 +
14 dev-python/reno/reno-3.2.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/reno/Manifest b/dev-python/reno/Manifest
18 index 346e72e4a6c..feab07451c0 100644
19 --- a/dev-python/reno/Manifest
20 +++ b/dev-python/reno/Manifest
21 @@ -1 +1,2 @@
22 DIST reno-2.11.3.tar.gz 73296 BLAKE2B a09c79c12945396425f2d3a45259e15e1fe8909df107de90884a51c87a5f4ac9f425907c1f9f401417d979e8762f80f188d2e783a7ff36541c107a9497a12746 SHA512 8d5bfe30c7a886d295d77b3d38e7fde09a8febacfacbf984f919bd5c813d81999870684f7da5b3e77a95436c912ea8e275b68548622462218356e23ad084140c
23 +DIST reno-3.2.0.tar.gz 77316 BLAKE2B 43fe83a5f4c3e812daa3d2456f6c3b0bc7ba661193187f05527108e7b182dd078ec7a26b39e2939d51efc231e60f3d503479a4729b391faf764fa1e5d941c967 SHA512 b0399e5472afa4c883af563949cf4083571ee6dfcc05babb9845fa44fb9cfa2d0a1be6f315915597c22e86e0504102cb4f90aee59273ccbaceb15e93ed078b65
24
25 diff --git a/dev-python/reno/reno-3.2.0.ebuild b/dev-python/reno/reno-3.2.0.ebuild
26 new file mode 100644
27 index 00000000000..3a693a7bada
28 --- /dev/null
29 +++ b/dev-python/reno/reno-3.2.0.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Release notes manager, storing release notes in a git repo and building docs"
42 +HOMEPAGE="https://pypi.org/project/reno/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
48 +IUSE=""
49 +
50 +RDEPEND="
51 + dev-python/pbr[${PYTHON_USEDEP}]
52 + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
53 + >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}]
54 + >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
55 +"
56 +BDEPEND="
57 + dev-python/pbr[${PYTHON_USEDEP}]
58 + test? (
59 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +# The doc needs to be built from a git repository
64 +distutils_enable_tests unittest
65 +
66 +python_prepare_all() {
67 + # Some tests need to be run from a git repository
68 + rm reno/tests/test_{cache,semver}.py || die
69 + distutils-r1_python_prepare_all
70 +}