From 81ef4ac98a5ff9297b82d18770ce0f1717ab299d Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Mon, 9 Mar 2020 16:34:06 +0100 Subject: [PATCH] dev-python/outcome: Capture the outcome of Python function calls Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan --- dev-python/outcome/Manifest | 1 + dev-python/outcome/metadata.xml | 9 +++++++++ dev-python/outcome/outcome-1.0.1.ebuild | 24 ++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 dev-python/outcome/Manifest create mode 100644 dev-python/outcome/metadata.xml create mode 100644 dev-python/outcome/outcome-1.0.1.ebuild diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest new file mode 100644 index 0000000000..35b2d2ff90 --- /dev/null +++ b/dev-python/outcome/Manifest @@ -0,0 +1 @@ +DIST outcome-1.0.1.tar.gz 18684 BLAKE2B bf9878c0dc45e8278693cff8bd1fc398b90a61e71aab68ed21cdfe4576519d42488962b0aea0823d248062532cbdeabfb3253046e847bbfad8adcc960245c509 SHA512 69e9ec8f38cf03c66b96c3dd739814d9507bcd843993fc82e16ba492d56e19a437c7d1dca9594c4ffdda4f2eba80ceb5872602601885a0705d3fc13a5cae0af8 diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml new file mode 100644 index 0000000000..628ab20176 --- /dev/null +++ b/dev-python/outcome/metadata.xml @@ -0,0 +1,9 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + diff --git a/dev-python/outcome/outcome-1.0.1.ebuild b/dev-python/outcome/outcome-1.0.1.ebuild new file mode 100644 index 0000000000..ed502c17ee --- /dev/null +++ b/dev-python/outcome/outcome-1.0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Capture the outcome of Python function calls" +HOMEPAGE="https://github.com/python-trio/outcome" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" + +BDEPEND="test? ( dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source