Show a patch.

GET /api/patches/2322/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2322,
    "url": "https://patchwork.libcamera.org/api/patches/2322/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2322/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20191115152342.27723-2-ezequiel@collabora.com>",
    "date": "2019-11-15T15:23:42",
    "name": "[libcamera-devel,2/2] meson: Define python3 and python3-yaml required dependencies",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4d04b34c29efb8a5df1ade3a02cae58aa7eb0280",
    "submitter": {
        "id": 28,
        "url": "https://patchwork.libcamera.org/api/people/28/?format=api",
        "name": "Ezequiel Garcia",
        "email": "ezequiel@collabora.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/2322/mbox/",
    "series": [
        {
            "id": 569,
            "url": "https://patchwork.libcamera.org/api/series/569/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=569",
            "date": "2019-11-15T15:23:41",
            "name": "[libcamera-devel,1/2] README: Simplify a bit the build instructions",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/569/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2322/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2322/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ezequiel@collabora.com>",
        "Received": [
            "from bhuna.collabora.co.uk (bhuna.collabora.co.uk\n\t[IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 86B9D6150A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 15 Nov 2019 16:23:57 +0100 (CET)",
            "from [127.0.0.1] (localhost [127.0.0.1])\n\t(Authenticated sender: ezequiel) with ESMTPSA id D4E3329164E"
        ],
        "From": "Ezequiel Garcia <ezequiel@collabora.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 15 Nov 2019 12:23:42 -0300",
        "Message-Id": "<20191115152342.27723-2-ezequiel@collabora.com>",
        "X-Mailer": "git-send-email 2.22.0",
        "In-Reply-To": "<20191115152342.27723-1-ezequiel@collabora.com>",
        "References": "<20191115152342.27723-1-ezequiel@collabora.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] meson: Define python3 and\n\tpython3-yaml required dependencies",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "X-List-Received-Date": "Fri, 15 Nov 2019 15:23:57 -0000"
    },
    "content": "With this change, meson will complain specifically about missing\npython3 and missing python3-yaml. As specified by meson\ndocumentation: https://mesonbuild.com/Python-module.html,\nthis change requires meson v0.51.\n\nSigned-off-by: Ezequiel Garcia <ezequiel@collabora.com>\n---\n meson.build               | 2 +-\n src/libcamera/meson.build | 3 +++\n 2 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/meson.build b/meson.build\nindex 72ad7c8b493b..38c0f1d55b56 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -1,5 +1,5 @@\n project('libcamera', 'c', 'cpp',\n-    meson_version : '>= 0.40',\n+    meson_version : '>= 0.51',\n     version : '0.0.0',\n     default_options : [\n         'werror=true',\ndiff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex afbca76968f9..509499359cdb 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -61,6 +61,9 @@ if libudev.found()\n     ])\n endif\n \n+py_mod = import('python')\n+py_inst = py_mod.find_installation('python3', modules: ['yaml'])\n+\n gen_controls = files('gen-controls.py')\n \n control_ids_cpp = custom_target('control_ids_cpp',\n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}