1 |
commit: 7a806eba33702324c22ab8e1d696fdb5c15fd7c2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 05:27:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 05:45:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a806eba |
7 |
|
8 |
dev-python/towncrier: Bump to 22.8.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/towncrier/Manifest | 1 + |
13 |
dev-python/towncrier/towncrier-22.8.0.ebuild | 46 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest |
17 |
index 57628a4901fd..0f724ef6fc3d 100644 |
18 |
--- a/dev-python/towncrier/Manifest |
19 |
+++ b/dev-python/towncrier/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST towncrier-21.9.0.gh.tar.gz 32161 BLAKE2B 9160feb1d7fa8b70350a266b91f0ebca81287ac2c25d1a586cc4db6dc64d55534e39a75aba3407fdccff83fca336cb559d21604299ecb2c01aa168e8fa75fcb2 SHA512 d58e5c9f916144085bf24fd2062bee24a1a577e283350f81bdfcd42b797fcefeece6988659b75ddc8b0701ff40a070628a548f0d4fbfb9d7c5a8c8f9cfdd29a3 |
22 |
+DIST towncrier-22.8.0.gh.tar.gz 47182 BLAKE2B 87674c49dc101d4e90ff3ec93b417a5e7fdc3b8b1c4adb76829789d2ee6271e2963306f3fbb2695e102f941afc0d3fcc57735b3f106eb3d9c2d1da49cb1af199 SHA512 4b404fdc7083de4807bb3a910c62a44cabde09b19807f46c255c935e8e1d5313f328785c14c845be168085bbaf9d54e3f589c6883c8a0bd2434ae46add3f6bff |
23 |
|
24 |
diff --git a/dev-python/towncrier/towncrier-22.8.0.ebuild b/dev-python/towncrier/towncrier-22.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3ac25029b5ee |
27 |
--- /dev/null |
28 |
+++ b/dev-python/towncrier/towncrier-22.8.0.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-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} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Building newsfiles for your project" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/twisted/towncrier/ |
43 |
+ https://pypi.org/project/towncrier/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/twisted/${PN}/archive/${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
53 |
+IUSE="test" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-python/click[${PYTHON_USEDEP}] |
58 |
+ dev-python/click-default-group[${PYTHON_USEDEP}] |
59 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
60 |
+ dev-python/incremental[${PYTHON_USEDEP}] |
61 |
+ dev-python/tomli[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ dev-python/incremental[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ dev-vcs/git |
67 |
+ dev-python/mock[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+python_test() { |
73 |
+ "${EPYTHON}" -m twisted.trial towncrier || |
74 |
+ die "tests failed with ${EPYTHON}" |
75 |
+} |