Skip to contentSkip to conversation

python3-astor: Upgrade 0.7.1->0.8.0

PATCH In review Richard Purdie 2 participants 4 messages Oct 23, 2019 – Oct 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-astor: Upgrade 0.7.1->0.8.0

---
 .../python/{python3-astor_0.7.1.bb => python3-astor_0.8.0.bb}     | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-astor_0.7.1.bb => python3-astor_0.8.0.bb} (100%)
meta-python/recipes-devtools/python/python3-astor_0.8.0.bb renamed from meta-python/recipes-devtools/python/python3-astor_0.7.1.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-astor_0.7.1.bb
rename to meta-python/recipes-devtools/python/python3-astor_0.8.0.bb
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 python3-astor: Fix issue with new version of setuptools

---
 .../python3-astor/fix-new-setuptools.patch     | 18 ++++++++++++++++++
 .../python/python3-astor_0.8.0.bb              |  3 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-astor/fix-new-setuptools.patch
meta-python/recipes-devtools/python/python3-astor/fix-new-setuptools.patch new file +18 -0
new file mode 100644
index 000000000..90defe25c
@@ -0,0 +1,18 @@
+New versions of setuptools can't parse this expression. We know our python versions
+match so just remove it until upstream fixes it.
+
+Signed-off-by: Richard Purdie <[email protected]>
+Upstream-Status: Pending
+
+Index: git/setup.cfg
+===================================================================
+--- git.orig/setup.cfg
++++ git/setup.cfg
+@@ -34,7 +34,6 @@ classifiers =
+ zip_safe = True
+ include_package_data = True
+ packages = find:
+-python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+ 
+ [options.packages.find]
+ exclude = tests
meta-python/recipes-devtools/python/python3-astor_0.8.0.bb +2 -1
index c2dc9245c..97dbdbbea 100644
@@ -4,7 +4,8 @@ SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7"
 
-SRC_URI = "git://github.com/berkerpeksag/astor.git"
+SRC_URI = "git://github.com/berkerpeksag/astor.git \
+           file://fix-new-setuptools.patch"
 SRCREV ?= "4ca3a26e52f08678854c2841cd0fdf223461e47d"
 
 inherit setuptools3
Signature · 1 line
2.20.1
#2 lore raw

Re: [PATCH 2/2] python3-astor: Fix issue with new version of setuptools

Hi Richard

there is a upstream proposed fix as pointed by Adrian which I picked instead

Quoted 54 lines · Richard Purdie
---
 .../python3-astor/fix-new-setuptools.patch     | 18 ++++++++++++++++++
 .../python/python3-astor_0.8.0.bb              |  3 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-astor/fix-new-setuptools.patch
meta-python/recipes-devtools/python/python3-astor/fix-new-setuptools.patch new file +18 -0
new file mode 100644
index 000000000..90defe25c
@@ -0,0 +1,18 @@
+New versions of setuptools can't parse this expression. We know our python versions
+match so just remove it until upstream fixes it.
+
+Signed-off-by: Richard Purdie <[email protected]>
+Upstream-Status: Pending
+
+Index: git/setup.cfg
+===================================================================
+--- git.orig/setup.cfg
++++ git/setup.cfg
+@@ -34,7 +34,6 @@ classifiers =
+ zip_safe = True
+ include_package_data = True
+ packages = find:
+-python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+
+ [options.packages.find]
+ exclude = tests
meta-python/recipes-devtools/python/python3-astor_0.8.0.bb +2 -2
index c2dc9245c..97dbdbbea 100644
@@ -4,7 +4,8 @@ SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7"
 
-SRC_URI = "git://github.com/berkerpeksag/astor.git"
+SRC_URI = "git://github.com/berkerpeksag/astor.git \
+           file://fix-new-setuptools.patch"
 SRCREV ?= "4ca3a26e52f08678854c2841cd0fdf223461e47d"
 
 inherit setuptools3
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Richard Purdie

Hi Richard

This also needed SRCREV bump, so I have actually staged a fix with that change as well.

Quoted 19 lines · Richard Purdie
---
 .../python/{python3-astor_0.7.1.bb => python3-astor_0.8.0.bb}     | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-astor_0.7.1.bb => python3-astor_0.8.0.bb} (100%)
meta-python/recipes-devtools/python/python3-astor_0.8.0.bb renamed from meta-python/recipes-devtools/python/python3-astor_0.7.1.bb +0 -1
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-astor_0.7.1.bb
rename to meta-python/recipes-devtools/python/python3-astor_0.8.0.bb
--

2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel