summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-09-09 16:03:14 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-09-09 16:03:14 +0000
commitbde45a8c45a3707717c0fd6b77bd50ec288044da (patch)
tree7616053f6668d53f69323d449f681184f59ca09f /dev-python/scrapy
parentwhitespace (diff)
downloadgentoo-2-bde45a8c45a3707717c0fd6b77bd50ec288044da.tar.gz
gentoo-2-bde45a8c45a3707717c0fd6b77bd50ec288044da.tar.bz2
gentoo-2-bde45a8c45a3707717c0fd6b77bd50ec288044da.zip
Bump to scrapy-0.12.0.2546
(Portage version: 2.1.10.12/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.12.0.2546.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-python/scrapy/ChangeLog b/dev-python/scrapy/ChangeLog
index c392419b445a..95f318303e10 100644
--- a/dev-python/scrapy/ChangeLog
+++ b/dev-python/scrapy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/scrapy
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.1 2011/04/03 19:19:59 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.2 2011/09/09 16:03:14 maksbotan Exp $
+
+*scrapy-0.12.0.2546 (09 Sep 2011)
+
+ 09 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> +scrapy-0.12.0.2546.ebuild:
+ Bump to scrapy-0.12.0.2546
*scrapy-0.12.0.2539 (03 Apr 2011)
diff --git a/dev-python/scrapy/scrapy-0.12.0.2546.ebuild b/dev-python/scrapy/scrapy-0.12.0.2546.ebuild
new file mode 100644
index 000000000000..8ff18b8d9964
--- /dev/null
+++ b/dev-python/scrapy/scrapy-0.12.0.2546.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.12.0.2546.ebuild,v 1.1 2011/09/09 16:03:14 maksbotan Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="sqlite"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils python
+
+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="~x86"
+IUSE="boto doc examples ibl ssl"
+
+DEPEND="dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+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"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd docs
+ emake html || die "emake html failed"
+ cd "${S}"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dohtml -r "${S}"/docs/build/html/ || die "dohtml failed"
+ fi
+ if use examples; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins -r "${S}"/examples/* || die "doins failed"
+ fi
+}