Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/woob/
Date: Tue, 25 May 2021 23:08:03
Message-Id: 1621930014.e2d4a9336d65d81c919367a9e490d381ca9cec7a.lanodan@gentoo
1 commit: e2d4a9336d65d81c919367a9e490d381ca9cec7a
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Tue May 25 02:17:37 2021 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Tue May 25 08:06:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2d4a933
7
8 www-client/woob: fixes in deps, add docs
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 www-client/woob/Manifest | 2 +-
13 .../woob/{woob-3.0.ebuild => woob-3.0-r1.ebuild} | 40 +++++++---------------
14 www-client/woob/woob-9999.ebuild | 40 +++++++---------------
15 3 files changed, 25 insertions(+), 57 deletions(-)
16
17 diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest
18 index c653ec8b7..babc31bee 100644
19 --- a/www-client/woob/Manifest
20 +++ b/www-client/woob/Manifest
21 @@ -1 +1 @@
22 -DIST woob-3.0.tar.gz 1037459 BLAKE2B 989af820505d8bd32318f87a49bb8106224ee88655f1339baee95782894aca5fd3a95fc9d80a643cf0db27d542a4b61ac9c0b50e47b69e68cd1132d229a84743 SHA512 1147330ee6801a250fa22d15640d8ba7dac7e26be41e05a5f6b33c8f61967f32a94eedd74ec70bdfade3a3766312ccff5f09baefb76f45416d3d92185ff6265f
23 +DIST woob-3.0.tar.gz 3122974 BLAKE2B 0faff4d917674496f3340465e176641d74e0c86e9c29350aaba1ee864a7477b504812b88144bf63c06c7515762916c971916fb59f720d0380de08d85f1c17b7b SHA512 bf4bb0bd7fd1643b867b03a78f59675c1ea0b8d4455883726d0803a3ed13d37c64795e2a98e8d580852650f6853809356955f583aac37cc6b8e08818b2f3abf1
24
25 diff --git a/www-client/woob/woob-3.0.ebuild b/www-client/woob/woob-3.0-r1.ebuild
26 similarity index 56%
27 rename from www-client/woob/woob-3.0.ebuild
28 rename to www-client/woob/woob-3.0-r1.ebuild
29 index dbed431d4..b0535df1d 100644
30 --- a/www-client/woob/woob-3.0.ebuild
31 +++ b/www-client/woob/woob-3.0-r1.ebuild
32 @@ -3,29 +3,26 @@
33
34 EAPI=7
35
36 -PYTHON_COMPAT=( python3_{6,7,8} )
37 +PYTHON_COMPAT=( python3_{7..9} )
38 DISTUTILS_USE_SETUPTOOLS=rdepend
39
40 inherit distutils-r1
41
42 if [[ "${PV}" == "9999" ]]
43 then
44 - EGIT_REPO_URI="https://gitlab.com/woob/woob.git"
45 + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git"
46 inherit git-r3
47 else
48 - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz"
49 + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
50 KEYWORDS="~amd64"
51 fi
52
53 DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)"
54 -HOMEPAGE="https://woob.tech/"
55 +HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob"
56 LICENSE="LGPL-3+"
57 SLOT="0"
58 -IUSE="test"
59 -#RESTRICT="!test ( test )"
60
61 -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt
62 -COMMON_DEPEND="
63 +RDEPEND="
64 dev-python/lxml[${PYTHON_USEDEP}]
65 dev-python/cssselect[${PYTHON_USEDEP}]
66 dev-python/requests[${PYTHON_USEDEP}]
67 @@ -37,33 +34,20 @@ COMMON_DEPEND="
68 dev-python/pillow[${PYTHON_USEDEP}]
69 dev-python/Babel[${PYTHON_USEDEP}]
70
71 + dev-python/feedparser[${PYTHON_USEDEP}]
72 + dev-python/geopy[${PYTHON_USEDEP}]
73 dev-python/prettytable[${PYTHON_USEDEP}]
74 - dev-python/future[${PYTHON_USEDEP}]
75 + dev-python/python-jose[${PYTHON_USEDEP}]
76 + dev-python/selenium[${PYTHON_USEDEP}]
77 dev-python/termcolor[${PYTHON_USEDEP}]
78 dev-python/unidecode[${PYTHON_USEDEP}]
79 "
80 -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt
81 -DEPEND="
82 - ${COMMON_DEPEND}
83 - test? (
84 - dev-python/flake8[${PYTHON_USEDEP}]
85 - dev-python/xunitparser[${PYTHON_USEDEP}]
86 - >=dev-python/coverage-5.1[${PYTHON_USEDEP}]
87 -
88 - dev-python/mock[${PYTHON_USEDEP}]
89 - dev-python/pyflakes[${PYTHON_USEDEP}]
90 - dev-python/asttokens[${PYTHON_USEDEP}]
91 -
92 - dev-python/feedparser[${PYTHON_USEDEP}]
93 - dev-python/python-jose[${PYTHON_USEDEP}]
94 - dev-python/geopy[${PYTHON_USEDEP}]
95 - dev-python/selenium[${PYTHON_USEDEP}]
96 - )
97 -"
98 -RDEPEND="${COMMON_DEPEND}"
99 +DEPEND="${RDEPEND}"
100
101 distutils_enable_tests nose
102
103 +distutils_enable_sphinx docs/source
104 +
105 src_prepare() {
106 default
107
108
109 diff --git a/www-client/woob/woob-9999.ebuild b/www-client/woob/woob-9999.ebuild
110 index dbed431d4..b0535df1d 100644
111 --- a/www-client/woob/woob-9999.ebuild
112 +++ b/www-client/woob/woob-9999.ebuild
113 @@ -3,29 +3,26 @@
114
115 EAPI=7
116
117 -PYTHON_COMPAT=( python3_{6,7,8} )
118 +PYTHON_COMPAT=( python3_{7..9} )
119 DISTUTILS_USE_SETUPTOOLS=rdepend
120
121 inherit distutils-r1
122
123 if [[ "${PV}" == "9999" ]]
124 then
125 - EGIT_REPO_URI="https://gitlab.com/woob/woob.git"
126 + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git"
127 inherit git-r3
128 else
129 - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz"
130 + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
131 KEYWORDS="~amd64"
132 fi
133
134 DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)"
135 -HOMEPAGE="https://woob.tech/"
136 +HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob"
137 LICENSE="LGPL-3+"
138 SLOT="0"
139 -IUSE="test"
140 -#RESTRICT="!test ( test )"
141
142 -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt
143 -COMMON_DEPEND="
144 +RDEPEND="
145 dev-python/lxml[${PYTHON_USEDEP}]
146 dev-python/cssselect[${PYTHON_USEDEP}]
147 dev-python/requests[${PYTHON_USEDEP}]
148 @@ -37,33 +34,20 @@ COMMON_DEPEND="
149 dev-python/pillow[${PYTHON_USEDEP}]
150 dev-python/Babel[${PYTHON_USEDEP}]
151
152 + dev-python/feedparser[${PYTHON_USEDEP}]
153 + dev-python/geopy[${PYTHON_USEDEP}]
154 dev-python/prettytable[${PYTHON_USEDEP}]
155 - dev-python/future[${PYTHON_USEDEP}]
156 + dev-python/python-jose[${PYTHON_USEDEP}]
157 + dev-python/selenium[${PYTHON_USEDEP}]
158 dev-python/termcolor[${PYTHON_USEDEP}]
159 dev-python/unidecode[${PYTHON_USEDEP}]
160 "
161 -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt
162 -DEPEND="
163 - ${COMMON_DEPEND}
164 - test? (
165 - dev-python/flake8[${PYTHON_USEDEP}]
166 - dev-python/xunitparser[${PYTHON_USEDEP}]
167 - >=dev-python/coverage-5.1[${PYTHON_USEDEP}]
168 -
169 - dev-python/mock[${PYTHON_USEDEP}]
170 - dev-python/pyflakes[${PYTHON_USEDEP}]
171 - dev-python/asttokens[${PYTHON_USEDEP}]
172 -
173 - dev-python/feedparser[${PYTHON_USEDEP}]
174 - dev-python/python-jose[${PYTHON_USEDEP}]
175 - dev-python/geopy[${PYTHON_USEDEP}]
176 - dev-python/selenium[${PYTHON_USEDEP}]
177 - )
178 -"
179 -RDEPEND="${COMMON_DEPEND}"
180 +DEPEND="${RDEPEND}"
181
182 distutils_enable_tests nose
183
184 +distutils_enable_sphinx docs/source
185 +
186 src_prepare() {
187 default