commit: 81ef4ac98a5ff9297b82d18770ce0f1717ab299d Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Mar 9 15:34:06 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Mar 9 15:34:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81ef4ac9
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 <andrewammerlaan <AT> riseup.net> 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(+) diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest new file mode 100644 index 0000000..35b2d2f --- /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 0000000..628ab20 --- /dev/null +++ b/dev-python/outcome/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Andrew Ammerlaan</name> + </maintainer> +</pkgmetadata> 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 0000000..ed502c1 --- /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
