diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-02-09 21:35:54 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-02-09 21:36:11 -0500 |
commit | bd6bf732efadbcb7598ccb644c417d6e070f7f58 (patch) | |
tree | 0f5a1560bb0a3c029f3d893e5c85afb2bdcf75b6 | |
parent | ac5e9f55a5da4dc09e39db3a9d485487ace34310 (diff) | |
download | meta-virtualization-bd6bf732efadbcb7598ccb644c417d6e070f7f58.tar.gz |
newrelic: update to 6.0.1.155
Along with the version bump, we tweak the LICENSE checksum, since the
file changed locations in the repository.
We also add a patch to setup.py to allow the version of setuptools_scm
in oe-core to satisfy the build requirements.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch | 32 | ||||
-rw-r--r-- | recipes-devtools/python/python3-newrelic_6.0.1.155.bb (renamed from recipes-devtools/python/python3-newrelic_5.14.1.144.bb) | 10 |
2 files changed, 39 insertions, 3 deletions
diff --git a/recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch b/recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch new file mode 100644 index 00000000..7ec705bc --- /dev/null +++ b/recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From a61cea5053730f8180eb1fc8b4cb0f94ff4fc176 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Tue, 9 Feb 2021 21:31:19 -0500 | ||
4 | Subject: [PATCH] setup.py: tweak setuptools_scm version dependency | ||
5 | |||
6 | The version dependency of <4 isn't showing any issues in builds. | ||
7 | The oe-core version is 5+, and carrying a secondary version is | ||
8 | not trivial or something we want to do. | ||
9 | |||
10 | So we tweak the version to accept what we have in oe-core. | ||
11 | |||
12 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
13 | --- | ||
14 | setup.py | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/setup.py b/setup.py | ||
18 | index ade43a9..889a74f 100644 | ||
19 | --- a/setup.py | ||
20 | +++ b/setup.py | ||
21 | @@ -132,7 +132,7 @@ kwargs = dict( | ||
22 | "git_describe_command": "git describe --dirty --tags --long --match *.*.*.*", | ||
23 | "write_to": "newrelic/version.txt", | ||
24 | }, | ||
25 | - setup_requires=["setuptools_scm>=3.2,<4"], | ||
26 | + setup_requires=["setuptools_scm>=3.2"], | ||
27 | description = "New Relic Python Agent", | ||
28 | long_description = open(readme_file).read(), | ||
29 | url = "https://newrelic.com/docs/python/new-relic-for-python", | ||
30 | -- | ||
31 | 2.19.1 | ||
32 | |||
diff --git a/recipes-devtools/python/python3-newrelic_5.14.1.144.bb b/recipes-devtools/python/python3-newrelic_6.0.1.155.bb index 42e87d33..f79c99ca 100644 --- a/recipes-devtools/python/python3-newrelic_5.14.1.144.bb +++ b/recipes-devtools/python/python3-newrelic_6.0.1.155.bb | |||
@@ -6,13 +6,17 @@ DESCRIPTION = "\ | |||
6 | " | 6 | " |
7 | SECTION = "devel/python" | 7 | SECTION = "devel/python" |
8 | LICENSE = "BSD-3-Clause & MIT & Python-2.0 & BSD-2-Clause & NewRelic" | 8 | LICENSE = "BSD-3-Clause & MIT & Python-2.0 & BSD-2-Clause & NewRelic" |
9 | LIC_FILES_CHKSUM = "file://newrelic/LICENSE;md5=b4840908dbb9e62b3d8891e77187b34f" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "53115aea6cbdf0e2721279c230230600" | 11 | SRC_URI[md5sum] = "0acf701c37ceb590e2a12d358ced16d7" |
12 | SRC_URI[sha256sum] = "340ebcdb0dd08bfb597c71598d6d8f746a93f7e4921f10b3616c9142c608a14d" | 12 | SRC_URI[sha256sum] = "e96689fc75eb2b1591903ad9e74225f5e1da734afcd3151d318c53f6635b5dda" |
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
15 | 15 | ||
16 | DEPENDS += "python3-setuptools-scm-native" | ||
17 | |||
18 | SRC_URI += "file://0001-setup.py-tweak-setuptools_scm-version-dependency.patch" | ||
19 | |||
16 | FILES_${PN}-dbg += "\ | 20 | FILES_${PN}-dbg += "\ |
17 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/*/.debug \ | 21 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/*/.debug \ |
18 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/packages/*/.debug/ \ | 22 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/packages/*/.debug/ \ |