[Python-modules-commits] [python-cssselect] 01/01: support Python 3 (thanks 宋文武 <iyzsong at gmail.com>) and use upstream bug fixes

Wolfgang Borgert debacle at moszumanska.debian.org
Sun Oct 12 00:14:24 UTC 2014


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

debacle pushed a commit to branch master
in repository python-cssselect.

commit 1e0c4cc96ff92956bbece8722d761e5f189d1e24
Author: W. Martin Borgert <debacle at debian.org>
Date:   Sun Oct 12 01:56:49 2014 +0200

    support Python 3 (thanks 宋文武 <iyzsong at gmail.com>) and use upstream bug fixes
---
 debian/changelog              |  8 ++++++++
 debian/control                | 33 +++++++++++++++++++++++----------
 debian/python-cssselect.docs  |  1 +
 debian/python3-cssselect.docs |  1 +
 debian/rules                  |  5 ++++-
 5 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9accbb9..2594545 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-cssselect (0.9.1+git90c72b0-1) unstable; urgency=low
+
+  * Support python3 (Closes: #755031), thanks to 宋文武 <iyzsong at gmail.com>
+  * Use new upstream non-release (some bug fixes)
+  * Move packaging to team git
+
+ -- W. Martin Borgert <debacle at debian.org>  Sat, 11 Oct 2014 23:52:42 +0000
+
 python-cssselect (0.9.1-1) unstable; urgency=low
 
   [ Barry Warsaw ]
diff --git a/debian/control b/debian/control
index 9960dc5..86833fb 100644
--- a/debian/control
+++ b/debian/control
@@ -2,20 +2,18 @@ Source: python-cssselect
 Section: python
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 8)
-        ,python-all
-        ,python-setuptools
-Standards-Version: 3.9.4
-X-Python-Version: >= 2.6
+Uploaders: TANIGUCHI Takaki <takaki at debian.org>, W. Martin Borgert <debacle at debian.org>
+Build-Depends: debhelper (>= 9), dh-python,
+               python-all, python-lxml, python-setuptools,
+               python3-all, python3-lxml, python3-setuptools
+Standards-Version: 3.9.6
 Homepage: http://pypi.python.org/pypi/cssselect
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-cssselect/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-cssselect/trunk/
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-cssselect.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-cssselect.git
 
 Package: python-cssselect
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Provides: ${python:Provides}
+Depends: python, ${misc:Depends}
 Description: cssselect parses CSS3 Selectors and translates them to XPath 1.0
  cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions.
  Such expressions can be used in lxml or another XPath engine to find the
@@ -23,3 +21,18 @@ Description: cssselect parses CSS3 Selectors and translates them to XPath 1.0
  .
  This module used to live inside of lxml as lxml.cssselect before it was
  extracted as a stand-alone project.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-cssselect
+Architecture: all
+Depends: python3, ${misc:Depends}
+Description: cssselect parses CSS3 Selectors and translates them to XPath 1.0
+ cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions.
+ Such expressions can be used in lxml or another XPath engine to find the
+ matching elements in an XML or HTML document.
+ .
+ This module used to live inside of lxml as lxml.cssselect before it was
+ extracted as a stand-alone project.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/python-cssselect.docs b/debian/python-cssselect.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-cssselect.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-cssselect.docs b/debian/python3-cssselect.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-cssselect.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
index d820b04..426c67d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
+
+export PYBUILD_NAME=cssselect
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list