Package: python-parse
Version: 1.6.3-1
Severity: wishlist

Dear Maintainer,

The python-parse package currently only supports python 2, though the actual
code (including the PyPI release) support python 3 without issue. I would like
to use a python3 version of this package in one of my packages and so would
like to see this option released.

I have attached an update control and rules file that will move this package
over to pybuild as the build system. This worked better for building on my
system than the distutils system did. I have also attached an updated control
file which will add the python3 package.

Sincerely,
Daniel Manila
Source: python-parse
Maintainer: Cyril Bouthors <c...@debian.org>
Uploaders: Arthur Vuillard <art...@hashbang.fr>,
  Cyril Bouthors <cy...@boutho.rs>,
  Cyril Bouthors <cy...@bouthors.org>
Section: python
Priority: optional
Build-Depends: python-all (>= 2.6.6-3),python3-all, debhelper (>= 7),dh-python
Standards-Version: 3.9.4

Package: python-parse
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Parse provides the reverse function for format().
 Parse strings using a specification based on the Python format() syntax.
 .
    ``parse()`` is the opposite of ``format()``
 .
 The module is set up to only export ``parse()``, ``search()`` and
 ``findall()`` when ``import *`` is used:
 .
 >>> from parse import *
 .
 From there it's a simple thing to parse a string:
 .
 >>> parse("It's {}, I love it!", "It's spam, I love it!")
 <Result ('spam',) {}>
 >>> _[0]
 'spam'
 .
 Or to search a string for some pattern:
 .
 >>> search('Age: {:d}\n', 'Name: Rufus\nAge: 42\nColor: red\n')
 <Result (42,) {}>
 .
 Python 2 package

Package: python3-parse
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Parse provides the reverse function for format().
 Parse strings using a specification based on the Python format() syntax.
 .
    ``parse()`` is the opposite of ``format()``
 .
 The module is set up to only export ``parse()``, ``search()`` and
 ``findall()`` when ``import *`` is used:
 .
 >>> from parse import *
 .
 From there it's a simple thing to parse a string:
 .
 >>> parse("It's {}, I love it!", "It's spam, I love it!")
 <Result ('spam',) {}>
 >>> _[0]
 'spam'
 .
 Or to search a string for some pattern:
 .
 >>> search('Age: {:d}\n', 'Name: Rufus\nAge: 42\nColor: red\n')
 <Result (42,) {}>
 .
 Python 3 package
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.6.0+git at
# Fri, 18 Oct 2013 09:42:01 +0000

export PYBUILD_NAME = parse

%:
        dh $@ --with python2,python3 --buildsystem=pybuild


Reply via email to