1 |
commit: ca7f96938cb2d813f5b800f5fcf2ca7d3dcfe27b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 07:56:19 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 24 07:56:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7f9693 |
7 |
|
8 |
dev-python/plumbum: add 1.7.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/plumbum/Manifest | 1 + |
13 |
dev-python/plumbum/plumbum-1.7.2.ebuild | 50 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest |
17 |
index 27a2355f66d4..3f99c0c5476b 100644 |
18 |
--- a/dev-python/plumbum/Manifest |
19 |
+++ b/dev-python/plumbum/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST plumbum-1.7.0.tar.gz 318890 BLAKE2B 19ae8a37dff38ac3d263d9400e44ac174c46ff8cef92cf45b9ea31d6d344543fba66de3fd0fcd15acc205af5939f11be6c56e6cd9ca39a666f92f18dcd29b9f7 SHA512 0a12891278c12bb98b8bbb825448375240ee347eb3ca166b9cbb4da3e083979d947a7bf0a843fd9a0b7c9a13d09f24e988ee877f29420a3f29f40e387eec8826 |
22 |
DIST plumbum-1.7.1.tar.gz 323014 BLAKE2B 28d9616c3bcb13f1e9cf9c47b4533c62caf630d7eab998e86023256b568f8f038444f8741bb902ed999f04f480bc09159aab075d184f497b00a452bfac57c996 SHA512 d6648acce8e84045cd8c2fc4a90c427fd5ab5a39e49e7a1f10b20ffbca20cc42636183325501e5b577631e4f1c5a1b3e7cae12ec6b89ff853e5a50946c15f3c7 |
23 |
+DIST plumbum-1.7.2.tar.gz 323051 BLAKE2B a16d9210606ac67abd425fcff109d40836dc969729cc5bf78a5d224c0beabf09d56d35f17809994d758153c6e18e4af91403f7ae0111912447367be68f6592c1 SHA512 77e75988255ca78fa5c253c6d076d63f8f9250a2b153ef23e40f35315e255ea09403d854a19bb265fd658bb9e5f0f705dc7530ecacc40b4b48e33acdf50dddf9 |
24 |
|
25 |
diff --git a/dev-python/plumbum/plumbum-1.7.2.ebuild b/dev-python/plumbum/plumbum-1.7.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..1102887095ff |
28 |
--- /dev/null |
29 |
+++ b/dev-python/plumbum/plumbum-1.7.2.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 optfeature |
38 |
+ |
39 |
+DESCRIPTION="A library for shell script-like programs in python" |
40 |
+HOMEPAGE="https://plumbum.readthedocs.io/en/latest/ https://github.com/tomerfiliba/plumbum" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+BDEPEND=" |
48 |
+ test? ( |
49 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
50 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
51 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
52 |
+ )" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+EPYTEST_DESELECT=( |
57 |
+ # Need sshd running |
58 |
+ tests/test_remote.py |
59 |
+ tests/test_utils.py |
60 |
+ # Windows specific |
61 |
+ tests/test_putty.py |
62 |
+ # Needs sudo without password |
63 |
+ tests/test_sudo.py |
64 |
+ # Wrong assumptions about env handling |
65 |
+ tests/test_env.py::TestEnv::test_change_env |
66 |
+ tests/test_env.py::TestEnv::test_dictlike |
67 |
+ tests/test_local.py::TestLocalPath::test_iterdir |
68 |
+) |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ sed -e '/addopts/d' -i setup.cfg || die |
72 |
+ distutils-r1_src_prepare |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ optfeature "remote commands via ssh" dev-python/paramiko |
77 |
+ optfeature "progress bars in jupyter" dev-python/ipywidgets |
78 |
+ optfeature "colored output in jupyter" dev-python/ipython |
79 |
+ optfeature "images on the command line" dev-python/pillow |
80 |
+} |