commit: 575442b4b5fbe62b7fe8564efd420f8ca1c9baa0 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> AuthorDate: Fri Nov 22 18:47:18 2019 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Fri Nov 22 19:41:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575442b4
dev-python/towncrier: New package Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> dev-python/towncrier/Manifest | 1 + dev-python/towncrier/metadata.xml | 11 +++++++++ dev-python/towncrier/towncrier-19.2.0.ebuild | 37 ++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest new file mode 100644 index 00000000000..962e0caf23e --- /dev/null +++ b/dev-python/towncrier/Manifest @@ -0,0 +1 @@ +DIST towncrier-19.2.0.tar.gz 18089 BLAKE2B d1e17e707b90089b19d9eedebd898b71fcc9a582cbae0166650a6bd52a8ac6bb3921a458a6d2c10e5930b92230ddf5efc5a428646c464edb6eb4bfc06949e217 SHA512 60999446c4ae404fb54ea6282a862621d49f62a2488d31eecf8fed9dd7afa6e01f4feac6e3dd26b882ee75f747424d63d05521e33b5f6b8df7059ce32dbe5c4f diff --git a/dev-python/towncrier/metadata.xml b/dev-python/towncrier/metadata.xml new file mode 100644 index 00000000000..580f32722c5 --- /dev/null +++ b/dev-python/towncrier/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>pyt...@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">towncrier</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/towncrier/towncrier-19.2.0.ebuild b/dev-python/towncrier/towncrier-19.2.0.ebuild new file mode 100644 index 00000000000..417f5b3cfaa --- /dev/null +++ b/dev-python/towncrier/towncrier-19.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +inherit distutils-r1 + +DESCRIPTION="Building newsfiles for your project" +HOMEPAGE="https://github.com/hawkowl/towncrier" +SRC_URI="https://github.com/hawkowl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="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/toml[${PYTHON_USEDEP}] +" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-vcs/git + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] + )" + +RESTRICT="!test? ( test )" + +python_test() { + distutils_install_for_testing + + trial towncrier || die "tests failed with ${EPYTHON}" +}