summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-04-03 19:19:59 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-04-03 19:19:59 +0000
commit422203d27a182664b859561f71002f903ee7a61c (patch)
tree9f0853a920ea219923023063cc9bd9100dfc21f2 /dev-python/scrapy
parentUse virtual/ffmpeg instead of media-video/ffmpeg. (diff)
downloadhistorical-422203d27a182664b859561f71002f903ee7a61c.tar.gz
historical-422203d27a182664b859561f71002f903ee7a61c.tar.bz2
historical-422203d27a182664b859561f71002f903ee7a61c.zip
New ebuild for dev-python/scrapy, #361771
Package-Manager: portage-2.1.9.45/cvs/Linux i686
Diffstat (limited to 'dev-python/scrapy')
-rw-r--r--dev-python/scrapy/ChangeLog10
-rw-r--r--dev-python/scrapy/Manifest4
-rw-r--r--dev-python/scrapy/metadata.xml14
-rw-r--r--dev-python/scrapy/scrapy-0.12.0.2539.ebuild61
4 files changed, 89 insertions, 0 deletions
diff --git a/dev-python/scrapy/ChangeLog b/dev-python/scrapy/ChangeLog
new file mode 100644
index 000000000000..c392419b445a
--- /dev/null
+++ b/dev-python/scrapy/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*scrapy-0.12.0.2539 (03 Apr 2011)
+
+ 03 Apr 2011; Maxim (maksbotan) <kolmax94@gmail.com>
+ +scrapy-0.12.0.2539.ebuild, +metadata.xml:
+ New ebuild for dev-python/scrapy. Ebuild is based on g-pypi generated one.
+ Fixes bug #361771.
diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest
new file mode 100644
index 000000000000..d42938bee8f4
--- /dev/null
+++ b/dev-python/scrapy/Manifest
@@ -0,0 +1,4 @@
+DIST Scrapy-0.12.0.2539.tar.gz 721249 RMD160 65b19139440fd05281be0c15ec7fdc02bfe96160 SHA1 a7ae049afe2eccc62b15b296bcf0324a3b6dfcc4 SHA256 78403c46b2361f589a7593fc00a682ebfbeb4cee4ce51207bc5dc2bdde507d05
+EBUILD scrapy-0.12.0.2539.ebuild 1403 RMD160 95d0e38641f7bc5030633da7483e0a443ae181cb SHA1 be142b7001b5b35ea2ed5934842a081f9787d69a SHA256 f43b972501a064e2b1ce14c606fa475bd5fe192cdddf231822f638c6577b8a56
+MISC ChangeLog 442 RMD160 a78f455298433a464a90488086c772f0f581698c SHA1 06c5fd2e222468efeb80fc40331edd9175353530 SHA256 8111a4077ed141b05cb699e2d42ea4b5748fd023acbe4b864d4709d002897598
+MISC metadata.xml 415 RMD160 d9fc2ff3e8e2b3fd6acb978eae6623e38fe5b99d SHA1 44b7e1f1040f9b4ccb813bcb4f6a77d61deedaed SHA256 6cbf7bc902a788f3aca1fc94cb2451399e088a2f696f1d1a724c296505b54655
diff --git a/dev-python/scrapy/metadata.xml b/dev-python/scrapy/metadata.xml
new file mode 100644
index 000000000000..e7ca305deb81
--- /dev/null
+++ b/dev-python/scrapy/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="boto">Add support for Amazon S3 via
+ <pkg>dev-python/boto</pkg></flag>
+ <flag name="ibl">Use Instace Based Learning alrogirithm for automatic
+ extraction</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-python/scrapy/scrapy-0.12.0.2539.ebuild b/dev-python/scrapy/scrapy-0.12.0.2539.ebuild
new file mode 100644
index 000000000000..38db49b9d5be
--- /dev/null
+++ b/dev-python/scrapy/scrapy-0.12.0.2539.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.2539.ebuild,v 1.1 2011/04/03 19:19:59 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
+}