Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/scrapy: scrapy-0.24.1.ebuild ChangeLog
Date: Tue, 08 Jul 2014 08:54:50
Message-Id: 20140708085441.8D4C02004E@flycatcher.gentoo.org
1 idella4 14/07/08 08:54:41
2
3 Modified: ChangeLog
4 Added: scrapy-0.24.1.ebuild
5 Log:
6 bump; update deps, test phase
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.23 dev-python/scrapy/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 25 Jun 2014 04:57:58 -0000 1.22
24 +++ ChangeLog 8 Jul 2014 08:54:41 -0000 1.23
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/scrapy
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.22 2014/06/25 04:57:58 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.23 2014/07/08 08:54:41 idella4 Exp $
30 +
31 +*scrapy-0.24.1 (08 Jul 2014)
32 +
33 + 08 Jul 2014; Ian Delaney <idella4@g.o> +scrapy-0.24.1.ebuild:
34 + bump; update deps, test phase
35
36 *scrapy-0.20.0 (25 Jun 2014)
37
38
39
40
41 1.1 dev-python/scrapy/scrapy-0.24.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/scrapy-0.24.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/scrapy-0.24.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scrapy-0.24.1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.24.1.ebuild,v 1.1 2014/07/08 08:54:41 idella4 Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 )
55 PYTHON_REQ_USE="sqlite(+)"
56
57 inherit vcs-snapshot distutils-r1
58
59 DESCRIPTION="A high-level Python Screen Scraping framework"
60 HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
61 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
62
63 LICENSE="BSD-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="boto doc ibl test ssl"
67
68 RDEPEND=">=dev-python/six-1.5.2[${PYTHON_USEDEP}]
69 dev-libs/libxml2[python,${PYTHON_USEDEP}]
70 virtual/python-imaging[${PYTHON_USEDEP}]
71 dev-python/lxml[${PYTHON_USEDEP}]
72 ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
73 ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
74 boto? ( dev-python/boto[${PYTHON_USEDEP}] )
75 >=dev-python/twisted-core-10.0.0[${PYTHON_USEDEP}]
76 >=dev-python/twisted-conch-10.0.0[${PYTHON_USEDEP}]
77 >=dev-python/twisted-mail-10.0.0[${PYTHON_USEDEP}]
78 >=dev-python/twisted-web-10.0.0[${PYTHON_USEDEP}]
79 >=dev-python/w3lib-1.2[${PYTHON_USEDEP}]
80 dev-python/queuelib[${PYTHON_USEDEP}]
81 >=dev-python/cssselect-0.9[${PYTHON_USEDEP}]"
82 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
83 dev-python/six[${PYTHON_USEDEP}]
84 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
85 test? ( ${RDEPEND}
86 dev-python/boto[${PYTHON_USEDEP}]
87 dev-python/django[${PYTHON_USEDEP}]
88 dev-python/pillow[${PYTHON_USEDEP}]
89 dev-python/mock[${PYTHON_USEDEP}]
90 >=net-proxy/mitmproxy-0.10[${PYTHON_USEDEP}]
91 net-ftp/vsftpd )"
92 # pytest-twisted listed as a test dep but not in portage
93
94 REQUIRED_USE="test? ( ssl boto )"
95
96 python_prepare_all() {
97 # Skip failing tests; https://github.com/scrapy/scrapy/issues/788
98 # There's 1 doctest failure that remains on being run.
99 sed -e s':test_ajax_url:_&:' -i scrapy/tests/test_http_request.py || die
100
101 distutils-r1_python_prepare_all
102 }
103
104 python_compile_all() {
105 if use doc; then
106 PYTHONPATH="${S}" emake -C docs html || die "emake html failed"
107 fi
108 }
109
110 python_test() {
111 py.test --twisted ${PN} || die "tests failed"
112 }
113
114 python_install_all() {
115 use doc && local HTML_DOCS=( docs/build/html/. )
116 distutils-r1_python_install_all
117 }