Hello community, here is the log from the commit of package python-pymod2pkg for openSUSE:Factory checked in at 2017-04-20 20:54:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymod2pkg (Old) and /work/SRC/openSUSE:Factory/.python-pymod2pkg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymod2pkg" Thu Apr 20 20:54:56 2017 rev:2 rq:487825 version:0.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymod2pkg/python-pymod2pkg.changes 2017-02-21 13:38:05.356064497 +0100 +++ /work/SRC/openSUSE:Factory/.python-pymod2pkg.new/python-pymod2pkg.changes 2017-04-20 20:54:59.917614396 +0200 @@ -1,0 +2,37 @@ +Thu Apr 13 12:50:44 UTC 2017 - cloud-de...@suse.de + +- update to version 0.7.5 + - Change horizon mapping for RDO + +------------------------------------------------------------------- +Thu Apr 6 13:51:10 UTC 2017 - cloud-de...@suse.de + +- update to version 0.7.4: + - Correctly translate horizon for SUSE + - Add RDO mapping rules for dnspython and xattr + - Support horizon ui/dashboard plugins on SUSE + - Translate python-glareclient for SUSE correctly + - Add monasca projects as OpenStack projects + - Updated from global requirements + - Fix RDO mapping for pyScss + - Add RDO mappings for pyscss, XStatic-term.js and nosexcover + +------------------------------------------------------------------- +Mon Feb 20 13:54:39 UTC 2017 - cloud-de...@suse.de + +- update to version 0.7.2: + - Fix mapping of pystache for RDO + - Add RDO mapping for bandit + - Add RDO rule for PyPi package ovs + +------------------------------------------------------------------- +Fri Feb 10 14:11:11 UTC 2017 - cloud-de...@suse.de + +- update to version 0.7.1: + - Add RDO mapping for supervisor + - Add upstream rule for XStatic-smart-table + - Add support for Ubuntu + - Fix RDO mistral mapping + - Add Constraints support + +------------------------------------------------------------------- Old: ---- pymod2pkg-0.7.0.tar.gz New: ---- pymod2pkg-0.7.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymod2pkg.spec ++++++ --- /var/tmp/diff_new_pack.mkfKJh/_old 2017-04-20 20:55:00.425542569 +0200 +++ /var/tmp/diff_new_pack.mkfKJh/_new 2017-04-20 20:55:00.429542003 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pymod2pkg # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %global sname pymod2pkg Name: python-pymod2pkg -Version: 0.7.0 +Version: 0.7.5 Release: 0 Summary: OpenStack Packaging - python module name to package name map License: Apache-2.0 ++++++ pymod2pkg-0.7.0.tar.gz -> pymod2pkg-0.7.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/AUTHORS new/pymod2pkg-0.7.5/AUTHORS --- old/pymod2pkg-0.7.0/AUTHORS 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/AUTHORS 2017-04-07 10:23:38.000000000 +0200 @@ -1,6 +1,7 @@ Alexander Tsamutali <atsamut...@mirantis.com> Andrii Kroshchenko <akroshche...@mirantis.com> Cao Xuan Hoang <hoan...@vn.fujitsu.com> +Chuck Short <chuck.sh...@canonical.com> Dirk Mueller <d...@dmllr.de> Flavio Percoco <flape...@gmail.com> Haikel Guemar <hgue...@fedoraproject.org> @@ -10,4 +11,5 @@ Javier Pena <jp...@redhat.com> Ondřej Nový <ondrej.n...@firma.seznam.cz> Thomas Bechtold <tbecht...@suse.com> +Tomasz Trębski <tomasz.treb...@ts.fujitsu.com> Tony Xu <hhkt...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/ChangeLog new/pymod2pkg-0.7.5/ChangeLog --- old/pymod2pkg-0.7.0/ChangeLog 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/ChangeLog 2017-04-07 10:23:38.000000000 +0200 @@ -1,6 +1,45 @@ CHANGES ======= +0.7.5 +----- + +* Change horizon mapping for RDO + +0.7.4 +----- + +* Correctly translate horizon for SUSE +* Support horizon ui/dashboard plugins on SUSE + +0.7.3 +----- + +* Add monasca projects as OpenStack projects +* Add RDO mapping rules for dnspython and xattr +* Updated from global requirements +* Updated from global requirements +* Fix RDO mapping for pyScss +* Translate python-glareclient for SUSE correctly +* Updated from global requirements +* Add RDO mappings for pyscss, XStatic-term.js and nosexcover + +0.7.2 +----- + +* Add RDO mapping for bandit +* Add RDO rule for PyPi package ovs +* Fix mapping of pystache for RDO + +0.7.1 +----- + +* Fix RDO mistral mapping +* Add RDO mapping for supervisor +* Add upstream rule for XStatic-smart-table +* Add support for Ubuntu +* Add Constraints support + 0.7.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/PKG-INFO new/pymod2pkg-0.7.5/PKG-INFO --- old/pymod2pkg-0.7.0/PKG-INFO 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/PKG-INFO 2017-04-07 10:23:38.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pymod2pkg -Version: 0.7.0 +Version: 0.7.5 Summary: python module name to package name map Home-page: http://docs.openstack.org/developer/pymod2pkg/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/pymod2pkg/__init__.py new/pymod2pkg-0.7.5/pymod2pkg/__init__.py --- old/pymod2pkg-0.7.0/pymod2pkg/__init__.py 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/pymod2pkg/__init__.py 2017-04-07 10:22:18.000000000 +0200 @@ -67,6 +67,10 @@ return pkg +def default_ubuntu_tr(mod): + return 'python-' + mod.lower() + + def default_suse_tr(mod): return 'python-' + mod @@ -90,7 +94,9 @@ # SingleRule('sphinx', 'python-sphinx', # distmap={'epel-6': 'python-sphinx10'}), SingleRule('Babel', 'python-babel'), + SingleRule('bandit', 'bandit'), SingleRule('distribute', 'python-setuptools'), + SingleRule('dnspython', 'python-dns'), SingleRule('google-api-python-client', 'python-google-api-client'), SingleRule('pyOpenSSL', 'pyOpenSSL'), SingleRule('IPy', 'python-IPy'), @@ -102,18 +108,24 @@ SingleRule('PasteDeploy', 'python-paste-deploy'), SingleRule('sqlalchemy-migrate', 'python-migrate'), SingleRule('qpid-python', 'python-qpid'), + SingleRule('nosexcover', 'python-nose-xcover'), SingleRule('posix_ipc', 'python-posix_ipc'), SingleRule('oslosphinx', 'python-oslo-sphinx'), + SingleRule('ovs', 'python-openvswitch'), SingleRule('pyinotify', 'python-inotify'), + SingleRule('pyScss', 'python-scss'), SingleRule('tripleo-incubator', 'openstack-tripleo'), SingleRule('pika-pool', 'python-pika_pool'), SingleRule('suds-jurko', 'python-suds'), + SingleRule('supervisor', 'supervisor'), SingleRule('wsgi_intercept', 'python-wsgi_intercept'), - SingleRule('mistral', 'openstack-mistral-all'), SingleRule('Sphinx', 'python-sphinx'), + SingleRule('xattr', 'pyxattr'), + SingleRule('XStatic-term.js', 'python-XStatic-termjs'), + SingleRule('horizon', 'openstack-dashboard'), MultiRule( mods=['PyYAML', 'm2crypto', 'numpy', 'pyflakes', 'pylint', 'pyparsing', - 'pytz', 'pysendfile', 'libvirt-python'], + 'pystache', 'pytz', 'pysendfile', 'libvirt-python'], pkgfun=lambda x: x), # OpenStack services MultiRule( @@ -122,9 +134,12 @@ 'designate', 'ec2-api', 'glance', 'heat', 'heat-templates', 'ironic', 'ironic-discoverd', 'ironic-inspector', 'ironic-python-agent', 'keystone', 'magnum', 'manila', - 'murano', 'neutron', 'neutron-fwaas', 'neutron-lbaas', - 'neutron-vpnaas', 'nova', 'octavia', 'rally', 'sahara', 'swift', - 'Tempest', 'trove', 'tuskar', 'vitrage', 'zaqar'], + 'mistral', 'monasca-agent', 'monasca-api', 'monasca-log-api', + 'monasca-notification', 'monasca-persister', + 'murano', 'neutron', 'neutron-fwaas', + 'neutron-lbaas', 'neutron-vpnaas', 'nova', 'octavia', 'rally', + 'sahara', 'swift', 'Tempest', 'trove', 'tuskar', + 'vitrage', 'zaqar'], pkgfun=openstack_prefix_tr), # Horizon plugins (normalized to openstack-<project>-ui) RegexRule(pattern=r'\w+-(dashboard|ui)', pkgfun=rdo_horizon_plugins_tr), @@ -141,6 +156,8 @@ # keep lists in alphabetic order mods=['ceilometer', 'cinder', 'designate', 'glance', 'heat', 'ironic', 'keystone', 'manila', 'mistral', + 'monasca-agent', 'monasca-api', 'monasca-log-api', + 'monasca-notification', 'monasca-persister', 'neutron', 'nova', 'rally', 'sahara', 'swift', 'Tempest', 'trove', 'tuskar', 'zaqar'], pkgfun=openstack_prefix_tr), @@ -149,7 +166,7 @@ mods=['python-%sclient' % c for c in ( 'barbican', 'ceilometer', 'cinder', 'cloudkitty', 'congress', 'cue', 'designate', 'distil', 'drac', 'fuel', 'freezer', 'heat', - 'glance', 'ironic', 'ironic-inspector-', + 'glance', 'glare', 'ironic', 'ironic-inspector-', 'karbor', 'k8s', 'keystone', 'magnum', 'manila', 'mistral', 'monasca', 'murano', 'nimble', 'neutron', 'nova', 'oneview', @@ -157,6 +174,43 @@ 'senlin', 'smaug', 'solum', 'swift', 'tacker', 'tripleo', 'trove', 'vitrage', 'watcher', 'zaqar')], pkgfun=lambda x: x), + # ui components + SingleRule('horizon', 'openstack-dashboard'), + SingleRule('designate-dashboard', 'openstack-horizon-plugin-designate-ui'), + SingleRule('group-based-policy-ui', 'openstack-horizon-plugin-gbp-ui'), + SingleRule('ironic-ui', 'openstack-horizon-plugin-ironic-ui'), + SingleRule('magnum-ui', 'openstack-horizon-plugin-magnum-ui'), + SingleRule('manila-ui', 'openstack-horizon-plugin-manila-ui'), + SingleRule('monasca-ui', 'openstack-horizon-plugin-monasca-ui'), + SingleRule('neutron-lbaas-dashboard', + 'openstack-horizon-plugin-neutron-lbaas-ui'), + SingleRule('sahara-dashboard', 'openstack-horizon-plugin-sahara-ui'), + SingleRule('trove-dashboard', 'openstack-horizon-plugin-trove-ui'), +] + +UBUNTU_PKG_MAP = [ + SingleRule('django_openstack_auth', 'python-openstack-auth'), + SingleRule('glance_store', 'python-glance-store'), + SingleRule('GitPython', 'python-git'), + SingleRule('PyMySQL', 'python-mysql'), + SingleRule('pyOpenSSL', 'python-openssl'), + SingleRule('PyYAML', 'python-yaml'), + SingleRule('sqlalchemy-migrate', 'python-migrate'), + SingleRule('suds-jurko', 'python-suds'), + + # Openstack clients + MultiRule( + mods=['python-%sclient' % c for c in ( + 'barbican', 'ceilometer', 'cinder', 'cloudkitty', 'congress', + 'designate', 'fuel', 'heat', 'glance', 'ironic', + 'karbor', 'keystone', + 'magnum', 'manila', 'mistral', 'monasca', + 'murano', 'neutron', 'nova', + 'openstack', 'sahara', + 'senlin', 'swift', + 'trove', 'zaqar')], + pkgfun=lambda x: x), + ] OPENSTACK_UPSTREAM_PKG_MAP = [ @@ -165,18 +219,23 @@ SingleRule('aodhclient', 'python-aodhclient'), SingleRule('keystoneauth1', 'keystoneauth'), SingleRule('microversion_parse', 'microversion-parse'), + SingleRule('XStatic-smart-table', 'xstatic-angular-smart-table'), ] def get_pkg_map(dist): if dist.lower().find('suse') != -1: return SUSE_PKG_MAP + if dist.lower().find('ubuntu') != -1: + return UBUNTU_PKG_MAP return RDO_PKG_MAP def get_default_tr_func(dist): if dist.lower().find('suse') != -1: return default_suse_tr + if dist.lower().find('ubuntu') != -1: + return default_ubuntu_tr return default_rdo_tr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/pymod2pkg.egg-info/PKG-INFO new/pymod2pkg-0.7.5/pymod2pkg.egg-info/PKG-INFO --- old/pymod2pkg-0.7.0/pymod2pkg.egg-info/PKG-INFO 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/pymod2pkg.egg-info/PKG-INFO 2017-04-07 10:23:38.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pymod2pkg -Version: 0.7.0 +Version: 0.7.5 Summary: python module name to package name map Home-page: http://docs.openstack.org/developer/pymod2pkg/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/pymod2pkg.egg-info/SOURCES.txt new/pymod2pkg-0.7.5/pymod2pkg.egg-info/SOURCES.txt --- old/pymod2pkg-0.7.0/pymod2pkg.egg-info/SOURCES.txt 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/pymod2pkg.egg-info/SOURCES.txt 2017-04-07 10:23:38.000000000 +0200 @@ -22,4 +22,5 @@ pymod2pkg.egg-info/not-zip-safe pymod2pkg.egg-info/pbr.json pymod2pkg.egg-info/requires.txt -pymod2pkg.egg-info/top_level.txt \ No newline at end of file +pymod2pkg.egg-info/top_level.txt +tools/tox_install.sh \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/pymod2pkg.egg-info/pbr.json new/pymod2pkg-0.7.5/pymod2pkg.egg-info/pbr.json --- old/pymod2pkg-0.7.0/pymod2pkg.egg-info/pbr.json 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/pymod2pkg.egg-info/pbr.json 2017-04-07 10:23:38.000000000 +0200 @@ -1 +1 @@ -{"is_release": true, "git_version": "f56b677"} \ No newline at end of file +{"git_version": "d5fb90a", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/pymod2pkg.egg-info/requires.txt new/pymod2pkg-0.7.5/pymod2pkg.egg-info/requires.txt --- old/pymod2pkg-0.7.0/pymod2pkg.egg-info/requires.txt 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/pymod2pkg.egg-info/requires.txt 2017-04-07 10:23:38.000000000 +0200 @@ -1 +1 @@ -pbr>=1.8 +pbr>=2.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/requirements.txt new/pymod2pkg-0.7.5/requirements.txt --- old/pymod2pkg-0.7.0/requirements.txt 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/requirements.txt 2017-04-07 10:22:18.000000000 +0200 @@ -1,4 +1,4 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -pbr>=1.8 # Apache-2.0 +pbr>=2.0.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/setup.cfg new/pymod2pkg-0.7.5/setup.cfg --- old/pymod2pkg-0.7.0/setup.cfg 2016-12-05 15:24:50.000000000 +0100 +++ new/pymod2pkg-0.7.5/setup.cfg 2017-04-07 10:23:38.000000000 +0200 @@ -42,5 +42,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/setup.py new/pymod2pkg-0.7.5/setup.py --- old/pymod2pkg-0.7.0/setup.py 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/setup.py 2017-04-07 10:22:18.000000000 +0200 @@ -25,5 +25,5 @@ pass setuptools.setup( - setup_requires=['pbr>=1.8'], + setup_requires=['pbr>=2.0.0'], pbr=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/test-requirements.txt new/pymod2pkg-0.7.5/test-requirements.txt --- old/pymod2pkg-0.7.0/test-requirements.txt 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/test-requirements.txt 2017-04-07 10:22:18.000000000 +0200 @@ -6,5 +6,5 @@ testresources>=0.2.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +sphinx>=1.5.1 # BSD oslosphinx>=4.7.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/tests.py new/pymod2pkg-0.7.5/tests.py --- old/pymod2pkg-0.7.0/tests.py 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/tests.py 2017-04-07 10:22:18.000000000 +0200 @@ -27,6 +27,8 @@ def test_get_default_translation_func(self): self.assertEqual(pymod2pkg.get_default_tr_func('suse'), pymod2pkg.default_suse_tr) + self.assertEqual(pymod2pkg.get_default_tr_func('ubuntu'), + pymod2pkg.default_ubuntu_tr) self.assertEqual(pymod2pkg.get_default_tr_func('anything'), pymod2pkg.default_rdo_tr) @@ -54,6 +56,16 @@ self.assertEqual(pymod2pkg.module2package('Tempest', 'suse'), 'openstack-tempest') + def test_translation_ubuntu(self): + self.assertEqual(pymod2pkg.module2package('nova', 'ubuntu'), + 'python-nova') + self.assertEqual(pymod2pkg.module2package('python-cinderclient', + 'ubuntu'), + 'python-cinderclient') + self.assertEqual(pymod2pkg.module2package('python-neutronclient', + 'ubuntu'), + 'python-neutronclient') + def test_default_translation_rdo(self): self.assertEqual(pymod2pkg.module2package('oslo.db', 'fedora'), 'python-oslo-db') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/tools/tox_install.sh new/pymod2pkg-0.7.5/tools/tox_install.sh --- old/pymod2pkg-0.7.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/pymod2pkg-0.7.5/tools/tox_install.sh 2017-04-07 10:22:18.000000000 +0200 @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +# Client constraint file contains this client version pin that is in conflict +# with installing the client from source. We should remove the version pin in +# the constraints file before applying it for from-source installation. + +CONSTRAINTS_FILE=$1 +shift 1 + +set -e + +# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get +# published to logs.openstack.org for easy debugging. +localfile="$VIRTUAL_ENV/log/upper-constraints.txt" + +if [[ $CONSTRAINTS_FILE != http* ]]; then + CONSTRAINTS_FILE=file://$CONSTRAINTS_FILE +fi +# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep +curl $CONSTRAINTS_FILE --insecure --progress-bar --output $localfile + +pip install -c$localfile openstack-requirements + +# This is the main purpose of the script: Allow local installation of +# the current repo. It is listed in constraints file and thus any +# install will be constrained and we need to unconstrain it. +edit-constraints $localfile -- $CLIENT_NAME + +pip install -c$localfile -U $* +exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.7.0/tox.ini new/pymod2pkg-0.7.5/tox.ini --- old/pymod2pkg-0.7.0/tox.ini 2016-12-05 15:23:07.000000000 +0100 +++ new/pymod2pkg-0.7.5/tox.ini 2017-04-07 10:22:18.000000000 +0200 @@ -1,15 +1,18 @@ [tox] envlist = py34,py27,pypy,pep8 -minversion = 1.6 +minversion = 2.0 skipsdist = True [testenv] usedevelop = True -install_command = pip install -U {opts} {packages} +install_command = + {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_NOCAPTURE=False OS_STDERR_NOCAPTURE=False PYTHONHASHSEED=0 + BRANCH_NAME=master + CLIENT_NAME=pymod2pkg deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --testr-args='{posargs}'