summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-22 10:47:18 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-22 11:41:04 -0800
commit575442b4b5fbe62b7fe8564efd420f8ca1c9baa0 (patch)
tree293b12f381dabe6fb61599b1644b1e9b0d9f310f /dev-python/towncrier
parentdev-python/pytest-xprocess: Fix remaining MissingTestRestrict (diff)
downloadgentoo-575442b4b5fbe62b7fe8564efd420f8ca1c9baa0.tar.gz
gentoo-575442b4b5fbe62b7fe8564efd420f8ca1c9baa0.tar.bz2
gentoo-575442b4b5fbe62b7fe8564efd420f8ca1c9baa0.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/towncrier')
-rw-r--r--dev-python/towncrier/Manifest1
-rw-r--r--dev-python/towncrier/metadata.xml11
-rw-r--r--dev-python/towncrier/towncrier-19.2.0.ebuild37
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest
new file mode 100644
index 000000000000..962e0caf23ed
--- /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 000000000000..580f32722c5c
--- /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>python@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 000000000000..417f5b3cfaaa
--- /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}"
+}