1 |
commit: 2f5bf2f6fdc27560be6fc0fb1119717ee9a2c68f |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 27 13:06:03 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 27 13:06:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5bf2f6 |
7 |
|
8 |
dev-python/scrapy: remove last-rited package |
9 |
|
10 |
Bug: https://bugs.gentoo.org/626550 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
|
13 |
dev-python/scrapy/Manifest | 1 - |
14 |
dev-python/scrapy/metadata.xml | 18 -------- |
15 |
dev-python/scrapy/scrapy-1.0.3.ebuild | 79 ----------------------------------- |
16 |
3 files changed, 98 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest |
19 |
deleted file mode 100644 |
20 |
index bfb8e60f4f1..00000000000 |
21 |
--- a/dev-python/scrapy/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1 +0,0 @@ |
24 |
-DIST scrapy-1.0.3.tar.gz 1006911 BLAKE2B 19f53eb9580c383dd92852f3d270b7c031d3f67dae56dea73d3be346b5b39ed7d63ca345425c48466080e84d2ee82f08f9e46140d65c1b57fc22672897fc0b98 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 |
25 |
|
26 |
diff --git a/dev-python/scrapy/metadata.xml b/dev-python/scrapy/metadata.xml |
27 |
deleted file mode 100644 |
28 |
index dfa2115e8ff..00000000000 |
29 |
--- a/dev-python/scrapy/metadata.xml |
30 |
+++ /dev/null |
31 |
@@ -1,18 +0,0 @@ |
32 |
-<?xml version="1.0" encoding="UTF-8"?> |
33 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
-<pkgmetadata> |
35 |
- <maintainer type="person"> |
36 |
- <email>maksbotan@g.o</email> |
37 |
- </maintainer> |
38 |
- <maintainer type="project"> |
39 |
- <email>python@g.o</email> |
40 |
- <name>Python</name> |
41 |
- </maintainer> |
42 |
- <use> |
43 |
- <flag name="boto">Add support for Amazon S3 via <pkg>dev-python/boto</pkg></flag> |
44 |
- <flag name="ibl">Use Instace Based Learning algorithm for automatic extraction</flag> |
45 |
- </use> |
46 |
- <upstream> |
47 |
- <remote-id type="github">scrapy/scrapy</remote-id> |
48 |
- </upstream> |
49 |
-</pkgmetadata> |
50 |
|
51 |
diff --git a/dev-python/scrapy/scrapy-1.0.3.ebuild b/dev-python/scrapy/scrapy-1.0.3.ebuild |
52 |
deleted file mode 100644 |
53 |
index c919bbb9c14..00000000000 |
54 |
--- a/dev-python/scrapy/scrapy-1.0.3.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,79 +0,0 @@ |
57 |
-# Copyright 1999-2018 Gentoo Foundation |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
- |
60 |
-EAPI=5 |
61 |
- |
62 |
-PYTHON_COMPAT=( python2_7 ) |
63 |
-PYTHON_REQ_USE="sqlite(+)" |
64 |
- |
65 |
-inherit vcs-snapshot distutils-r1 |
66 |
- |
67 |
-DESCRIPTION="A high-level Python Screen Scraping framework" |
68 |
-HOMEPAGE="https://github.com/scrapy/scrapy/ |
69 |
- https://pypi.org/project/Scrapy/" |
70 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
71 |
- |
72 |
-LICENSE="BSD-2" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="~amd64 ~x86" |
75 |
-IUSE="boto doc ibl test ssl" |
76 |
- |
77 |
-RDEPEND=" |
78 |
- >=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
79 |
- dev-libs/libxml2[python,${PYTHON_USEDEP}] |
80 |
- dev-python/pillow[${PYTHON_USEDEP}] |
81 |
- dev-python/lxml[${PYTHON_USEDEP}] |
82 |
- ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) |
83 |
- ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) |
84 |
- boto? ( dev-python/boto[${PYTHON_USEDEP}] ) |
85 |
- dev-python/twisted-core[${PYTHON_USEDEP}] |
86 |
- dev-python/twisted-conch[${PYTHON_USEDEP}] |
87 |
- dev-python/twisted-mail[${PYTHON_USEDEP}] |
88 |
- dev-python/twisted-web[${PYTHON_USEDEP}] |
89 |
- >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}] |
90 |
- dev-python/queuelib[${PYTHON_USEDEP}] |
91 |
- >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] |
92 |
- >=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
93 |
- dev-python/service_identity[${PYTHON_USEDEP}] |
94 |
- " |
95 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
96 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
97 |
- test? ( ${RDEPEND} |
98 |
- dev-python/mock[${PYTHON_USEDEP}] |
99 |
- =net-proxy/mitmproxy-0.10.1[${PYTHON_USEDEP}] |
100 |
- =dev-python/netlib-0.10.1[${PYTHON_USEDEP}] |
101 |
- dev-python/jmespath[${PYTHON_USEDEP}] |
102 |
- dev-python/testfixtures[${PYTHON_USEDEP}] |
103 |
- net-ftp/vsftpd )" |
104 |
-# pytest-twisted listed as a test dep but not in portage. |
105 |
-# Testsuite currently survives without it, so appears optional |
106 |
- |
107 |
-REQUIRED_USE="test? ( ssl boto )" |
108 |
- |
109 |
-python_prepare_all() { |
110 |
- # https://github.com/scrapy/scrapy/issues/1464 |
111 |
- # Disable failing tests known to pass according to upstream |
112 |
- # Awaiting a fix planned by package owner. |
113 |
- sed -e 's:test_https_connect_tunnel:_&:' \ |
114 |
- -e 's:test_https_connect_tunnel_error:_&:' \ |
115 |
- -e 's:test_https_tunnel_auth_error:_&:' \ |
116 |
- -e 's:test_https_tunnel_without_leak_proxy_authorization_header:_&:' \ |
117 |
- -i tests/test_proxy_connect.py || die |
118 |
- |
119 |
- distutils-r1_python_prepare_all |
120 |
-} |
121 |
- |
122 |
-python_compile_all() { |
123 |
- if use doc; then |
124 |
- PYTHONPATH="${S}" emake -C docs html || die "emake html failed" |
125 |
- fi |
126 |
-} |
127 |
- |
128 |
-python_test() { |
129 |
- py.test ${PN} tests || die "tests failed" |
130 |
-} |
131 |
- |
132 |
-python_install_all() { |
133 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
134 |
- distutils-r1_python_install_all |
135 |
-} |