Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/scrapy: scrapy-0.18.1.ebuild ChangeLog
Date: Sat, 03 May 2014 07:34:55
Message-Id: 20140503073452.23C7C2004C@flycatcher.gentoo.org
1 patrick 14/05/03 07:34:52
2
3 Modified: ChangeLog
4 Added: scrapy-0.18.1.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.17 dev-python/scrapy/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 6 Dec 2013 05:44:16 -0000 1.16
24 +++ ChangeLog 3 May 2014 07:34:51 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/scrapy
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.16 2013/12/06 05:44:16 patrick Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.17 2014/05/03 07:34:51 patrick Exp $
31 +
32 +*scrapy-0.18.1 (03 May 2014)
33 +
34 + 03 May 2014; Patrick Lauer <patrick@g.o> +scrapy-0.18.1.ebuild:
35 + Bump
36
37 *scrapy-0.18.0-r1 (06 Dec 2013)
38
39
40
41
42 1.1 dev-python/scrapy/scrapy-0.18.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/scrapy-0.18.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scrapy/scrapy-0.18.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: scrapy-0.18.1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.18.1.ebuild,v 1.1 2014/05/03 07:34:51 patrick Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python2_7 )
56 PYTHON_REQ_USE="sqlite(+)"
57
58 inherit vcs-snapshot distutils-r1
59
60 DESCRIPTION="A high-level Python Screen Scraping framework"
61 HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
62 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
63
64 LICENSE="BSD-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="boto doc examples ibl test ssl"
68 PYTHON_MODNAME="scrapy scrapyd"
69
70 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
71 dev-python/six[${PYTHON_USEDEP}]
72 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
73 test? (
74 dev-python/boto[${PYTHON_USEDEP}]
75 dev-python/queuelib[${PYTHON_USEDEP}]
76 dev-python/django[${PYTHON_USEDEP}]
77 net-ftp/vsftpd
78 )"
79 RDEPEND="
80 dev-python/six[${PYTHON_USEDEP}]
81 dev-libs/libxml2[python,${PYTHON_USEDEP}]
82 boto? ( dev-python/boto[${PYTHON_USEDEP}] )
83 virtual/python-imaging[${PYTHON_USEDEP}]
84 dev-python/lxml[${PYTHON_USEDEP}]
85 ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
86 ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
87 dev-python/setuptools[${PYTHON_USEDEP}]
88 dev-python/twisted-core
89 dev-python/twisted-conch
90 dev-python/twisted-mail
91 dev-python/twisted-web
92 >=dev-python/w3lib-1.1[${PYTHON_USEDEP}]
93 "
94
95 src_compile() {
96 distutils-r1_src_compile
97
98 if use doc; then
99 emake -C docs html || die "emake html failed"
100 fi
101 }
102
103 python_test() {
104 PYTHONPATH="${PWD}" bin/runtests.sh || die
105 }
106
107 src_install() {
108 distutils-r1_src_install
109 if use doc; then
110 dohtml -r "${S}"/docs/build/html/
111 fi
112 if use examples; then
113 insinto /usr/share/doc/"${PF}"/examples
114 doins -r "${S}"/examples/*
115 fi
116 }