Skip to content
Snippets Groups Projects
Commit 1eb2041f authored by Sandro Tosi's avatar Sandro Tosi
Browse files

Drop python2 support; Closes: #937503

parent e1d81a07
No related branches found
No related tags found
No related merge requests found
pyparsing (2.4.6-2) UNRELEASED; urgency=medium
* Team upload.
* Drop python2 support; Closes: #937503
-- Sandro Tosi <morph@debian.org> Fri, 17 Apr 2020 23:50:42 -0400
pyparsing (2.4.6-1) unstable; urgency=medium
* Team upload.
......
......@@ -11,8 +11,6 @@ Build-Depends:
dh-python,
pypy,
pypy-setuptools,
python-all,
python-setuptools,
python3-all,
python3-setuptools,
python3-sphinx
......@@ -49,31 +47,6 @@ Description: alternative to creating and executing simple grammars - pypy
.
This package contains the PyPy version of python-pyparsing.
Package: python-pyparsing
Architecture: all
Depends:
${misc:Depends},
${python:Depends},
Provides:
${python:Provides},
Suggests:
python-pyparsing-doc,
Description: alternative to creating and executing simple grammars - Python 2.7
The parsing module is an alternative approach to creating and
executing simple grammars, vs. the traditional lex/yacc approach, or
the use of regular expressions. The parsing module provides a
library of classes that client code uses to construct the grammar
directly in Python code.
.
Here's an example:
.
from pyparsing import Word, alphas
greet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print hello, "->", greet.parseString(hello)
.
This package contains the Python 2.7 module.
Package: python-pyparsing-doc
Architecture: all
Multi-Arch: foreign
......
......@@ -5,7 +5,7 @@
export PYBUILD_NAME = pyparsing
%:
dh $@ --with=python2,python3,pypy,sphinxdoc --buildsystem=pybuild
dh $@ --with=python3,pypy,sphinxdoc --buildsystem=pybuild
override_dh_auto_build-indep:
dh_auto_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment