Metadata-Version: 1.1
Name: ivydepparse
Version: 1.0.0
Summary: Ivy Dependency Parser
Home-page: https://github.com/tt-gf/ivy-dependency-parser
Author: TT-GF Team
Author-email: aurelien.lourot@tomtom.com
License: public domain
Download-URL: https://github.com/tt-gf/ivy-dependency-parser/tarball/1.0.0
Description: ivydepparse.py - Ivy Dependency Parser
        ======================================
        
        Parsing an Ivy module descriptor (``ivy.xml``) for its dependencies from
        a tool like CMake can be tough. This script takes a descriptor on the
        standard input and prints its dependencies in an easily parsable format.
        
        Installation
        ------------
        
        ::
        
            $ sudo pip install ivydepparse
        
        Usage
        -----
        
        ::
        
            $ ivydepparse < ivy.xml
        
        Example
        -------
        
        `ivy-example.xml <ivy-example.xml>`_:
        
        ::
        
            ...
                <dependency org="com.ttgf" name="myGreatDep" rev="1.2.3" conf="debug;release"/>
                <dependency org="com.ttgf" name="myGreatDebugDep" rev="2.3.4" conf="debug"/>
            ...
        
        results in
        
        ::
        
            $ ivydepparse < ivy-example.xml
            org=com.ttgf|name=myGreatDep|rev=1.2.3|conf=debug,release;org=com.ttgf|name=myGreatDebugDep|rev=2.3.4|conf=debug
        
        Details
        -------
        
        The output is a one-liner, a semicolon-separated list of dependencies.
        Each dependency is a pipe-separated list of attributes as
        ``name=value``.
        
        If any value contains one of our separators, they get escaped as
        follows:
        
        -  ``;`` is replaced by ``,``
        -  ``|`` is replaced by ``:``
        -  ``=`` is replaced by ``:``
        
        For each dependency, all attributes are guaranteed to be present and in
        that order: ``org``, ``name``, ``rev``, ``conf``.
        
        Attributes can be empty. An empty attribute appears as ``name=``.
        
        Changelog
        ---------
        
        **1.0.0** (2015-09-30):
        
        -  Initial version.
        
Keywords: ivydepparse,ivy,dependency,dependencies,parser,xml,cmake
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: System :: Software Distribution
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Utilities
