Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/outcome/
Date: Mon, 09 Mar 2020 15:35:39
Message-Id: 1583768046.81ef4ac98a5ff9297b82d18770ce0f1717ab299d.andrewammerlaan@gentoo
1 commit: 81ef4ac98a5ff9297b82d18770ce0f1717ab299d
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon Mar 9 15:34:06 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Mar 9 15:34:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81ef4ac9
7
8 dev-python/outcome: Capture the outcome of Python function calls
9
10 Package-Manager: Portage-2.3.93, Repoman-2.3.20
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/outcome/Manifest | 1 +
14 dev-python/outcome/metadata.xml | 9 +++++++++
15 dev-python/outcome/outcome-1.0.1.ebuild | 24 ++++++++++++++++++++++++
16 3 files changed, 34 insertions(+)
17
18 diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest
19 new file mode 100644
20 index 0000000..35b2d2f
21 --- /dev/null
22 +++ b/dev-python/outcome/Manifest
23 @@ -0,0 +1 @@
24 +DIST outcome-1.0.1.tar.gz 18684 BLAKE2B bf9878c0dc45e8278693cff8bd1fc398b90a61e71aab68ed21cdfe4576519d42488962b0aea0823d248062532cbdeabfb3253046e847bbfad8adcc960245c509 SHA512 69e9ec8f38cf03c66b96c3dd739814d9507bcd843993fc82e16ba492d56e19a437c7d1dca9594c4ffdda4f2eba80ceb5872602601885a0705d3fc13a5cae0af8
25
26 diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml
27 new file mode 100644
28 index 0000000..628ab20
29 --- /dev/null
30 +++ b/dev-python/outcome/metadata.xml
31 @@ -0,0 +1,9 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>andrewammerlaan@××××××.net</email>
38 + <name>Andrew Ammerlaan</name>
39 + </maintainer>
40 +</pkgmetadata>
41
42 diff --git a/dev-python/outcome/outcome-1.0.1.ebuild b/dev-python/outcome/outcome-1.0.1.ebuild
43 new file mode 100644
44 index 0000000..ed502c1
45 --- /dev/null
46 +++ b/dev-python/outcome/outcome-1.0.1.ebuild
47 @@ -0,0 +1,24 @@
48 +# Copyright 1999-2020 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=7
52 +
53 +PYTHON_COMPAT=( python3_{6,7} )
54 +
55 +inherit distutils-r1
56 +
57 +DESCRIPTION="Capture the outcome of Python function calls"
58 +HOMEPAGE="https://github.com/python-trio/outcome"
59 +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60 +
61 +LICENSE="Apache-2.0 MIT"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~x86"
64 +
65 +RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
66 +
67 +BDEPEND="test? ( dev-python/async_generator[${PYTHON_USEDEP}]
68 + dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
69 +
70 +distutils_enable_tests pytest
71 +distutils_enable_sphinx docs/source