Hello community, here is the log from the commit of package cloud-init for openSUSE:Factory checked in at 2017-09-20 17:14:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cloud-init (Old) and /work/SRC/openSUSE:Factory/.cloud-init.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cloud-init" Wed Sep 20 17:14:12 2017 rev:39 rq:527526 version:0.7.8 Changes: -------- --- /work/SRC/openSUSE:Factory/cloud-init/cloud-init.changes 2017-09-19 17:35:25.652014441 +0200 +++ /work/SRC/openSUSE:Factory/.cloud-init.new/cloud-init.changes 2017-09-20 17:14:13.332622059 +0200 @@ -1,0 +2,7 @@ +Wed Sep 20 10:11:42 UTC 2017 - [email protected] + +- add skip-argparse-on-python3.patch: don't depend on argparse + for python3, it is builtin there (as of python 3.2, so the + patch should be good enough) + +------------------------------------------------------------------- New: ---- skip-argparse-on-python3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloud-init.spec ++++++ --- /var/tmp/diff_new_pack.e8SRBc/_old 2017-09-20 17:14:14.052520720 +0200 +++ /var/tmp/diff_new_pack.e8SRBc/_new 2017-09-20 17:14:14.056520157 +0200 @@ -57,6 +57,7 @@ Patch30: cloud-init-handle-not-implemented-query.patch Patch32: cloud-init-net-sysconfig-lp1665441.patch Patch33: cloud-init-spceandtabs-clean.patch +Patch34: skip-argparse-on-python3.patch BuildRequires: fdupes BuildRequires: filesystem %if 0%{?suse_version} && 0%{?suse_version} > 1315 @@ -223,6 +224,7 @@ %patch30 %patch32 -p1 %patch33 -p1 +%patch34 %if 0%{?suse_version} && 0%{?suse_version} <= 1210 %patch40 -p1 %endif ++++++ skip-argparse-on-python3.patch ++++++ --- requirements.txt +++ requirements.txt @@ -27,9 +27,6 @@ # All new style configurations are in the yaml format pyyaml -# The new main entrypoint uses argparse instead of optparse -argparse - # Requests handles ssl correctly! requests --- setup.py +++ setup.py @@ -198,7 +198,7 @@ requirements = read_requires() if sys.version_info < (3,): - requirements.append('cheetah') + requirements.extend(('cheetah', 'argparse')) setuptools.setup( name='cloud-init',
