diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-17 22:22:16 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-19 09:16:54 -0700 |
commit | 728e5b08e20f26e077d61f2857c31b20ff8162f4 (patch) | |
tree | d4d51b78a598c8c6134896d1f200c687b92e6351 /meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch | |
parent | 9a98ff7dcc513771d892985e93cbe28f2f54bef5 (diff) | |
download | meta-openembedded-728e5b08e20f26e077d61f2857c31b20ff8162f4.tar.gz |
python3-haversine: Fix build with latest python/setuptools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch b/meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch new file mode 100644 index 0000000000..bb5955a44e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-haversine/0001-setup.py-Correct-the-license-assignment.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 56b421a18ef8acb41ab9e4bde7e1f5452ec67da9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 17 May 2021 22:17:07 -0700 | ||
4 | Subject: [PATCH] setup.py: Correct the license assignment | ||
5 | |||
6 | latest python/2.9 + setuptools bail out otherwise | ||
7 | |||
8 | lines = header.split('\n') | ||
9 | | AttributeError: 'list' object has no attribute 'split' | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/mapado/haversine/pull/38] | ||
12 | Signed-off-by: Khem Raj <raj.khem@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 549436d..9e7fb00 100755 | ||
19 | --- a/setup.py | ||
20 | +++ b/setup.py | ||
21 | @@ -15,7 +15,7 @@ setup( | ||
22 | maintainer_email='julien.deniau@mapado.com', | ||
23 | url='https://github.com/mapado/haversine', | ||
24 | packages=['haversine'], | ||
25 | - license=['MIT'], | ||
26 | + license='MIT', | ||
27 | classifiers=[ | ||
28 | 'Development Status :: 4 - Beta', | ||
29 | 'Intended Audience :: Developers', | ||
30 | -- | ||
31 | 2.31.1 | ||
32 | |||