Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: <mingli.yu@windriver.com>
To: <mingli.yu@windriver.com>,
	<openembedded-devel@lists.openembedded.org>,
	<Jackie.Huang@windriver.com>
Subject: [PATCH 1/3] python-mccabe: Remove pytest
Date: Tue, 28 Jun 2016 16:36:31 +0800	[thread overview]
Message-ID: <1467102993-4925-2-git-send-email-mingli.yu@windriver.com> (raw)
In-Reply-To: <1467102993-4925-1-git-send-email-mingli.yu@windriver.com>

From: Mingli Yu <mingli.yu@windriver.com>

* 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 <mingli.yu@windriver.com>
---
 .../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 <mingli.yu@windriver.com>
+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 <mingli.yu@windriver.com>
+---
+ 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



  reply	other threads:[~2016-06-28  8:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28  8:36 [meta-python][PATCH]: update some python packages bb mingli.yu
2016-06-28  8:36 ` mingli.yu [this message]
2016-06-28 14:55   ` [PATCH 1/3] python-mccabe: Remove pytest Tim Orling
2016-06-29  8:18     ` Yu, Mingli
2016-06-28  8:36 ` [PATCH 2/3] python-pbr: add python-pbr bb mingli.yu
2016-06-28 14:56   ` Tim Orling
2016-06-29  8:19     ` Yu, Mingli
2016-06-28  8:36 ` [PATCH 3/3] python-mock: add python-pbr-native dependency mingli.yu
2016-06-28 14:50 ` [meta-python][PATCH]: update some python packages bb Tim Orling
2016-06-29  6:23   ` Yu, Mingli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467102993-4925-2-git-send-email-mingli.yu@windriver.com \
    --to=mingli.yu@windriver.com \
    --cc=Jackie.Huang@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox