1 |
commit: f89c61ff67ed9869a1071793f6e492771bd486d5 |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 27 13:31:02 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 13:31:37 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89c61ff |
7 |
|
8 |
dev-python/pyuv: initial import of version 1.2.0 |
9 |
|
10 |
Gentoo-Bug: 531734 |
11 |
|
12 |
dev-python/pyuv/Manifest | 1 + |
13 |
dev-python/pyuv/metadata.xml | 44 +++++++++++++++++++++++++++++++++++++++ |
14 |
dev-python/pyuv/pyuv-1.2.0.ebuild | 29 ++++++++++++++++++++++++++ |
15 |
3 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pyuv/Manifest b/dev-python/pyuv/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..33e2d1b |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pyuv/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pyuv-1.2.0.tar.gz 98578 SHA256 9df91c86519574f65e4465884db20565d4ad4287cd6cd651ee0137430b0dd4a7 SHA512 10a8448700c609b6e9844c6bc9bd6428920a455c94bee79569006f783c7f5d2683abe46c4692d0f0016a621d0c6d0ef2decc42a9f0418e1242b79ab0f06ee9f2 WHIRLPOOL 11989f713ba205ff0fa5b76dd742a7c3eb66b00fb6c97e0a0a5aa2e2b3c041a1d35b2bfd950a54fb0a7adb9ae1c5753c97ee4c6278518e46a345a462827835eb |
24 |
|
25 |
diff --git a/dev-python/pyuv/metadata.xml b/dev-python/pyuv/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..bd1f47a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyuv/metadata.xml |
30 |
@@ -0,0 +1,44 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer> |
35 |
+ <email>hasufell@g.o</email> |
36 |
+ <name>Julian Ospald</name> |
37 |
+ </maintainer> |
38 |
+ <longdescription lang="en"> |
39 |
+ pyuv is a Python module which provides an interface to |
40 |
+ <pkg>dev-libs/libuv</pkg>. |
41 |
+ libuv is a high performance asynchronous networking and platform |
42 |
+ abstraction library. |
43 |
+ |
44 |
+ libuv is built on top of epoll/kequeue/event ports/etc on Unix and |
45 |
+ IOCP on Windows systems providing a consistent API on top of them. |
46 |
+ |
47 |
+ pyuv's features: |
48 |
+ * Non-blocking TCP sockets |
49 |
+ * Non-blocking named pipes |
50 |
+ * UDP support (including multicast) |
51 |
+ * Timers |
52 |
+ * Child process spawning |
53 |
+ * Asynchronous DNS resolution (getaddrinfo) |
54 |
+ * Asynchronous file system APIs |
55 |
+ * High resolution time |
56 |
+ * System memory information |
57 |
+ * System CPUs information |
58 |
+ * Network interfaces information |
59 |
+ * Thread pool scheduling |
60 |
+ * ANSI escape code controlled TTY |
61 |
+ * File system events (inotify style and stat based) |
62 |
+ * IPC and TCP socket sharing between processes |
63 |
+ * Arbitrary file descriptor polling |
64 |
+ * Thread synchronization primitives |
65 |
+ </longdescription> |
66 |
+ <upstream> |
67 |
+ <maintainer status="active"> |
68 |
+ <email>saghul@×××××.com</email> |
69 |
+ <name>Saúl Ibarra Corretgé</name> |
70 |
+ </maintainer> |
71 |
+ <remote-id type="github">saghul/pyuv</remote-id> |
72 |
+ <remote-id type="pypi">pyuv</remote-id> |
73 |
+ </upstream> |
74 |
+</pkgmetadata> |
75 |
|
76 |
diff --git a/dev-python/pyuv/pyuv-1.2.0.ebuild b/dev-python/pyuv/pyuv-1.2.0.ebuild |
77 |
new file mode 100644 |
78 |
index 0000000..ab665ca |
79 |
--- /dev/null |
80 |
+++ b/dev-python/pyuv/pyuv-1.2.0.ebuild |
81 |
@@ -0,0 +1,29 @@ |
82 |
+# Copyright 1999-2015 Gentoo Foundation |
83 |
+# Distributed under the terms of the GNU General Public License v2 |
84 |
+# $Id$ |
85 |
+ |
86 |
+EAPI="5" |
87 |
+ |
88 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
89 |
+ |
90 |
+inherit distutils-r1 |
91 |
+ |
92 |
+DESCRIPTION="Python interface for libuv" |
93 |
+HOMEPAGE="https://pyuv.readthedocs.org/en" |
94 |
+SRC_URI="https://github.com/saghul/pyuv/archive/${P}.tar.gz" |
95 |
+ |
96 |
+LICENSE="MIT" |
97 |
+SLOT="0" |
98 |
+KEYWORDS="~amd64 ~x86" |
99 |
+IUSE="" |
100 |
+ |
101 |
+# https://github.com/saghul/pyuv/blob/v1.x/setup_libuv.py#L117 |
102 |
+RDEPEND=">=dev-libs/libuv-1.7.3:0/1" |
103 |
+DEPEND="${RDEPEND}" |
104 |
+ |
105 |
+S="${WORKDIR}/pyuv-pyuv-${PV}" |
106 |
+ |
107 |
+src_configure() { |
108 |
+ mydistutilsargs=( build_ext --use-system-libuv ) |
109 |
+ distutils-r1_src_configure |
110 |
+} |