From: | Anna Vyalkova <cyber+gentoo@×××××.in> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/proj/guru:dev commit in: dev-python/w3lib/ |
Date: | Mon, 06 Dec 2021 16:10:30 |
Message-Id: | 1638795350.b3ccc9e84e4a015e91285aac780bd93d11117417.cybertailor@gentoo |
1 | commit: b3ccc9e84e4a015e91285aac780bd93d11117417 |
2 | Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 | AuthorDate: Mon Dec 6 12:55:45 2021 +0000 |
4 | Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 | CommitDate: Mon Dec 6 12:55:50 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3ccc9e8 |
7 | |
8 | dev-python/w3lib: fix deps |
9 | |
10 | Closes: https://bugs.gentoo.org/825438 |
11 | Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 | |
13 | dev-python/w3lib/metadata.xml | 2 +- |
14 | dev-python/w3lib/w3lib-1.22.0.ebuild | 15 +++++++-------- |
15 | 2 files changed, 8 insertions(+), 9 deletions(-) |
16 | |
17 | diff --git a/dev-python/w3lib/metadata.xml b/dev-python/w3lib/metadata.xml |
18 | index 65ac1f205..10a288b0b 100644 |
19 | --- a/dev-python/w3lib/metadata.xml |
20 | +++ b/dev-python/w3lib/metadata.xml |
21 | @@ -1,5 +1,5 @@ |
22 | <?xml version="1.0" encoding="UTF-8"?> |
23 | -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 | +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
25 | <pkgmetadata> |
26 | <maintainer type="person"> |
27 | <email>gentoo@×××××.cc</email> |
28 | |
29 | diff --git a/dev-python/w3lib/w3lib-1.22.0.ebuild b/dev-python/w3lib/w3lib-1.22.0.ebuild |
30 | index a525694be..1693f3352 100644 |
31 | --- a/dev-python/w3lib/w3lib-1.22.0.ebuild |
32 | +++ b/dev-python/w3lib/w3lib-1.22.0.ebuild |
33 | @@ -1,25 +1,24 @@ |
34 | # Copyright 1999-2021 Gentoo Authors |
35 | # Distributed under the terms of the GNU General Public License v2 |
36 | |
37 | -EAPI=7 |
38 | +EAPI=8 |
39 | |
40 | -PYTHON_COMPAT=( python3_9 ) |
41 | +PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
42 | inherit distutils-r1 |
43 | |
44 | DESCRIPTION="Library of web-related functions" |
45 | HOMEPAGE="https://scrapy.org/" |
46 | -SRC_URI="https://github.com/scrapy/w3lib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
47 | +SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
48 | |
49 | LICENSE="BSD" |
50 | SLOT=0 |
51 | KEYWORDS="~amd64" |
52 | |
53 | -DEPEND="${PYTHON_DEPS}" |
54 | -RDEPEND="${DEPEND}" |
55 | +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
56 | |
57 | distutils_enable_tests pytest |
58 | |
59 | -python_test(){ |
60 | +EPYTEST_DESELECT=( |
61 | # https://github.com/scrapy/w3lib/issues/164 |
62 | - py.test -k "not test_add_or_replace_parameter" || die |
63 | -} |
64 | + tests/test_url.py::UrlTests::test_add_or_replace_parameter |
65 | +) |