### ----------------------------------------------------
### -- Inline::Python
### -- Licenses: Artistic-2.0
### -- Authors: Stefan Seifert
### -- File: META6.json
### ----------------------------------------------------
{
    "meta-version": 1,
    "name"        : "Inline::Python",
    "license"     : "Artistic-2.0",
    "version"     : "0.5",
    "perl"        : "6.c",
    "auth"        : "cpan:NINE",
    "authors"     : [ "Stefan Seifert" ],
    "description" : "Use Python code and libraries in a Perl 6 program",
    "depends" : {
        "build": {
            "requires": [
                "Distribution::Builder::MakeFromJSON",
                {
                    "from" : "bin",
                    "name" : {
                        "by-distro.name" : {
                            "macosx" : "python3-config",
                            "debian" : "python3-config",
                            "" : "python3-config"
                        }
                    }
                }
            ]
        }
    },
    "provides"    : {
        "Inline::Python" : "lib/Inline/Python.pm6"
    },
    "resources"   : [ "libraries/pyhelper" ],
    "source-url"  : "git://github.com/niner/Inline-Python.git",
    "builder": "Distribution::Builder::MakeFromJSON",
    "build": {
        "makefile-variables": {
            "pyhelper": {"resource": "libraries/pyhelper"},
            "cflags": {
                "run": [
                    "python3-config",
                    "--cflags",
		    "--embed"
                ]
            },
            "ldflags": {
                "run": [
                    "python3-config",
                    "--ldflags",
		    "--embed"
                ]
            }
        }
    }
}


