1 |
commit: 5099389df20a0d315dafb62cf41624149bd3deac |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 27 11:10:35 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 27 11:10:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5099389d |
7 |
|
8 |
dev-python/outcome: import from ::guru |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
dev-python/outcome/Manifest | 1 + |
14 |
dev-python/outcome/metadata.xml | 14 ++++++++++++++ |
15 |
dev-python/outcome/outcome-1.1.0.ebuild | 29 +++++++++++++++++++++++++++++ |
16 |
3 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..08ba4dcd8f2 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/outcome/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST outcome-1.1.0.tar.gz 18675 BLAKE2B eef22274bb4d1ddd19fa223167b6c8ce96f015ac0b3b0609aed3717deb306087457ab068fd2466d492fcc5859d561e6d3172ad14611a937ec59a75b604565953 SHA512 65de1c0a38b8cbb041a9fc3a79518eeacea54ec87341846ae80a9a2075369f72a397f5aa747ae179eaac8f341a7e07cc1641555fbb809cc7924b2171f7f3d90e |
25 |
|
26 |
diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..8423947bf6d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/outcome/metadata.xml |
31 |
@@ -0,0 +1,14 @@ |
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@g.o</email> |
38 |
+ <name>Andrew Ammerlaan</name> |
39 |
+ </maintainer> |
40 |
+ <stabilize-allarches/> |
41 |
+ <upstream> |
42 |
+ <remote-id type="github">python-trio/outcome</remote-id> |
43 |
+ <remote-id type="pypi">outcome</remote-id> |
44 |
+ </upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-python/outcome/outcome-1.1.0.ebuild b/dev-python/outcome/outcome-1.1.0.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..ca48567e629 |
50 |
--- /dev/null |
51 |
+++ b/dev-python/outcome/outcome-1.1.0.ebuild |
52 |
@@ -0,0 +1,29 @@ |
53 |
+# Copyright 1999-2021 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=7 |
57 |
+ |
58 |
+PYTHON_COMPAT=( python3_{8..10} ) |
59 |
+ |
60 |
+inherit distutils-r1 |
61 |
+ |
62 |
+DESCRIPTION="Capture the outcome of Python function calls" |
63 |
+HOMEPAGE=" |
64 |
+ https://github.com/python-trio/outcome |
65 |
+ https://pypi.org/project/outcome |
66 |
+" |
67 |
+SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
68 |
+ |
69 |
+LICENSE="|| ( Apache-2.0 MIT )" |
70 |
+SLOT="0" |
71 |
+KEYWORDS="~amd64" |
72 |
+ |
73 |
+RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" |
74 |
+ |
75 |
+BDEPEND="test? ( |
76 |
+ dev-python/async_generator[${PYTHON_USEDEP}] |
77 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
78 |
+)" |
79 |
+ |
80 |
+distutils_enable_tests pytest |
81 |
+distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio |