Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
Date: Sun, 26 Aug 2018 09:39:50
Message-Id: 1535275551.bc7d04a381c2f5b3195f0317e694c288ce72b986.mgorny@gentoo
1 commit: bc7d04a381c2f5b3195f0317e694c288ce72b986
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 26 09:25:51 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 26 09:25:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7d04a3
7
8 dev-python/scrapy: Revert "version bump to 1.4.0."
9
10 The version bump had missing dependencies which were not fixed since it
11 was merged.
12
13 Bug: https://bugs.gentoo.org/626550
14
15 dev-python/scrapy/Manifest | 1 -
16 dev-python/scrapy/scrapy-1.4.0.ebuild | 81 -----------------------------------
17 2 files changed, 82 deletions(-)
18
19 diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest
20 index 9b05991ab89..bfb8e60f4f1 100644
21 --- a/dev-python/scrapy/Manifest
22 +++ b/dev-python/scrapy/Manifest
23 @@ -1,2 +1 @@
24 DIST scrapy-1.0.3.tar.gz 1006911 BLAKE2B 19f53eb9580c383dd92852f3d270b7c031d3f67dae56dea73d3be346b5b39ed7d63ca345425c48466080e84d2ee82f08f9e46140d65c1b57fc22672897fc0b98 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0
25 -DIST scrapy-1.4.0.tar.gz 1114816 BLAKE2B 4ab32584c46cc7cae02d231b536a6e5620202e28a57ecfc370aa627419c38e8a2036f3cf67e42f85a76baf8e5b098b8e9e953f0cf9d88fd889b3a510b9258c1d SHA512 1442cae1a26b5c7c8c27998ec6ef9ab374111221180a5933d53aff0c7aeb31102882c387581c1455c1dd246e11f0c0f5ab5989a21037204e5314054e303f7312
26
27 diff --git a/dev-python/scrapy/scrapy-1.4.0.ebuild b/dev-python/scrapy/scrapy-1.4.0.ebuild
28 deleted file mode 100644
29 index ba726b0ccde..00000000000
30 --- a/dev-python/scrapy/scrapy-1.4.0.ebuild
31 +++ /dev/null
32 @@ -1,81 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
39 -PYTHON_REQ_USE="sqlite(+)"
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="A high-level Python Screen Scraping framework"
44 -HOMEPAGE="https://github.com/scrapy/scrapy/
45 - https://pypi.org/project/Scrapy/"
46 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="BSD-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="boto doc ibl test ssl"
52 -
53 -RDEPEND="
54 - >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
55 - dev-libs/libxml2[python,${PYTHON_USEDEP}]
56 - dev-python/pillow[${PYTHON_USEDEP}]
57 - >=dev-python/parsel-1.1.0[${PYTHON_USEDEP}]
58 - >=dev-python/lxml-3.4[${PYTHON_USEDEP}]
59 - ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
60 - ssl? (
61 - >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
62 - dev-python/cryptography[${PYTHON_USEDEP}] )
63 - boto? ( dev-python/boto3[${PYTHON_USEDEP}] )
64 - >=dev-python/twisted-14.0[${PYTHON_USEDEP}]
65 - >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}]
66 - dev-python/queuelib[${PYTHON_USEDEP}]
67 - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}]
68 - >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
69 - dev-python/service_identity[${PYTHON_USEDEP}]
70 - "
71 -DEPEND="
72 - dev-python/setuptools[${PYTHON_USEDEP}]
73 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
74 - test? ( ${RDEPEND}
75 - dev-python/mock[${PYTHON_USEDEP}]
76 - =net-proxy/mitmproxy-0.10.1[${PYTHON_USEDEP}]
77 - =dev-python/netlib-0.10.1[${PYTHON_USEDEP}]
78 - dev-python/jmespath[${PYTHON_USEDEP}]
79 - dev-python/testfixtures[${PYTHON_USEDEP}]
80 - net-ftp/vsftpd
81 - )"
82 -# pytest-twisted listed as a test dep but not in portage.
83 -# Testsuite currently survives without it, so appears optional
84 -
85 -REQUIRED_USE="test? ( ssl boto )"
86 -
87 -python_prepare_all() {
88 - # https://github.com/scrapy/scrapy/issues/1464
89 - # Disable failing tests known to pass according to upstream
90 - # Awaiting a fix planned by package owner.
91 - sed -e 's:test_https_connect_tunnel:_&:' \
92 - -e 's:test_https_connect_tunnel_error:_&:' \
93 - -e 's:test_https_tunnel_auth_error:_&:' \
94 - -e 's:test_https_tunnel_without_leak_proxy_authorization_header:_&:' \
95 - -i tests/test_proxy_connect.py || die
96 -
97 - distutils-r1_python_prepare_all
98 -}
99 -
100 -python_compile_all() {
101 - if use doc; then
102 - PYTHONPATH="${S}" emake -C docs html || die "emake html failed"
103 - fi
104 -}
105 -
106 -python_test() {
107 - py.test ${PN} tests || die "tests failed"
108 -}
109 -
110 -python_install_all() {
111 - use doc && local HTML_DOCS=( docs/build/html/. )
112 - distutils-r1_python_install_all
113 -}