1 |
commit: 64d50c2f919896ae37fb2f713f74025bb2db9c6d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 11:25:43 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 11:39:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d50c2f |
7 |
|
8 |
dev-python/irc: Migrate to PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/irc/irc-20.0.0-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 45 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/irc/irc-20.0.0-r1.ebuild b/dev-python/irc/irc-20.0.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..03c44d6ea35d |
18 |
--- /dev/null |
19 |
+++ b/dev-python/irc/irc-20.0.0-r1.ebuild |
20 |
@@ -0,0 +1,45 @@ |
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="IRC client framework written in Python" |
32 |
+HOMEPAGE="https://github.com/jaraco/irc" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="examples" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-python/jaraco-collections[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/jaraco-itertools-1.8[${PYTHON_USEDEP}] |
44 |
+ dev-python/jaraco-logging[${PYTHON_USEDEP}] |
45 |
+ dev-python/jaraco-stream[${PYTHON_USEDEP}] |
46 |
+ dev-python/jaraco-text[${PYTHON_USEDEP}] |
47 |
+ dev-python/more-itertools[${PYTHON_USEDEP}] |
48 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/tempora-1.6[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+BDEPEND=" |
52 |
+ >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ |
56 |
+ '>=dev-python/rst-linker-1.9' |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_install_all() { |
60 |
+ if use examples; then |
61 |
+ docompress -x "/usr/share/doc/${PF}/scripts" |
62 |
+ dodoc -r scripts |
63 |
+ fi |
64 |
+ distutils-r1_python_install_all |
65 |
+} |