Show a patch.

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

{
    "id": 3462,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/3462/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3462/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20200414180229.10320-3-ariel@vanguardiasur.com.ar>",
    "date": "2020-04-14T18:02:29",
    "name": "[libcamera-devel,2/2] libcamera: meson: Add check on required python modules",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b6ff9d76a78d40e8e362986a9fb404021018769a",
    "submitter": {
        "id": 44,
        "url": "https://patchwork.libcamera.org/api/1.1/people/44/?format=api",
        "name": "Ariel D'Alessandro",
        "email": "ariel@vanguardiasur.com.ar"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3462/mbox/",
    "series": [
        {
            "id": 808,
            "url": "https://patchwork.libcamera.org/api/1.1/series/808/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=808",
            "date": "2020-04-14T18:02:27",
            "name": "meson: Check on required python modules",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/808/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3462/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3462/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ariel@vanguardiasur.com.ar>",
        "Received": [
            "from mail-qt1-x836.google.com (mail-qt1-x836.google.com\n\t[IPv6:2607:f8b0:4864:20::836])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 164F862E3D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Apr 2020 20:02:47 +0200 (CEST)",
            "by mail-qt1-x836.google.com with SMTP id s30so10987908qth.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Apr 2020 11:02:47 -0700 (PDT)",
            "from localhost.localdomain ([186.136.155.69])\n\tby smtp.gmail.com with ESMTPSA id\n\tx55sm1791212qtk.3.2020.04.14.11.02.44\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 14 Apr 2020 11:02:45 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=vanguardiasur-com-ar.20150623.gappssmtp.com\n\theader.i=@vanguardiasur-com-ar.20150623.gappssmtp.com\n\theader.b=\"MuouMiXr\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=fdSJP1+0mmYhPLRdDjOntAMIOTF93tJaAvNsnZg6sy0=;\n\tb=MuouMiXrFiNtqcpI6NzB8xpFkj/C9mwp1u0L+9+u+s9UZ9SvfM2wnWwmzU9F1Q2EF1\n\tgNmU2gviGq7i52SK36HlrE7jXMVrplJfMiPpil+RNwpKKp8OYf7Zr62/frzYR7XXa166\n\t3q1gSzj1lJvIXkUikLNKS474pXfUAXhy4uzmIfD6sOctjWCJ6ICT/jMP5/ntvBAhlsPM\n\tIRDAPU48V8+nRm8S2/Z8QjsFaQ4fDg/mgvkjvezAh0rpeM3s4qKAuayYxdhiFqS47/O0\n\thNgCFvzUZrcNfyJw8ReFPoMZmwmHtRc9Tpxs0lcsKqxmu3qyzVs+pZ8N9vfe7g3i10Fb\n\t9T/Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=fdSJP1+0mmYhPLRdDjOntAMIOTF93tJaAvNsnZg6sy0=;\n\tb=g91wT1SCbkXCZuoYmYlF89tb9r1sDhAw7YenWBuC+HURxbNMJ87Mt9uRD9lBolZIET\n\t5VOAh5tiIHemVSeak/yR/qVju5AHye48rXXI/hWlsQU0/agnt5HGN3L+Ve1D0cD1Jt4p\n\tF3TclpEzoyobIFEwCotpEDN7lESdmPohIsx3GTAjdTUnMjtMNFevnmy5FCQOIOe/wqH9\n\ttjsi0n9dNs6PkRlttS1VMv7bqtdv1xFGoWYNlcststzv+lMRx/rgprstRNSNw6oC1GBT\n\ttYbl1dUHPTMu2xlPtxpYoUgjVlrHvodVQASxNSYCG/SQwzKKL5Clck3wFaG7Avxa6gWK\n\tdLvQ==",
        "X-Gm-Message-State": "AGi0PubFPrERr8X7bo5qc0fhg8ctqrrJBY1NvlrBrfptX882uNCKM7Ac\n\tlkZF7Cfg6DvFuQ00yjrFyFKwAUQ52DM=",
        "X-Google-Smtp-Source": "APiQypJPWvvPtM/vEZmn0SOTciSb5N7Mq7ipIqGYcLf8Lp41/y0eot0tpr8jsPvxcgc90mdIqqp6ug==",
        "X-Received": "by 2002:ac8:664a:: with SMTP id\n\tj10mr17737108qtp.167.1586887365683; \n\tTue, 14 Apr 2020 11:02:45 -0700 (PDT)",
        "From": "Ariel D'Alessandro <ariel@vanguardiasur.com.ar>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 14 Apr 2020 15:02:29 -0300",
        "Message-Id": "<20200414180229.10320-3-ariel@vanguardiasur.com.ar>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200414180229.10320-1-ariel@vanguardiasur.com.ar>",
        "References": "<20200414180229.10320-1-ariel@vanguardiasur.com.ar>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] libcamera: meson: Add check on\n\trequired python modules",
        "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": "Tue, 14 Apr 2020 18:02:47 -0000"
    },
    "content": "Libcamera runs a few python scripts during build, which contain python\nmodule dependencies that should be checked.\n\nSigned-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>\n---\n include/libcamera/meson.build | 1 +\n meson.build                   | 2 ++\n src/libcamera/meson.build     | 1 +\n 3 files changed, 4 insertions(+)",
    "diff": "diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build\nindex 23c01d3..1a2fc68 100644\n--- a/include/libcamera/meson.build\n+++ b/include/libcamera/meson.build\n@@ -24,6 +24,7 @@ include_dir = join_paths(libcamera_include_dir, 'libcamera')\n install_headers(libcamera_api,\n                 subdir : include_dir)\n \n+python.find_installation(modules: 'yaml')\n gen_controls = files('../../src/libcamera/gen-controls.py')\n \n control_source_files = [\ndiff --git a/meson.build b/meson.build\nindex a2dda79..2b0e035 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -8,6 +8,8 @@ project('libcamera', 'c', 'cpp',\n     ],\n     license : 'LGPL 2.1+')\n \n+python = import('python')\n+\n # Generate version information. The libcamera_git_version variable contains the\n # full version with git patch count and SHA1 (e.g. 1.2.3+211-c94a24f4), while\n # the libcamera_version variable contains the major.minor.patch (e.g. 1.2.3)\ndiff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex c502450..757bb78 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -76,6 +76,7 @@ if libudev.found()\n     ])\n endif\n \n+python.find_installation(modules: 'yaml')\n gen_controls = files('gen-controls.py')\n \n control_sources = []\n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}