debian: add python2 version
This commit is contained in:
parent
e099d1a4bb
commit
997328c74e
|
@ -2,18 +2,22 @@ Source: python-cssselect2
|
|||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
|
||||
Uploaders:
|
||||
Michael Fladischer <fladi@debian.org>,
|
||||
Build-Depends:
|
||||
debhelper (>= 11),
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-pytest,
|
||||
python3-pytest-runner,
|
||||
python3-setuptools,
|
||||
python3-sphinx,
|
||||
python3-sphinx-rtd-theme,
|
||||
python3-tinycss2,
|
||||
Uploaders: Michael Fladischer <fladi@debian.org>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-python,
|
||||
python-pytest,
|
||||
python-pytest-runner,
|
||||
python-setuptools,
|
||||
python-sphinx,
|
||||
python-sphinx-rtd-theme,
|
||||
python-tinycss2,
|
||||
python3-all,
|
||||
python3-pytest,
|
||||
python3-pytest-runner,
|
||||
python3-setuptools,
|
||||
python3-sphinx,
|
||||
python3-sphinx-rtd-theme,
|
||||
python3-tinycss2
|
||||
Standards-Version: 4.2.1
|
||||
Homepage: https://github.com/Kozea/cssselect2/
|
||||
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-cssselect2
|
||||
|
@ -23,9 +27,7 @@ Testsuite: autopkgtest-pkg-python
|
|||
Package: python-cssselect2-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${sphinxdoc:Depends},
|
||||
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
|
||||
Description: implementation of CSS3 Selectors (Documentation)
|
||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
||||
|
@ -39,11 +41,8 @@ Description: implementation of CSS3 Selectors (Documentation)
|
|||
|
||||
Package: python3-cssselect2
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
Suggests:
|
||||
python-cssselect2-doc,
|
||||
Depends: ${misc:Depends}, ${python3:Depends}
|
||||
Suggests: python-cssselect2-doc
|
||||
Description: implementation of CSS3 Selectors (Python3 version)
|
||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
||||
|
@ -54,3 +53,18 @@ Description: implementation of CSS3 Selectors (Python3 version)
|
|||
cssselect.
|
||||
.
|
||||
This package contains the Python 3 version of the library.
|
||||
|
||||
Package: python-cssselect2
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}
|
||||
Suggests: python-cssselect2-doc
|
||||
Description: implementation of CSS3 Selectors (Python 2 version)
|
||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
||||
(including cElementTree, lxml, html5lib, etc.)
|
||||
.
|
||||
Unlike cssselect, it does not translate selectors to XPath and therefore does
|
||||
not have all the correctness corner cases that are hard or impossible to fix in
|
||||
cssselect.
|
||||
.
|
||||
This package contains the Python 2 version of the library.
|
||||
|
|
|
@ -8,7 +8,7 @@ include /usr/share/dpkg/pkg-info.mk
|
|||
export PYBUILD_NAME=cssselect2
|
||||
|
||||
%:
|
||||
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
|
||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
|
|
Loading…
Reference in New Issue