[Python-modules-commits] [python-parsel] 03/03: Import debian packaging.

Michael Fladischer fladi at moszumanska.debian.org
Wed Jan 25 07:40:45 UTC 2017


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

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

commit 08cd16413f3bdf764c9412b16ae416c158e75f63
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Jan 25 08:39:06 2017 +0100

    Import debian packaging.
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 41 +++++++++++++++++++++++++++++++++++++++++
 debian/rules     |  6 ++++++
 debian/watch     |  2 ++
 6 files changed, 109 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6a60d09
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-parsel (1.0.3-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #832448)
+
+ -- Ignace Mouzannar <mouzannar at gmail.com>  Fri, 29 Jul 2016 13:50:01 -0400
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..aef62ec
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: python-parsel
+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 (>= 9),
+ dh-python,
+ python-all (>= 2.7),
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+ python-cssselect (>= 0.9),
+ python3-cssselect (>= 0.9),
+ python-six,
+ python3-six,
+ python-lxml,
+ python3-lxml,
+ python-w3lib (>=1.8.0),
+ python3-w3lib (>=1.8.0),
+ python-pytest-runner,
+ python3-pytest-runner,
+ python-pytest,
+ python3-pytest
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+Standards-Version: 3.9.8
+Homepage: https://github.com/scrapy/parsel
+
+Package: python-parsel
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python 2 library to extract HTML/XML data using XPath/CSS selectors
+ Parsel is a Python library to extract data from HTML and XML using XPath and
+ CSS selectors
+ .
+ This module is used to, for example:
+  - Extract text using CSS or XPath selectors
+  - Regular expression helper methods
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-parsel
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 library to extract HTML/XML data using XPath/CSS selectors
+ Parsel is a Python library to extract data from HTML and XML using XPath and
+ CSS selectors
+ .
+ This module is used to, for example:
+  - Extract text using CSS or XPath selectors
+  - Regular expression helper methods
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3737c7a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: parsel
+Upstream-Contact: Scrapy project <info at scrapy.org>
+Source: https://github.com/scrapy/parsel
+
+Files: *
+Copyright:
+    2016, Scrapy developers
+License: BSD-3-clause
+
+Files: debian/*
+Copyright:
+    2016, Ignace Mouzannar <mouzannar at gmail.com>
+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:
+ .
+ 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.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cd6b6f5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=parsel
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..73c15ef
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/scrapy/parsel/releases .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list