| 1 | Source: docopt.cpp |
| 2 | Maintainer: Debian Science Maintainers <[email protected]> |
| 3 | Uploaders: Tino Didriksen <[email protected]>, |
| 4 | Eero Aaltonen <[email protected]> |
| 5 | Section: libs |
| 6 | Priority: optional |
| 7 | Build-Depends: cmake (>= 3.1), |
| 8 | debhelper-compat (= 13), |
| 9 | python3:any <!nocheck> |
| 10 | Standards-Version: 4.6.2 |
| 11 | Vcs-Git: https://salsa.debian.org/science-team/docopt.cpp.git |
| 12 | Vcs-Browser: https://salsa.debian.org/science-team/docopt.cpp |
| 13 | Homepage: https://github.com/docopt/docopt.cpp |
| 14 | Rules-Requires-Root: no |
| 15 | |
| 16 | Package: libdocopt0 |
| 17 | Architecture: any |
| 18 | Multi-Arch: same |
| 19 | Depends: ${misc:Depends}, |
| 20 | ${shlibs:Depends} |
| 21 | Description: C++11 port of docopt |
| 22 | With docopt, the option parser is generated based on the program's docstring. |
| 23 | docopt parses the usage pattern ("Usage: ...") and option descriptions (lines |
| 24 | starting with dash "-") and ensures that the program invocation matches the |
| 25 | usage pattern. It parses options, arguments and commands based on that. The |
| 26 | basic idea is that a good help message has all necessary information in it to |
| 27 | make a parser. |
| 28 | . |
| 29 | This is a port of the docopt Python module to C++ with a focus on maintaining |
| 30 | full feature parity (and code structure) as the original. The differences from |
| 31 | the Python port are: |
| 32 | . |
| 33 | - The addition of a docopt_parse function, which does not terminate the |
| 34 | program on error a docopt::value type to hold the various value types that |
| 35 | can be parsed. |
| 36 | . |
| 37 | - Because C++ is statically-typed and Python is not, some changes were made |
| 38 | to the interfaces of the internal parse tree types. |
| 39 | . |
| 40 | - Because std::regex does not have an equivalent to Python's regex.split, |
| 41 | some of the regex's had to be restructured and additional loops used. |
| 42 | . |
| 43 | This package provides the shared libraries. |
| 44 | |
| 45 | Package: libdocopt-dev |
| 46 | Architecture: any |
| 47 | Multi-Arch: same |
| 48 | Section: libdevel |
| 49 | Depends: ${misc:Depends}, |
| 50 | libdocopt0 (= ${binary:Version}) |
| 51 | Description: development files for docopt.cpp |
| 52 | With docopt, the option parser is generated based on the program's docstring. |
| 53 | docopt parses the usage pattern ("Usage: ...") and option descriptions (lines |
| 54 | starting with dash "-") and ensures that the program invocation matches the |
| 55 | usage pattern. It parses options, arguments and commands based on that. The |
| 56 | basic idea is that a good help message has all necessary information in it to |
| 57 | make a parser. |
| 58 | . |
| 59 | This is a port of the docopt Python module to C++ with a focus on maintaining |
| 60 | full feature parity (and code structure) as the original. The differences from |
| 61 | the Python port are: |
| 62 | . |
| 63 | - The addition of a docopt_parse function, which does not terminate the |
| 64 | program on error a docopt::value type to hold the various value types that |
| 65 | can be parsed. |
| 66 | . |
| 67 | - Because C++ is statically-typed and Python is not, some changes were made |
| 68 | to the interfaces of the internal parse tree types. |
| 69 | . |
| 70 | - Because std::regex does not have an equivalent to Python's regex.split, |
| 71 | some of the regex's had to be restructured and additional loops used. |
| 72 | . |
| 73 | This package provides the development files. |