summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-02-10 22:44:06 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-02-10 23:10:06 +0200
commitbafb1cb868c967bbcbdcc657f648a295c8be8455 (patch)
tree2f0686b875c3c63284c99ff0b0d6a90a45199b01 /dev-python/towncrier
parentapp-misc/lcdproc: drop unneeded patch (diff)
downloadgentoo-bafb1cb868c967bbcbdcc657f648a295c8be8455.tar.gz
gentoo-bafb1cb868c967bbcbdcc657f648a295c8be8455.tar.bz2
gentoo-bafb1cb868c967bbcbdcc657f648a295c8be8455.zip
dev-python/towncrier: add 21.9.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/towncrier')
-rw-r--r--dev-python/towncrier/Manifest1
-rw-r--r--dev-python/towncrier/towncrier-21.9.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest
index 6067f3634938..8acda6f39058 100644
--- a/dev-python/towncrier/Manifest
+++ b/dev-python/towncrier/Manifest
@@ -1 +1,2 @@
DIST towncrier-21.3.0.tar.gz 31787 BLAKE2B 1ad54cb2eb28d25131be13a7fce5aeec3df07fe198f3200202d612b2b49cbef76d422025e143b19db498af224ba522f3a67b66fc10ec2cfb0ab81a52aeb7263e SHA512 b6093864d590849e29311fd1a085cc40997f88ada38e92bf159d72fd809691e014f67ac87844886cfdb27be0f9abc8fbf79d5d7e800688eac34e9edec6d6a2f6
+DIST towncrier-21.9.0.gh.tar.gz 32161 BLAKE2B 9160feb1d7fa8b70350a266b91f0ebca81287ac2c25d1a586cc4db6dc64d55534e39a75aba3407fdccff83fca336cb559d21604299ecb2c01aa168e8fa75fcb2 SHA512 d58e5c9f916144085bf24fd2062bee24a1a577e283350f81bdfcd42b797fcefeece6988659b75ddc8b0701ff40a070628a548f0d4fbfb9d7c5a8c8f9cfdd29a3
diff --git a/dev-python/towncrier/towncrier-21.9.0.ebuild b/dev-python/towncrier/towncrier-21.9.0.ebuild
new file mode 100644
index 000000000000..93475b9a4542
--- /dev/null
+++ b/dev-python/towncrier/towncrier-21.9.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Building newsfiles for your project"
+HOMEPAGE="https://github.com/twisted/towncrier"
+SRC_URI="
+ https://github.com/twisted/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/click-default-group[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/incremental[${PYTHON_USEDEP}]
+ dev-python/tomli[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-vcs/git
+ dev-python/mock[${PYTHON_USEDEP}]
+ >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ "${EPYTHON}" -m twisted.trial towncrier || die "tests failed with ${EPYTHON}"
+}