diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-jsonpatch/Drop-support-for-EOL-Python-3.3.patch | 35 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb | 4 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-jsonpatch/Drop-support-for-EOL-Python-3.3.patch b/meta-python/recipes-devtools/python/python-jsonpatch/Drop-support-for-EOL-Python-3.3.patch new file mode 100644 index 0000000000..ccd8e127c9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-jsonpatch/Drop-support-for-EOL-Python-3.3.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 71bdeed8b49390ff14fe8f0434fc8a1038d89128 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hugo <hugovk@users.noreply.github.com> | ||
| 3 | Date: Tue, 16 Jan 2018 14:22:33 +0200 | ||
| 4 | Subject: [PATCH 1/4] Drop support for EOL Python 3.3 | ||
| 5 | |||
| 6 | Upstream-Status: Backport | ||
| 7 | |||
| 8 | [MA: remove dev only files from patch] | ||
| 9 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | ||
| 10 | |||
| 11 | --- | ||
| 12 | setup.py | 2 +- | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index 0776c41..471c433 100644 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -58,7 +58,6 @@ CLASSIFIERS = [ | ||
| 19 | 'Programming Language :: Python :: 2', | ||
| 20 | 'Programming Language :: Python :: 2.7', | ||
| 21 | 'Programming Language :: Python :: 3', | ||
| 22 | - 'Programming Language :: Python :: 3.3', | ||
| 23 | 'Programming Language :: Python :: 3.4', | ||
| 24 | 'Programming Language :: Python :: 3.5', | ||
| 25 | 'Programming Language :: Python :: 3.6', | ||
| 26 | @@ -81,5 +80,6 @@ setup(name=PACKAGE, | ||
| 27 | package_data={'': ['requirements.txt']}, | ||
| 28 | scripts=['bin/jsondiff', 'bin/jsonpatch'], | ||
| 29 | classifiers=CLASSIFIERS, | ||
| 30 | + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | ||
| 31 | **OPTIONS | ||
| 32 | ) | ||
| 33 | -- | ||
| 34 | 2.7.4 | ||
| 35 | |||
diff --git a/meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb b/meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb index 90cd318026..2b253b50ea 100644 --- a/meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb +++ b/meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb | |||
| @@ -2,3 +2,7 @@ inherit setuptools | |||
| 2 | require python-jsonpatch.inc | 2 | require python-jsonpatch.inc |
| 3 | 3 | ||
| 4 | RDEPENDS_${PN} += "${PYTHON_PN}-re" | 4 | RDEPENDS_${PN} += "${PYTHON_PN}-re" |
| 5 | |||
| 6 | SRC_URI += " \ | ||
| 7 | file://Drop-support-for-EOL-Python-3.3.patch \ | ||
| 8 | " | ||
