{
    "name": "python-scikit-sklearn",
    "buildsystem": "simple",
    "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
    "build-commands": [
        "python3 setup.py build -j 0",
        "python3 setup.py install --prefix=/app --root=/ --optimize=1"
    ],
    "sources": [
        {
            "type": "archive",
            "url": "https://files.pythonhosted.org/packages/db/e2/9c0bde5f81394b627f623557690536b12017b84988a4a1f98ec826edab9e/scikit-learn-0.24.0.tar.gz",
            "sha256": "076369634ee72b5a5941440661e2f306ff4ac30903802dc52031c7e9199ac640"
        }
    ],
    "modules": [
        {
            "name": "python-cython",
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz",
                    "sha256": "e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad"
                }
            ]
        },
        {
            "name": "python-pybind11",
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/d8/47/2eb4be23fa8cc1a08c855c012c1aa4348d06ab1a5527f876515bbf689644/pybind11-2.6.1.tar.gz",
                    "sha256": "ab7e60a520fe6ae25eca939191bb2ac416cd58478ce754740238a8bf1af18934"
                }
            ]
        },
        {
            "name": "lapack",
            "buildsystem": "cmake",
            "builddir": true,
            "buildsystem": "cmake",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_INSTALL_prefix=/app --root=/ --optimize=1",
                "-DCMAKE_INSTALL_LIBDIR=lib",
                "-DCMAKE_BUILD_TYPE=Release",
                "-DBUILD_SHARED_LIBS=ON",
                "-DBUILD_TESTING=OFF",
                "-DLAPACKE=ON",
                "-DCBLAS=ON"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/Reference-LAPACK/lapack/archive/v3.9.0.tar.gz",
                    "sha256": "106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573"
                }
            ],
            "cleanup": [
                "/lib/cmake"
            ]
        },
        {
            "name": "python-threadpoolctl",
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/78/e8/e39dc842f512ab5be11efe83160ddb7ad3c0cc1b8d42ce8c0469a0d2b926/threadpoolctl-2.1.0.tar.gz",
                    "sha256": "ddc57c96a38beb63db45d6c159b5ab07b6bced12c45a1f07b2b92f272aebfa6b"
                }
            ]
        },
        {
            "name": "python-joblib",
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/69/a1/68266edcfabe8dc240d7c9e06972a121b011b232f0d1796a016192438435/joblib-1.0.0.tar.gz",
                    "sha256": "7ad866067ac1fdec27d51c8678ea760601b70e32ff1881d4dc8e1171f2b64b24"
                }
            ]
        },
        {
            "name": "python-numpy",
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "build-options": {
                "env": {
                    "ATLAS": "None",
                    "BLAS": "/app/lib",
                    "LAPACK": "/app/lib"
                }
            },
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip",
                    "sha256": "141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512"
                }
            ]
        },
        {
            "name": "python-scipy",
            "build-options": {
                "env": {
                    "ATLAS": "None",
                    "BLAS": "/app/lib",
                    "LAPACK": "/app/lib",
                    "LDFLAGS": "-shared"
                }
            },
            "buildsystem": "simple",
            "ensure-writable": ["/lib/python*/site-packages/easy-install.pth","/lib/python*/site-packages/setuptools.pth"],
            "build-commands": [
                "python3 setup.py build -j 0",
                "python3 setup.py install --prefix=/app --root=/ --optimize=1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz",
                    "sha256": "4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b"
                }
            ]
        }
    ]
}
