1 |
commit: f3d4bf0c95717749ab6493b45dbdc9723d9b8d7f |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Wed Dec 21 00:33:49 2022 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Sun Jan 1 21:27:57 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3d4bf0c |
7 |
|
8 |
www-client/woob: add 3.1, drop 3.0-r1 |
9 |
|
10 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
11 |
|
12 |
www-client/woob/Manifest | 2 +- |
13 |
.../woob/{woob-3.0-r1.ebuild => woob-3.1.ebuild} | 18 +++++++++--------- |
14 |
www-client/woob/woob-9999.ebuild | 18 +++++++++--------- |
15 |
3 files changed, 19 insertions(+), 19 deletions(-) |
16 |
|
17 |
diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest |
18 |
index babc31bee..67d5adb52 100644 |
19 |
--- a/www-client/woob/Manifest |
20 |
+++ b/www-client/woob/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST woob-3.0.tar.gz 3122974 BLAKE2B 0faff4d917674496f3340465e176641d74e0c86e9c29350aaba1ee864a7477b504812b88144bf63c06c7515762916c971916fb59f720d0380de08d85f1c17b7b SHA512 bf4bb0bd7fd1643b867b03a78f59675c1ea0b8d4455883726d0803a3ed13d37c64795e2a98e8d580852650f6853809356955f583aac37cc6b8e08818b2f3abf1 |
23 |
+DIST woob-3.1.tar.gz 3327352 BLAKE2B 0737abe144374eb5edb81530a12baf2d3ea645a2320afb4f59a0f5e3bca90f0c59d277e3a12f8bd5fe78d47599447f1a5ddd0736e6cada728c1ea32ee55e9dfb SHA512 fbd4ceaa6072a86ea7451f068559e9dc11c2a721a7d028b8caa1639c06e8b7ca6c8a067d749ae7946f0b062aab41951a4e66eaf3f895dd8275651c2c17a03db4 |
24 |
|
25 |
diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.1.ebuild |
26 |
similarity index 83% |
27 |
rename from www-client/woob/woob-3.0-r1.ebuild |
28 |
rename to www-client/woob/woob-3.1.ebuild |
29 |
index 01af6eac8..239b5e216 100644 |
30 |
--- a/www-client/woob/woob-3.0-r1.ebuild |
31 |
+++ b/www-client/woob/woob-3.1.ebuild |
32 |
@@ -40,19 +40,19 @@ RDEPEND=" |
33 |
sci-geosciences/geopy[${PYTHON_USEDEP}] |
34 |
" |
35 |
|
36 |
-distutils_enable_tests nose |
37 |
+distutils_enable_tests pytest |
38 |
|
39 |
distutils_enable_sphinx docs/source |
40 |
|
41 |
-python_prepare_all() { |
42 |
- # disable failing tests |
43 |
- sed -i \ |
44 |
- -e '/woob.browser.browsers,/d' \ |
45 |
- -e '/woob.browser.pages,/d' \ |
46 |
- -e '/woob.tools.application.formatters.table,/d' \ |
47 |
- setup.cfg || die |
48 |
+src_prepare() { |
49 |
+ default |
50 |
|
51 |
- distutils-r1_python_prepare_all |
52 |
+ # doctests depending on a network connection |
53 |
+ sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ epytest --doctest-modules |
58 |
} |
59 |
|
60 |
python_install_all() { |
61 |
|
62 |
diff --git a/www-client/woob/woob-9999.ebuild b/www-client/woob/woob-9999.ebuild |
63 |
index 01af6eac8..239b5e216 100644 |
64 |
--- a/www-client/woob/woob-9999.ebuild |
65 |
+++ b/www-client/woob/woob-9999.ebuild |
66 |
@@ -40,19 +40,19 @@ RDEPEND=" |
67 |
sci-geosciences/geopy[${PYTHON_USEDEP}] |
68 |
" |
69 |
|
70 |
-distutils_enable_tests nose |
71 |
+distutils_enable_tests pytest |
72 |
|
73 |
distutils_enable_sphinx docs/source |
74 |
|
75 |
-python_prepare_all() { |
76 |
- # disable failing tests |
77 |
- sed -i \ |
78 |
- -e '/woob.browser.browsers,/d' \ |
79 |
- -e '/woob.browser.pages,/d' \ |
80 |
- -e '/woob.tools.application.formatters.table,/d' \ |
81 |
- setup.cfg || die |
82 |
+src_prepare() { |
83 |
+ default |
84 |
|
85 |
- distutils-r1_python_prepare_all |
86 |
+ # doctests depending on a network connection |
87 |
+ sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ epytest --doctest-modules |
92 |
} |
93 |
|
94 |
python_install_all() { |