get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 573126,
    "url": "http://patchwork.ozlabs.org/api/patches/573126/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1453799061-7131-1-git-send-email-davepiq@yahoo.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1453799061-7131-1-git-send-email-davepiq@yahoo.fr>",
    "list_archive_url": null,
    "date": "2016-01-26T09:04:20",
    "name": "[1/2] Qwt package : added dependency to Qt5 besides Qt.",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "fe9223492e9e6a0d6cbf51d1854947f9ef958d1c",
    "submitter": {
        "id": 68165,
        "url": "http://patchwork.ozlabs.org/api/people/68165/?format=api",
        "name": "David PICARD",
        "email": "davepiq@yahoo.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1453799061-7131-1-git-send-email-davepiq@yahoo.fr/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/573126/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/573126/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 46F9B140307\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Jan 2016 20:04:45 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 5A9698A002;\n\tTue, 26 Jan 2016 09:04:44 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id AkfLtGmmG6qI; Tue, 26 Jan 2016 09:04:42 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id A43338A019;\n\tTue, 26 Jan 2016 09:04:42 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 6DC941CF4E2\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 26 Jan 2016 09:04:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 690198AB02\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 26 Jan 2016 09:04:41 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id DiQrcSEbFJ0H for <buildroot@lists.busybox.net>;\n\tTue, 26 Jan 2016 09:04:40 +0000 (UTC)",
            "from nm4-vm8.bullet.mail.ir2.yahoo.com\n\t(nm4-vm8.bullet.mail.ir2.yahoo.com [212.82.96.106])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 494FD893AB\n\tfor <buildroot@buildroot.org>; Tue, 26 Jan 2016 09:04:40 +0000 (UTC)",
            "from [212.82.98.60] by nm4.bullet.mail.ir2.yahoo.com with NNFMP;\n\t26 Jan 2016 09:04:38 -0000",
            "from [46.228.39.72] by tm13.bullet.mail.ir2.yahoo.com with NNFMP; \n\t26 Jan 2016 09:04:38 -0000",
            "from [127.0.0.1] by smtp109.mail.ir2.yahoo.com with NNFMP;\n\t26 Jan 2016 09:04:38 -0000"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=yahoo.fr header.i=@yahoo.fr header.b=Q2f/SD4w;\n\tdkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048;\n\tt=1453799078; bh=a6wI+EHZy14Efq+ztmG7UNJQTU+yeaSHlKKxVBGfo2k=;\n\th=From:To:Cc:Subject:Date:From:Subject;\n\tb=Q2f/SD4w3+88AZaQaFEheGnZPQ1vTULThrcOO7VUAEJ66u9SkGZI77TVI98kL1BcjaR8LOQlEPXjXkMSON9KeUTQoyKLtMTyJiUrxzB5/5YUhZYNj2f0Jw1wBrleduMYXoydMfgy0FgI5Q7O4CWw8ZTgPdtVVXRGCfFiwfcvHzDL4K8OQMBjwc9N5APe8ejEbWnoN5/AqYgBmJ3gP+j7XSHJBPEwvT1fPBxUC49fAakqdJ4Zfwa2tK8iXJr3xUPqbD0CvG27HbV5Uvc2uEtWP/TuGNu4nZoWB9w0Bp521fRMQL/HYEwgWh0NVLmSAsoVTd+t0V+Hs3BB7CtyuJvtlw==",
        "X-Yahoo-Newman-Id": "561691.86897.bm@smtp109.mail.ir2.yahoo.com",
        "X-Yahoo-Newman-Property": "ymail-3",
        "X-YMail-OSG": "3.2cJh0VM1l46XjtNtpWIQqRCEic_4uFfc8XPGQP43vCE..\n\tT7MSCSZqs3oWw.viwcVGveM9eX9pJm7oJ.GPPr1YR7o8QBYcYonCQMB1K82u\n\tpWhsbTbf7qz75.7.Pgi9IadMsoZNBadBMiFKBynKLub72K3y6xqWe_AdZjZO\n\tVAItG.2svN35XQenf_NJ2m3cy2dC1HZIHAdjNERKhquprurYXGIn526C6X3N\n\tXxV0zsyHeSp7OIvbOlvmmmC0Mqvk65X.1XRIiFACDj55SlCxk.S4WQhKqDYN\n\t5TBLH7Y8Ljd69t6L7psNvGeAelY8yhvL7lYxzgcg8vrLwW2MsufnZ4qt7yqQ\n\tSH6Bvea4P4ximnv6bqPXkXs3dWvYZ6WVMDTJZ5JU1joP1xoUaGJRJrCsmWwa\n\t.jvkRdG1X8arYJiwD1WY2Unv11.G0goL4WQLoT_xzc9DQHTSIJxo.gqk1hG3\n\tvBnV0ukaMOccpKu2cuQwCtSmxqUnosNE90x_6jGB5F3OWjAwJls65mKGq73p\n\tjlwc1fnA1x92ecqri_QP3SGz3K5d_gqmyT3k.",
        "X-Yahoo-SMTP": "aiskzS6swBAbO_93.DIFaPi3RPs-",
        "From": "David Picard <davepiq@yahoo.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Tue, 26 Jan 2016 10:04:20 +0100",
        "Message-Id": "<1453799061-7131-1-git-send-email-davepiq@yahoo.fr>",
        "X-Mailer": "git-send-email 1.9.1",
        "Cc": "David Picard <davepiq@yahoo.fr>",
        "Subject": "[Buildroot] [PATCH 1/2] Qwt package : added dependency to Qt5\n\tbesides Qt.",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Replaced the original select by depends on, due to recursive dependencies\ninvolving qt5base. Qwt optional modules not tested.\n\nSigned-off-by: David Picard <davepiq@yahoo.fr>\n---\n package/qwt/Config.in | 20 +++++++++++++-------\n package/qwt/qwt.mk    | 16 +++++++++++++++-\n 2 files changed, 28 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/package/qwt/Config.in b/package/qwt/Config.in\nindex 8c7bc56..40b382b 100644\n--- a/package/qwt/Config.in\n+++ b/package/qwt/Config.in\n@@ -1,7 +1,8 @@\n config BR2_PACKAGE_QWT\n \tbool \"qwt\"\n-\tdepends on BR2_PACKAGE_QT\n-\tdepends on BR2_PACKAGE_QT_GUI_MODULE\n+\tdepends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE\n+\tdepends on BR2_PACKAGE_QT_GUI_MODULE || BR2_PACKAGE_QT5BASE_GUI\n+\tselect BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5BASE\n \thelp\n \t  Qwt is a graphics extension to the Qt GUI application\n \t  framework. It provides a 2D plotting widget and more.\n@@ -12,7 +13,8 @@ if BR2_PACKAGE_QWT\n \n config BR2_PACKAGE_QWT_SVG\n \tbool \"SVG support\"\n-\tselect BR2_PACKAGE_QT_SVG\n+\tdepends on BR2_PACKAGE_QT_SVG || BR2_PACKAGE_QT5SVG\n+\n \n config BR2_PACKAGE_QWT_MATHML\n \tbool \"MathML support\"\n@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL\n \tbool \"OpenGL support\"\n \tdepends on BR2_PACKAGE_HAS_LIBGLES\n \tdepends on BR2_PACKAGE_HAS_LIBEGL\n-\tselect BR2_PACKAGE_QT_OPENGL_ES\n+\tselect BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT\n+\tselect BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE\n+\n+comment \"SVG support depends on Qt or Qt5 SVG module\"\n+\tdepends on !BR2_PACKAGE_QT_SVG && !BR2_PACKAGE_QT5SVG\n \n endif\n \n-comment \"qwt depends on QT gui module\"\n-\tdepends on BR2_PACKAGE_QT\n-\tdepends on !BR2_PACKAGE_QT_GUI_MODULE\n+comment \"qwt depends on Qt or Qt5 gui module\"\n+\tdepends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE\n+\tdepends on !BR2_PACKAGE_QT_GUI_MODULE && !BR2_PACKAGE_QT5BASE_GUI\ndiff --git a/package/qwt/qwt.mk b/package/qwt/qwt.mk\nindex 8a46c25..cdb3008 100644\n--- a/package/qwt/qwt.mk\n+++ b/package/qwt/qwt.mk\n@@ -8,7 +8,14 @@ QWT_VERSION = 6.1.2\n QWT_SOURCE = qwt-$(QWT_VERSION).tar.bz2\n QWT_SITE = http://downloads.sourceforge.net/project/qwt/qwt/$(QWT_VERSION)\n QWT_INSTALL_STAGING = YES\n-QWT_DEPENDENCIES = qt\n+ifeq ($(BR2_PACKAGE_QT),y)\n+QWT_DEPENDENCIES += qt\n+endif\n+ifeq ($(BR2_PACKAGE_QT5BASE),y)\n+QWT_DEPENDENCIES += qt5base\n+QT5_MAKE = $(HOST_DIR)/usr/bin/qmake -spec $(HOST_DIR)/mkspecs/devices/linux-buildroot-g++\n+endif\n+\n \n QWT_LICENSE = LGPLv2.1 with exceptions\n QWT_LICENSE_FILES = COPYING\n@@ -35,10 +42,17 @@ else\n QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtOpenGL.*$$/\\# QWT_CONFIG += QwtOpenGL/'\n endif\n \n+ifeq ($(BR2_PACKAGE_QT),y)\n define QWT_CONFIGURE_CMDS\n \t$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri\n \t(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))\n endef\n+else\n+define QWT_CONFIGURE_CMDS\n+\t$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri\n+\t(cd $(@D); $(TARGET_MAKE_ENV) $(QT5_QMAKE))\n+endef\n+endif\n \n define QWT_BUILD_CMDS\n \t$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)\n",
    "prefixes": [
        "1/2"
    ]
}