[Python-modules-commits] r10095 - in packages/python-scrapy/trunk (15 files)
ghantoos-guest at users.alioth.debian.org
ghantoos-guest at users.alioth.debian.org
Sat Oct 17 20:44:41 UTC 2009
Date: Saturday, October 17, 2009 @ 20:44:40
Author: ghantoos-guest
Revision: 10095
[svn-inject] Applying Debian modifications to trunk
Added:
packages/python-scrapy/trunk/debian/
packages/python-scrapy/trunk/debian/changelog
packages/python-scrapy/trunk/debian/compat
packages/python-scrapy/trunk/debian/control
packages/python-scrapy/trunk/debian/copyright
packages/python-scrapy/trunk/debian/python-scrapy-doc.doc-base
packages/python-scrapy/trunk/debian/python-scrapy-doc.docs
packages/python-scrapy/trunk/debian/python-scrapy-doc.links
packages/python-scrapy/trunk/debian/python-scrapy.examples
packages/python-scrapy/trunk/debian/python-scrapy.install
packages/python-scrapy/trunk/debian/python-scrapy.manpages
packages/python-scrapy/trunk/debian/pyversions
packages/python-scrapy/trunk/debian/rules
packages/python-scrapy/trunk/debian/scrapy-ctl.1
packages/python-scrapy/trunk/debian/watch
Property changes on: packages/python-scrapy/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-scrapy/trunk/debian/changelog
===================================================================
--- packages/python-scrapy/trunk/debian/changelog (rev 0)
+++ packages/python-scrapy/trunk/debian/changelog 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,5 @@
+python-scrapy (0.7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #551038)
+
+ -- Ignace Mouzannar <mouzannar at gmail.com> Sat, 17 Oct 2009 21:03:45 +0200
Added: packages/python-scrapy/trunk/debian/compat
===================================================================
--- packages/python-scrapy/trunk/debian/compat (rev 0)
+++ packages/python-scrapy/trunk/debian/compat 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+7
Added: packages/python-scrapy/trunk/debian/control
===================================================================
--- packages/python-scrapy/trunk/debian/control (rev 0)
+++ packages/python-scrapy/trunk/debian/control 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,36 @@
+Source: python-scrapy
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ignace Mouzannar <mouzannar at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), python-jinja
+Build-Depends-Indep: python-support, python-all-dev, python-sphinx, libjs-jquery
+Standards-Version: 3.8.3
+Homepage: http://scrapy.org/
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-scrapy/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-scrapy/trunk/
+
+Package: python-scrapy
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-twisted, python-libxml2
+Suggests: python-openssl, python-simplejson
+Description: Python web scraping and crawling framework
+ Scrapy is a fast high-level screen scraping and web crawling framework,
+ used to crawl websites and extract structured data from their pages.
+ It can be used for a wide range of purposes, from data mining to
+ monitoring and automated testing.
+ .
+ This package provides the python-scrapy script and modules.
+
+Package: python-scrapy-doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libjs-jquery
+Section: doc
+Description: Python web scraping and crawling framework documentation
+ Scrapy is a fast high-level screen scraping and web crawling framework,
+ used to crawl websites and extract structured data from their pages.
+ It can be used for a wide range of purposes, from data mining to
+ monitoring and automated testing.
+ .
+ This package provides the python-scrapy documentation in HTML format.
Added: packages/python-scrapy/trunk/debian/copyright
===================================================================
--- packages/python-scrapy/trunk/debian/copyright (rev 0)
+++ packages/python-scrapy/trunk/debian/copyright 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,95 @@
+This package was debianized by Ignace Mouzannar
+<mouzannar at gmail.com> on Sat, 14 Oct 2009 22:49:15 +0200.
+
+It was downloaded from http://scrapy.org/download/
+
+Upstream Author:
+
+ Scrapy developers <scrapy-developers at googlegroups.com>
+
+Files: *
+Copyright:
+ 2009, Scrapy developers <scrapy-developers at googlegroups.com>
+Licence: BSD
+
+File: scrapy/xlib/lsprofcalltree.py
+Copyright:
+ 2003-2009, Jean-Paul Calderone <exarkun at divmod.com>
+ David Allouche <david at allouche.net>
+ Itamar Shtull-Trauring <itamar at itamarst.org>
+ Johan Dahlin <johan at gnome.org>
+License: MIT
+
+File: scrapy/xlib/BeautifulSoup.py
+Copyright:
+ 2004-2008, Leonard Richardson <leonardr at segfault.org>
+License: BSD
+
+File: scrapy/xlib/ClientForm.py
+Copyright:
+ 2002-2007, John J. Lee <jjl at pobox.com>
+ 2005, Gary Poster
+ 2005, Zope Corporation
+ 1998-2000, Gisle Aas
+Licence: BSD
+
+Files: scrapy/xlib/pydispatch/*
+Copyright:
+ 2001-2006, Patrick K. O'Brien <pydispatcher-devel at lists.sourceforge.net>
+Licence: BSD
+
+Files: debian/*
+Copyright:
+ 2009, Ignace Mouzannar <mouzannar at gmail.com>
+Licence: BSD
+
+License: BSD
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of Scrapy nor the names of its contributors may be used
+ to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+ On Debian systems, the complete text of the BSD license can be found
+ in `/usr/share/common-licenses/BSD'.
+
+License: MIT
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
Added: packages/python-scrapy/trunk/debian/python-scrapy-doc.doc-base
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy-doc.doc-base (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy-doc.doc-base 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,14 @@
+Document: python-scrapy-doc
+Title: Python Scrapy Documentation
+Author: Scrapy Developers
+Abstract: This documentation gives a wide overview of the Python Scrapy module.
+ It should contain everything someone needs to know about Scrapy.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-scrapy-doc/html/index.html
+Files: /usr/share/doc/python-scrapy-doc/html/*.html
+ /usr/share/doc/python-scrapy-doc/html/experimental/*.html
+ /usr/share/doc/python-scrapy-doc/html/intro/*.html
+ /usr/share/doc/python-scrapy-doc/html/topics/*.html
+
Added: packages/python-scrapy/trunk/debian/python-scrapy-doc.docs
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy-doc.docs (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy-doc.docs 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+docs/build/html
Added: packages/python-scrapy/trunk/debian/python-scrapy-doc.links
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy-doc.links (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy-doc.links 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+/usr/share/javascript/jquery/jquery.js usr/share/doc/python-scrapy-doc/html/_static/jquery.js
Added: packages/python-scrapy/trunk/debian/python-scrapy.examples
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy.examples (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy.examples 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+examples/*
Added: packages/python-scrapy/trunk/debian/python-scrapy.install
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy.install (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy.install 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib
Added: packages/python-scrapy/trunk/debian/python-scrapy.manpages
===================================================================
--- packages/python-scrapy/trunk/debian/python-scrapy.manpages (rev 0)
+++ packages/python-scrapy/trunk/debian/python-scrapy.manpages 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+debian/scrapy-ctl.1
Added: packages/python-scrapy/trunk/debian/pyversions
===================================================================
--- packages/python-scrapy/trunk/debian/pyversions (rev 0)
+++ packages/python-scrapy/trunk/debian/pyversions 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1 @@
+2.5-2.6
Added: packages/python-scrapy/trunk/debian/rules
===================================================================
--- packages/python-scrapy/trunk/debian/rules (rev 0)
+++ packages/python-scrapy/trunk/debian/rules 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_ALWAYS_EXCLUDE=license.txt:_sources/
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ mv $(CURDIR)/debian/tmp/usr/bin/scrapy-ctl.py $(CURDIR)/debian/tmp/usr/bin/scrapy-ctl
+ cd docs/ && $(MAKE) html
+
+override_dh_install:
+ dh_install -Xjquery.js
+
+override_dh_auto_clean:
+ dh_auto_clean
+ cd docs/ && $(MAKE) clean
+
+override_dh_compress:
+ dh_compress -X.js
Property changes on: packages/python-scrapy/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-scrapy/trunk/debian/scrapy-ctl.1
===================================================================
--- packages/python-scrapy/trunk/debian/scrapy-ctl.1 (rev 0)
+++ packages/python-scrapy/trunk/debian/scrapy-ctl.1 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,79 @@
+.TH SCRAPY-CTL 1 "October 17, 2009"
+.SH NAME
+scrapy-ctl \- Python Scrapy control script
+.SH SYNOPSIS
+.B scrapy-ctl
+[\fIcommand\fR] [\fIOPTIONS\fR] ...
+.SH DESCRIPTION
+.PP
+Scrapy is controlled through the \fBscrapy-ctl\fR control script. The script provides several commands, for different purposes. Each command supports its own particular syntax. In other words, each command supports a different set of arguments and options.
+.SH OPTIONS
+.SS fetch\fR [\fIOPTION\fR] \fIURL\fR
+.TP
+Fetch a URL using the Scrapy downloader
+.TP
+.I --headers
+Print response HTTP headers instead of body
+
+.SS runspider\fR [\fIOPTION\fR] \fIspiderfile\fR
+Run a spider
+.TP
+.I --output=FILE
+Store scraped items to FILE in XML format
+
+.SS settings [\fIOPTION\fR]
+Query Scrapy settings
+.TP
+.I --get=SETTING
+Print raw setting value
+.TP
+.I --getbool=SETTING
+Print setting value, intepreted as a boolean
+.TP
+.I --getint=SETTING
+Print setting value, intepreted as an integer
+.TP
+.I --getfloat=SETTING
+Print setting value, intepreted as an float
+.TP
+.I --getlist=SETTING
+Print setting value, intepreted as an float
+.TP
+.I --init
+Print initial setting value (before loading extensions and spiders)
+
+.SS shell\fR \fIURL\fR | \fIfile\fR
+Launch the interactive scraping console
+
+.SS startproject\fR \fIprojectname\fR
+Create new project with an initial project template
+
+.SS --help, -h
+Print command help and options
+.SS --version
+Print Scrapy version and exit
+.SS --logfile=FILE
+Log file. if omitted stderr will be used
+.SS --loglevel=LEVEL, -L LEVEL
+Log level (default: None)
+.SS --nolog
+Disable logging completely
+.SS --spider=SPIDER
+Always use this spider when arguments are urls
+.SS --profile=FILE
+Write python cProfile stats to FILE
+.SS --lsprof=FILE
+Write lsprof profiling stats to FILE
+.SS --pidfile=FILE
+Write process ID to FILE
+.SS --set=SET
+Set/override setting (may be repeated)
+.SS --settings=MODULE
+Python path to the Scrapy project settings
+
+.SH AUTHOR
+Scrapy-ctl was written by the Scrapy Developers
+<scrapy-developers at googlegroups.com>.
+.PP
+This manual page was written by Ignace Mouzannar <mouzannar at gmail.com>,
+for the Debian project (but may be used by others).
Added: packages/python-scrapy/trunk/debian/watch
===================================================================
--- packages/python-scrapy/trunk/debian/watch (rev 0)
+++ packages/python-scrapy/trunk/debian/watch 2009-10-17 20:44:40 UTC (rev 10095)
@@ -0,0 +1,3 @@
+version=3
+http://scrapy.org/releases/(\d\.\d)/ \
+ scrapy-([\d\.]+)\.tar\.gz
More information about the Python-modules-commits
mailing list