DhMakePerl

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    for it.
  * Remove headers from Contents test files. Thanks to Paul Wise for the
    bug report. (Closes: #842887)

  [ Christopher Hoskin ]
  * Require user intervention to resolve version ambiguity
    (Closes: #848337)

  [ gregor herrmann ]
  * Debian::Dependency: add support for build profiles (so called
    "restriction formulas") to the parse() function.
    Thanks to David Bremner for the bug report. (Closes: #850000)

  [ Carnë Draug ]
  * Use dh-make-perl email and name information for git commits,
    including git commits done by pristine-tar.
    (Closes: #852332)
  * DhMakePerl::Command::Packaging: add two new methods: get_email
    and get_name.

  [ gregor herrmann ]

lib/Debian/Dependency.pm  view on Meta::CPAN

            \s*             # optional space
            (?:             # architecture is optional
                \[
                    (?:
                        !?             # negation is optional
                        [^\s\]]+       # architecture name
                        (?:\s+|(?=\])) # whitespace or end
                    )+
                \]
            )?
            (?:             # "restriction formulas" (build profile) is optional
                \s*         # optional space
                <
                    (?:
                        !?             # negation is optional
                        [^\s>]+        # build profile name
                        (?:\s+|(?=>) ) # whitespace or end
                    )+
                >
            )*              # can appear several times
            $}x    # done



( run in 0.861 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )