1 |
commit: 0ad7b4a05dbca80171f3d81646a5859a2c7ed808 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon Feb 3 17:43:44 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Mon Feb 3 17:43:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ad7b4a0 |
7 |
|
8 |
dev-python/curio: Concurrent I/O |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
dev-python/curio/Manifest | 1 + |
14 |
dev-python/curio/curio-0.9.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
15 |
dev-python/curio/metadata.xml | 9 +++++++++ |
16 |
3 files changed, 46 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..9d371fd |
21 |
--- /dev/null |
22 |
+++ b/dev-python/curio/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST curio-0.9.tar.gz 482459 BLAKE2B 7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea SHA512 a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68 |
25 |
|
26 |
diff --git a/dev-python/curio/curio-0.9.ebuild b/dev-python/curio/curio-0.9.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..52f0e6b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/curio/curio-0.9.ebuild |
31 |
@@ -0,0 +1,36 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Concurrent I/O" |
42 |
+HOMEPAGE="https://github.com/dabeaz/curio" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+IUSE="examples" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+distutils_enable_sphinx docs --no-autodoc |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # Contains hard coded path, fails in emerge |
58 |
+ rm -r tests/__pycache__ || die |
59 |
+ |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ use examples && dodoc -r examples |
65 |
+ |
66 |
+ distutils-r1_python_install_all |
67 |
+} |
68 |
|
69 |
diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml |
70 |
new file mode 100644 |
71 |
index 0000000..628ab20 |
72 |
--- /dev/null |
73 |
+++ b/dev-python/curio/metadata.xml |
74 |
@@ -0,0 +1,9 @@ |
75 |
+<?xml version="1.0" encoding="UTF-8"?> |
76 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
77 |
+ |
78 |
+<pkgmetadata> |
79 |
+ <maintainer type="person"> |
80 |
+ <email>andrewammerlaan@××××××.net</email> |
81 |
+ <name>Andrew Ammerlaan</name> |
82 |
+ </maintainer> |
83 |
+</pkgmetadata> |