From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 61BA273189 for ; Tue, 28 Jun 2016 08:37:31 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u5S8bWnM011734 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 28 Jun 2016 01:37:32 -0700 (PDT) Received: from pek-hostel-deb02.wrs.com (128.224.153.152) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Tue, 28 Jun 2016 01:37:31 -0700 From: To: , , Date: Tue, 28 Jun 2016 16:36:31 +0800 Message-ID: <1467102993-4925-2-git-send-email-mingli.yu@windriver.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1467102993-4925-1-git-send-email-mingli.yu@windriver.com> References: <1467102993-4925-1-git-send-email-mingli.yu@windriver.com> MIME-Version: 1.0 Subject: [PATCH 1/3] python-mccabe: Remove pytest X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 08:37:33 -0000 Content-Type: text/plain From: Mingli Yu * Remove pytest to avoid dependency on python-runner as only one file test_mccabe.py import pytest and this test_mccabe.py file not install on our target eventually. Signed-off-by: Mingli Yu --- .../python-mccabe-Remove-pytest.patch | 32 ++++++++++++++++++++++ .../recipes-devtools/python/python-mccabe_0.4.0.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-mccabe/python-mccabe-Remove-pytest.patch diff --git a/meta-python/recipes-devtools/python/python-mccabe/python-mccabe-Remove-pytest.patch b/meta-python/recipes-devtools/python/python-mccabe/python-mccabe-Remove-pytest.patch new file mode 100644 index 0000000..ebe70c5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-mccabe/python-mccabe-Remove-pytest.patch @@ -0,0 +1,32 @@ +From 7c0dc893cd3e57df16cf43d2c51c047997ea5c69 Mon Sep 17 00:00:00 2001 +From: Mingli Yu +Date: Wed, 22 Jun 2016 02:33:48 +0000 +Subject: [PATCH] python-mccabe: Remove pytest + +* Remove pytest to avoid dependency on python-runner + as only one file test_mccabe.py import pytest and this + test_mccabe.py file not install on our target eventually. + +Upstream-Status: Inappropriate[oe specific] + +Signed-off-by: Mingli Yu +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index e59903d..64c3ded 100644 +--- a/setup.py ++++ b/setup.py +@@ -33,8 +33,6 @@ setup( + license='Expat license', + py_modules=['mccabe'], + zip_safe=False, +- setup_requires=['pytest-runner'], +- tests_require=['pytest'], + entry_points={ + 'flake8.extension': [ + 'C90 = mccabe:McCabeChecker', +-- +2.8.2 + diff --git a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb index 0958f75..1377446 100644 --- a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +++ b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb @@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/dreamhost/cliff" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://README.rst;md5=f8b50fba1711ecac6bcdb6324f85a66d" +SRC_URI = "file://python-mccabe-Remove-pytest.patch" SRC_URI[md5sum] = "8c425db05f310adcd4bb174b991f26f5" SRC_URI[sha256sum] = "9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca49822688642207b" -- 2.8.1