[Python-modules-commits] [python-scrapy-djangoitem] 05/05: Initial release (Closes: #853985).

Michael Fladischer fladi at moszumanska.debian.org
Sat Feb 11 09:19:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-scrapy-djangoitem.

commit 0f7884b152de2fc9af8b6aad782006b1bdc6f2f1
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sat Feb 11 10:15:54 2017 +0100

    Initial release (Closes: #853985).
---
 debian/changelog                                  |  5 +++
 debian/clean                                      |  6 +++
 debian/compat                                     |  1 +
 debian/control                                    | 47 +++++++++++++++++++++++
 debian/copyright                                  | 38 ++++++++++++++++++
 debian/python-scrapy-djangoitem.docs              |  1 +
 debian/python-scrapy-djangoitem.lintian-overrides |  2 +
 debian/python3-scrapy-djangoitem.docs             |  1 +
 debian/rules                                      |  9 +++++
 debian/watch                                      |  4 ++
 10 files changed, 114 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ab465b6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-scrapy-djangoitem (1.1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #853985).
+
+ -- Michael Fladischer <fladi at debian.org>  Thu, 02 Feb 2017 20:07:26 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c8cd3c5
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+scrapy_djangoitem.egg-info/PKG-INFO
+scrapy_djangoitem.egg-info/SOURCES.txt
+scrapy_djangoitem.egg-info/dependency_links.txt
+scrapy_djangoitem.egg-info/not-zip-safe
+scrapy_djangoitem.egg-info/requires.txt
+scrapy_djangoitem.egg-info/top_level.txt
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..45e9217
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: python-scrapy-djangoitem
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-django,
+               python-scrapy,
+               python-setuptools,
+               python-six,
+               python3-all,
+               python3-django,
+               python3-scrapy,
+               python3-setuptools,
+               python3-six
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+Homepage: https://github.com/scrapy-plugins/scrapy-djangoitem
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-scrapy-djangoitem.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-scrapy-djangoitem.git
+
+Package: python-scrapy-djangoitem
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: Scrapy extension to write scraped items using Django models (Python2 version)
+ scrapy-djangoitem is an extension that allows you to define Scrapy items using
+ existing Django models. This utility provides a new class, named DjangoItem,
+ that you can use as a regular Scrapy item and link it to a Django model with
+ its django_model attribute.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-scrapy-djangoitem
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: Scrapy extension to write scraped items using Django models (Python3 version)
+ scrapy-djangoitem is an extension that allows you to define Scrapy items using
+ existing Django models. This utility provides a new class, named DjangoItem,
+ that you can use as a regular Scrapy item and link it to a Django model with
+ its django_model attribute.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2ac2c17
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-scrapy-djangoitem
+Upstream-Contact: Scrapy developers
+Source: https://github.com/scrapy-plugins/scrapy-djangoitem
+
+Files: *
+Copyright: 2015, Scrapy project
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017, Michael Fladischer <fladi at debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ .
+ * 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.
+ .
+ * Neither the name of scrapy-djangoitem 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 HOLDER 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.
diff --git a/debian/python-scrapy-djangoitem.docs b/debian/python-scrapy-djangoitem.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-scrapy-djangoitem.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-scrapy-djangoitem.lintian-overrides b/debian/python-scrapy-djangoitem.lintian-overrides
new file mode 100644
index 0000000..1003f91
--- /dev/null
+++ b/debian/python-scrapy-djangoitem.lintian-overrides
@@ -0,0 +1,2 @@
+# This is a glue between Scrapy and Django, both packaged for Python2.
+python-scrapy-djangoitem: new-package-should-not-package-python2-module python-scrapy-djangoitem
diff --git a/debian/python3-scrapy-djangoitem.docs b/debian/python3-scrapy-djangoitem.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-scrapy-djangoitem.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b0752f9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=scrapy-djangoitem
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..04fd865
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/v([\d\.]+.*)$/python-scrapy-djangoitem-$1/ \
+https://github.com/scrapy-plugins/scrapy-djangoitem/releases \
+/scrapy-plugins/scrapy-djangoitem/archive/v([\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-scrapy-djangoitem.git



More information about the Python-modules-commits mailing list