1 |
commit: 8451d7a24d64ac1c047ce63358b76c0ba0ef5ade |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 12:15:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 12:21:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8451d7a2 |
7 |
|
8 |
dev-python/bluelet: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/bluelet/bluelet-0.2.0-r1.ebuild | 27 +++++++++++++++++++++++++++ |
13 |
1 file changed, 27 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/bluelet/bluelet-0.2.0-r1.ebuild b/dev-python/bluelet/bluelet-0.2.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..f17f3a476d2a |
18 |
--- /dev/null |
19 |
+++ b/dev-python/bluelet/bluelet-0.2.0-r1.ebuild |
20 |
@@ -0,0 +1,27 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Module for pure Python asynchronous I/O using coroutines" |
32 |
+HOMEPAGE="https://pypi.org/project/bluelet/" |
33 |
+SRC_URI="https://github.com/sampsyo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="examples" |
39 |
+ |
40 |
+python_install_all() { |
41 |
+ distutils-r1_python_install_all |
42 |
+ |
43 |
+ if use examples; then |
44 |
+ dodoc -r demo |
45 |
+ docompress -x /usr/share/doc/${PF}/demo |
46 |
+ fi |
47 |
+} |