diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-23 09:07:59 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-23 09:30:40 +0200 |
commit | 4cac2868279efefe06e40b77e7fec9a305cc062f (patch) | |
tree | a6aa394d59229bfbc40a2bae3af014bc2c8afac4 /dev-python | |
parent | dev-python/python-zeroconf: add 0.47.0 (diff) | |
download | gentoo-4cac2868279efefe06e40b77e7fec9a305cc062f.tar.gz gentoo-4cac2868279efefe06e40b77e7fec9a305cc062f.tar.bz2 gentoo-4cac2868279efefe06e40b77e7fec9a305cc062f.zip |
dev-python/towncrier: add 22.12.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/towncrier/Manifest | 1 | ||||
-rw-r--r-- | dev-python/towncrier/towncrier-22.12.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest index 4ab4f35edcd2..a3d6c84859a2 100644 --- a/dev-python/towncrier/Manifest +++ b/dev-python/towncrier/Manifest @@ -1 +1,2 @@ +DIST towncrier-22.12.0.gh.tar.gz 54670 BLAKE2B b6baf6970cc8a5f798f378ae7c0637184a869c3c72907205c6493786353f1a5f26e1bca0faa7f4685236e3a1fc9d4b2cfe6632f01d36926ae9e74cb188460674 SHA512 6fad515b2368f2c1ee27673080607460949d6651d3c9b9ab106b8e7f0298d0748a4ec1424f73bb7bf8a81eef5b0fa74de6a0b7295f02f02f354f20a99eb30814 DIST towncrier-22.8.0.gh.tar.gz 47182 BLAKE2B 87674c49dc101d4e90ff3ec93b417a5e7fdc3b8b1c4adb76829789d2ee6271e2963306f3fbb2695e102f941afc0d3fcc57735b3f106eb3d9c2d1da49cb1af199 SHA512 4b404fdc7083de4807bb3a910c62a44cabde09b19807f46c255c935e8e1d5313f328785c14c845be168085bbaf9d54e3f589c6883c8a0bd2434ae46add3f6bff diff --git a/dev-python/towncrier/towncrier-22.12.0.ebuild b/dev-python/towncrier/towncrier-22.12.0.ebuild new file mode 100644 index 000000000000..3ac25029b5ee --- /dev/null +++ b/dev-python/towncrier/towncrier-22.12.0.ebuild @@ -0,0 +1,46 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="Building newsfiles for your project" +HOMEPAGE=" + https://github.com/twisted/towncrier/ + https://pypi.org/project/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=" + dev-python/incremental[${PYTHON_USEDEP}] + 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}" +} |