debian: add python2 version
This commit is contained in:
parent
e099d1a4bb
commit
997328c74e
|
@ -2,18 +2,22 @@ Source: python-cssselect2
|
||||||
Section: python
|
Section: python
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
|
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
|
||||||
Uploaders:
|
Uploaders: Michael Fladischer <fladi@debian.org>
|
||||||
Michael Fladischer <fladi@debian.org>,
|
Build-Depends: debhelper (>= 10),
|
||||||
Build-Depends:
|
dh-python,
|
||||||
debhelper (>= 11),
|
python-pytest,
|
||||||
dh-python,
|
python-pytest-runner,
|
||||||
python3-all,
|
python-setuptools,
|
||||||
python3-pytest,
|
python-sphinx,
|
||||||
python3-pytest-runner,
|
python-sphinx-rtd-theme,
|
||||||
python3-setuptools,
|
python-tinycss2,
|
||||||
python3-sphinx,
|
python3-all,
|
||||||
python3-sphinx-rtd-theme,
|
python3-pytest,
|
||||||
python3-tinycss2,
|
python3-pytest-runner,
|
||||||
|
python3-setuptools,
|
||||||
|
python3-sphinx,
|
||||||
|
python3-sphinx-rtd-theme,
|
||||||
|
python3-tinycss2
|
||||||
Standards-Version: 4.2.1
|
Standards-Version: 4.2.1
|
||||||
Homepage: https://github.com/Kozea/cssselect2/
|
Homepage: https://github.com/Kozea/cssselect2/
|
||||||
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-cssselect2
|
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-cssselect2
|
||||||
|
@ -23,9 +27,7 @@ Testsuite: autopkgtest-pkg-python
|
||||||
Package: python-cssselect2-doc
|
Package: python-cssselect2-doc
|
||||||
Section: doc
|
Section: doc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends:
|
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
|
||||||
${misc:Depends},
|
|
||||||
${sphinxdoc:Depends},
|
|
||||||
Description: implementation of CSS3 Selectors (Documentation)
|
Description: implementation of CSS3 Selectors (Documentation)
|
||||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
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
|
Package: python3-cssselect2
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends:
|
Depends: ${misc:Depends}, ${python3:Depends}
|
||||||
${misc:Depends},
|
Suggests: python-cssselect2-doc
|
||||||
${python3:Depends},
|
|
||||||
Suggests:
|
|
||||||
python-cssselect2-doc,
|
|
||||||
Description: implementation of CSS3 Selectors (Python3 version)
|
Description: implementation of CSS3 Selectors (Python3 version)
|
||||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
||||||
|
@ -54,3 +53,18 @@ Description: implementation of CSS3 Selectors (Python3 version)
|
||||||
cssselect.
|
cssselect.
|
||||||
.
|
.
|
||||||
This package contains the Python 3 version of the library.
|
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
|
export PYBUILD_NAME=cssselect2
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install
|
dh_auto_install
|
||||||
|
|
Loading…
Reference in New Issue