summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-05-27 18:25:36 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-05-27 18:25:36 +0000
commit8211320d3437c92d052eeee2fa46e330a285e498 (patch)
treead2a0343e645a12d29f0bf19b7ac2344304b3378 /dev-python/scrapy
parentAdd connman to use.mask. (diff)
downloadgentoo-2-8211320d3437c92d052eeee2fa46e330a285e498.tar.gz
gentoo-2-8211320d3437c92d052eeee2fa46e330a285e498.tar.bz2
gentoo-2-8211320d3437c92d052eeee2fa46e330a285e498.zip
Bump to 0.14.4, thanks to idella4. Bug #417817
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/scrapy')
-rw-r--r--dev-python/scrapy/ChangeLog7
-rw-r--r--dev-python/scrapy/scrapy-0.14.4.ebuild77
2 files changed, 83 insertions, 1 deletions
diff --git a/dev-python/scrapy/ChangeLog b/dev-python/scrapy/ChangeLog
index 528d6c727b43..3b1d1906666e 100644
--- a/dev-python/scrapy/ChangeLog
+++ b/dev-python/scrapy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/scrapy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.9 2012/04/20 18:48:09 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.10 2012/05/27 18:25:36 maksbotan Exp $
+
+*scrapy-0.14.4 (27 May 2012)
+
+ 27 May 2012; Maxim Koltsov <maksbotan@gentoo.org> +scrapy-0.14.4.ebuild:
+ Bump to 0.14.4, thanks to idella4. Bug #417817
20 Apr 2012; Mike Gilbert <floppym@gentoo.org> scrapy-0.14.2.ebuild,
scrapy-0.14.3.ebuild:
diff --git a/dev-python/scrapy/scrapy-0.14.4.ebuild b/dev-python/scrapy/scrapy-0.14.4.ebuild
new file mode 100644
index 000000000000..b603b59a4d91
--- /dev/null
+++ b/dev-python/scrapy/scrapy-0.14.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.14.4.ebuild,v 1.1 2012/05/27 18:25:36 maksbotan Exp $
+
+EAPI="4"
+
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="sqlite"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
+PYTHON_TESTS_RESTRICTED_ABIS="2.5"
+inherit distutils
+
+MY_PN="Scrapy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A high-level Python Screen Scraping framework"
+HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
+SRC_URI="mirror://pypi/S/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boto doc examples ibl test ssl"
+PYTHON_MODNAME="scrapy scrapyd"
+
+DEPEND="dev-python/setuptools
+ doc? ( dev-python/sphinx )
+ test? (
+ dev-python/django
+ net-ftp/vsftpd
+ )"
+RDEPEND="dev-libs/libxml2[python]
+ boto? ( dev-python/boto )
+ dev-python/imaging
+ dev-python/lxml
+ ibl? ( dev-python/numpy )
+ ssl? ( dev-python/pyopenssl )
+ dev-python/setuptools
+ dev-python/simplejson
+ dev-python/twisted
+ dev-python/twisted-conch
+ dev-python/twisted-mail
+ dev-python/twisted-web
+ >=dev-python/w3lib-1.1"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ emake -C docs html || die "emake html failed"
+ fi
+}
+
+src_test() {
+ testing() {
+ # PYTHOPATH should be build-$PYTHON_ABI/lib, but causes a test fail.
+ # Not all content is copied across to build-$PYTHON_ABI/lib, and
+ # PYTHONPATH again requires an abs path.
+ echo PYTHONPATH="${PWD}" bin/runtests.sh
+ PYTHONPATH="${PWD}"/ bin/runtests.sh
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dohtml -r "${S}"/docs/build/html/
+ fi
+ if use examples; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins -r "${S}"/examples/*
+ fi
+}