Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-08-12 20:27:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and      /work/SRC/openSUSE:Factory/.python-py2pack.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py2pack"

Sat Aug 12 20:27:32 2017 rev:42 rq:516069 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes    
2017-06-23 09:18:44.811196126 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes       
2017-08-12 20:27:34.376913648 +0200
@@ -1,0 +2,11 @@
+Fri Aug 11 08:22:57 UTC 2017 - tbecht...@suse.com
+
+- update to 0.8.1:
+  * Enable tests with python setup.py test
+  * Also support for python 3.6
+  * Fix opensuse's multipython template
+  * unify trailing whitespaces in templates
+  * Handle no upstream source download URL gracefully
+  * Allow packaging custom pypi names via obs-from-pypi.py
+
+-------------------------------------------------------------------

Old:
----
  py2pack-0.8.0.tar.gz

New:
----
  py2pack-0.8.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-py2pack.spec ++++++
--- /var/tmp/diff_new_pack.Wj02Ux/_old  2017-08-12 20:27:36.332639572 +0200
+++ /var/tmp/diff_new_pack.Wj02Ux/_new  2017-08-12 20:27:36.340638451 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-py2pack
-Version:        0.8.0
+Version:        0.8.1
 Release:        0
 Url:            http://github.com/saschpe/py2pack
 Summary:        Generate distribution packages from Python packages on PyPI

++++++ py2pack-0.8.0.tar.gz -> py2pack-0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/AUTHORS new/py2pack-0.8.1/AUTHORS
--- old/py2pack-0.8.0/AUTHORS   2017-03-02 10:24:28.000000000 +0100
+++ new/py2pack-0.8.1/AUTHORS   2017-08-11 10:15:34.000000000 +0200
@@ -1,19 +1,13 @@
 Adam Spiers <py2p...@adamspiers.org>
-Bitdeli Chef <c...@bitdeli.com>
-Jerome Soyer <jerome.so...@ac-dijon.fr>
 Jürgen Weigert <jue...@fabfolk.com>
 Lukas Wunner <lu...@wunner.de>
 Manuel Schnitzer <mschnit...@suse.de>
-Oliver Bengs <obe...@flashgrafik.de>
-Sascha Peilicke <sasch...@gmx.de>
+Oliver Kurz <ok...@suse.de>
 Sascha Peilicke <sas...@peilicke.de>
 Sascha Peilicke <sasc...@gmx.de>
 Sascha Peilicke <sasc...@mailbox.org>
-Sascha Peilicke <sasc...@suse.de>
-Sascha Peilicke <speili...@suse.com>
 Sebastian Wagner <se...@sebix.at>
 Thomas Bechtold <tbecht...@suse.com>
 Thomas Bechtold <thomasbecht...@jpberlin.de>
 Valentin Haenel <valentin.hae...@gmx.de>
-blumentopf <github.20.meli...@xoxy.net>
 frispete <h...@urpla.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/ChangeLog new/py2pack-0.8.1/ChangeLog
--- old/py2pack-0.8.0/ChangeLog 2017-03-02 10:24:28.000000000 +0100
+++ new/py2pack-0.8.1/ChangeLog 2017-08-11 10:15:34.000000000 +0200
@@ -1,12 +1,22 @@
 CHANGES
 =======
 
+0.8.1
+-----
+
+* Enable tests with python setup.py test
+* Also support for python 3.6
+* Fix opensuse's multipython template
+* unify trailing whitespaces in templates
+* Handle no upstream source download URL gracefully
+* Allow packaging custom pypi names via obs-from-pypi.py
+
 0.8.0
 -----
 
 * Ignore the required python version for now
 * Add build condition for tests in opensuse template
-* Install setup_requires as BuildRequires during build
+* Install setup\_requires as BuildRequires during build
 * Update opensuse template for singlespec approach
 * Remove useless '(' and ')' replacements from opensuse template
 * travis: Update credential to deploy on pypi
@@ -19,7 +29,7 @@
 0.6.7
 -----
 
-* Include doc/* in sdist tarball
+* Include doc/\* in sdist tarball
 * Add Shinx config to setup.cfg
 * Post release version bump to 0.6.7
 
@@ -63,7 +73,7 @@
 * Set setup.py encoding and retry parsing in error case
 * Move Jinja2 env creation to own function
 * Don't call nosetests when a testsuite was found
-* Fix get_metadata for distutils setup()
+* Fix get\_metadata for distutils setup()
 * Also try to get license from classifiers
 * Fix --run deprecation
 * Move requirements related code to requires.py
@@ -75,7 +85,7 @@
 -----
 
 * Bump version to 0.6.2
-* Also list tests_require as BuildRequires for openSUSE
+* Also list tests\_require as BuildRequires for openSUSE
 * Reorder Requires/BuildRequires for openSUSE
 * Requirement markers are only available in newer setuptools versions
 
@@ -83,16 +93,16 @@
 -----
 
 * Bump version to 0.6.1
-* Improve _canonicalize_setup_data() tests
-* Rerun _canonicalize_setup_data()
+* Improve \_canonicalize\_setup\_data() tests
+* Rerun \_canonicalize\_setup\_data()
 * Remove py33 and py34 from travis and tox
 * travis: Fix python 3 test env variables
 * Don't list "./" in names for extracted zip/tar file
 * Fix minimal version detection for requirements
 * Support requirement markers
-* Fix tests_require handling
+* Fix tests\_require handling
 * Adjust some comments
-* Use xmlrpc_client from six
+* Use xmlrpc\_client from six
 * Adjust docs for testing
 * Remove whitespaces from README
 
@@ -103,7 +113,7 @@
 * Add myself as co-maintainer
 * Mention the "--run" as note in README
 * protect against failed eval of setup.py code fragments
-* Also collect tests_require metadata
+* Also collect tests\_require metadata
 * Remove distutils cleanup command
 * Remove pypip.in images from README
 * Use distutils command when running setup.py
@@ -111,7 +121,7 @@
 * Remove bitdeli image from README
 * Relicense under Apache-2.0
 * Move setup.py sandbox run to extra file
-* Also parse entry_points when given as dict
+* Also parse entry\_points when given as dict
 * Use a "fake" unicode literal from six for decoding
 * Move setup.py parsing to extra file
 * tox: Add possibility to run single test cases
@@ -122,7 +132,7 @@
 * Don't require argparse
 * Remove python 2.6 support
 * travis: remove --use-mirrors pip flag usage
-* tests: ignore console_scripts order during tests
+* tests: ignore console\_scripts order during tests
 * Add python 3.4 and 3.5 support
 * Fix company name in spec template
 
@@ -131,22 +141,22 @@
 
 * Bump version to 0.5.0
 * Fix flake8 issues
-* Fix console_script handling
+* Fix console\_script handling
 * Sanitize collected requirements
 * Remove unused 'requires' from opensuse template
 * Quote %doc filenames if they contain shell metacharacters
-* Add support for "entry_points" and "console_scripts" parameters
+* Add support for "entry\_points" and "console\_scripts" parameters
 * Support syntactic variations as per the setuptools spec
 * Make "parse" and "run" two separate modes
 * Support same set of setup() parameters in parse and run modes
-* Use setuptools instead of distutils in _run_setup_py()
+* Use setuptools instead of distutils in \_run\_setup\_py()
 * Run setup.py (instead of just parsing it) to gather more data
 * Adjust Travis CI build
 * Remove commented code and make pep8 happy
 * Remove package create function
 * Fix license detection when license is None
 * Added BuildRequires: python-setuptools opensuse -- maybe also needed for 
others?
-* Don't include comma in _parse_setup_py regexp
+* Don't include comma in \_parse\_setup\_py regexp
 * fix indentation in README
 * Fix KeyError for license and summary
 
@@ -163,247 +173,5 @@
 * Release version 0.4.9
 * Fix coverage report source
 * Add py26 trove classifier
-* Add cssselect setup_requires
+* Add cssselect setup\_requires
 * Rename SPDX license map
-* Update SPDX license map
-* Change 'flake8' to 'pep8' target
-* Fix recursive-include for doc
-* No py24 yet
-* Use assertTrue rather than assertIn
-* Drop .bumbversion.cfg, isn't worth it
-* pip install test-requires for py26
-
-0.4.8
------
-
-* Release version 0.4.8
-* Enable coverage report generation
-* Use flake8 rather than pep8
-* Add tox.ini, (test-)requirements.txt and manpage
-* Drop pep257 command, never used
-* Add a Bitdeli badge to README
-* Add .bumpversion.cfg
-
-0.4.7
------
-
-* Bump version: 0.4.6 → 0.4.7
-* Add setup.cfg to build wheels
-* Allow attributes to span multiple lines when parsing setup.py. (re.MULTILINE 
is the wrong option here, it only changes the meaning of '^' and '$' pattern 
characters. Replace with re.DOTALL and turn on non-greedy matching.)
-* Fix glob and _augment_data_from_tarball():
-* Enable py3k compatibility for "generate" command
-* Fix lambda expression of "parenthesize_version" filter
-* Fix typo "matchdules" -> "modules"
-* Parenthesize version of required packages in opensuse.dsc
-* Add support for "install_requires" and "extras_require" parameters. (Support 
for "install_requires" already existed in fedora.spec and opensuse.spec, but 
was missing in _parse_setup_py().)
-* Fix openSUSE template in case of C extension
-* It's PyPI, not PyPy :-)
-* Fix flake8 issues
-* Port fabfile.py to setuptools commands
-
-0.4.6
------
-
-* Bump version to 0.4.6
-* Simplify tagline
-* Fix PEP-8 issues
-* Align flake8 env with pep8
-* Enhance tox.ini
-* Ignore coverage and nosetests.xml
-* Increase test coverage
-* Move tests dir to test (standard location)
-* Add classifier for Python-3.3
-* Python-3 compat for file_template_list()
-* Reorganize modules
-* Enhance README.rst and fix rST
-* Use context manager to read README.rst
-
-0.4.5
------
-
-* Bump version to 0.4.5
-* Python-3.3 compatibility (while retaining 2.7 compatibility)
-* Ignore .venv* and .tox
-* Add tox.ini to run tox with various envs (py27,py33,pep8,pep257)
-* Update SPDX license map
-* Add .travis.yml
-* Move to pip-style requirements / setup.py
-* Add a %check section if a testsuite is found
-
-0.4.4
------
-
-* Bumb version to 0.4.4
-* Package scripts (setup.py) as binaries
-
-0.4.3.4
--------
-
-* Release 0.4.3.4
-* Catch more doc files
-
-0.4.3.3
--------
-
-* Version 0.4.3.3
-* Fix SPDX license file path when installed system-wide
-* Release 0.4.3.2
-* Release 0.4.3.1
-
-0.4.3
------
-
-* Release 0.4.3
-* Transform upstream license into SDPX style
-
-0.4.2
------
-
-* Release 0.4.2
-* Fetch doc files from tarball (if available)
-* Detect C extensions from local tarball (if available)
-* Bump version
-* Path changed
-* It's 'docs' now
-* executable flag can't hurt
-* bump version
-* Some spec template adjustments to match spec cleaner
-* Set useful default templates (again)
-* Also BuildRequire: unzip if the source URL ends with '.zip' in opensuse.spec 
template
-* Add a Fabric task to dump SUSE's current SPDX license mapping, to be used 
later on
-* Try more hard to download a tarball
-* Rename dir 'doc' to 'docs'
-* Rename dir 'test' to 'tests'
-* Modernize opensuse.spec template
-* Initial proxy support
-* Adjust opensuse.spec template to spec-cleaner
-* Added *.egg-info to .gitignore
-* Fix circular import (was the real issue)
-* Revert "Rename 'list' function to 'list_all' to avoid clash with Python 
keyword"
-* Rename 'list' function to 'list_all' to avoid clash with Python keyword
-* Bump version to 0.3.21
-* Removed %clean section, there is a sane default for ages
-* - deleted License because it breaks building - just use name in source, 
because source_url breaks also building
-* Display correct module version number
-* Bump version to 0.3.20
-* Filter argparse import UserWarning from Jinja2
-* Small fixes, use :copyright: and :license:
-* Added __docformat__ hint to py2pack/__init__py
-* Move doc/py2pack.xml.in to doc/src and update docs
-* Add a license header to the py2pack script and PEP-8'ify it
-* Add license headers to setup.py and py2pack/__init__.py
-* Be able to use either setuptools or distribute
-* Little optimization, put exports on same line as setup.py build call
-* Apply PEP-8 rules
-* PEP-8'tify imports
-* Remove '-O1 --skip-build' parameters from setup.py build call
-* Bump version
-* Use complete source tarball url for RPM tag 'Source' instead of filename
-* Simplied openSUSE template further, check for specific Python version 
requirements
-* Bump version
-* Properly encode unicode, fixes issue #2
-* Add spec template for Mageia distribution
-* Bump version to 0.3.16
-* Directly use the upstream filename (if present) instead of generating it 
from the name and version of the upstream release
-* Added doctest test runner
-* Bump version to 0.3.15
-* Don't lowercase module names anymore, install everything in py-sitelib by 
default
-* Bump version number
-* Remove #norootforbuild and explicit listing of *.egg-info in %files section
-* Generate manpage and HTML documentation and add to source and binary 
distribution
-* Simpler noarch check for openSUSE
-* Bump version number
-* Don't use newer Python features to allow running on RHEL5 and other old 
distros
-* Removed SUSE-specific --record-rpm stuff
-* Bumped version to 0.3.9
-* Add README.rst to installed files
-* Fixed link to README.rst
-* Spec template for openSUSE now installs *.egg-info stuff automatically
-* Renamed README to README.rst
-* openSUSE doesn't recommend to show authors in description anymore
-* Remove double check and added some more hints for the %files section
-* Added Docbook file to generate Manpages, HTML, etc. [Thomas Schraitle]
-* Strip '(' and ')' from version requirements
-* Bumped version number to 0.3.5
-* Be able to generate a SPEC file even if there is no upstream source release
-* Load README file traditionally, with-statement is not supported by older 
Python releases
-* Removed optional template type parameter to simplify example
-* Added '-q' (quiet) flag to %setup
-* Moved 'export CFLAGS..' from %prep to %build
-* Use simple command versions instead of macros
-* Added definitions of %python_sitelib and %python_sitearch for really old 
distros
-* Fedora template also produces correct filenames in all situations
-* Much more robust code and openSUSE template
-* SUSE Linux GmbH seems to be the better copyright default
-* Fix check for non-suse distros in the %files section
-* Forgot to put templates into sdist (trough MANIFEST.in)
-* Corrected a typo in the 'Requires:' line
-* Added links to topics in the README file
-* Only use generated %files list if not on SUSE distros
-* The README file now should generate correct preformatted text. Setup.py 
README parsing should be more robust too
-* Bump the version number to '0.2.5'
-* Re-add 'argparse' dep
-* Simpler template. Use more RPM macros
-* Use some more macros
-* Changed copyright line to incorporate the user's name instead of SUSE
-* Removed openSUSE-specific parts
-* Import statement simplified
-* Import interesting functions from submodule (simplifies API)
-* Corrected openSUSE template typos
-* Changed openSUSE template to also work on Fedora and Mandriva
-* Bumped version number to '0.2.3'Bumped version number to '0.2.3'.
-* Some more template improvements
-* Commented out additional data files. They are likely to break installation
-* Bumped version to '0.2.2'
-* Don't require argparse explicitly
-* Bumped version to '0.2.1'
-* Fixed source tarball ending
-* Removed TODOs
-* Removed *.pyc files and added '*.pyc' to .gitignore
-* Fixed 'requires' for all templates
-* Bumped version number to '0.2'
-* Fixed author / email parsing
-* Better PyPI classifiers
-* Added MANIFEST.in for source distribution
-* Renamed 'COPYING' to 'LICENSE'
-* Also install documentation
-* Added 'build', 'dist' and 'MANIFEST' to .gitignore
-* Refactored again, this time it's a full-class package with a seperate script 
to execute it. Also, some smaller code issues fixed
-* Re-rewording
-* Rewording
-* Usage example
-* Some comments and system user name passed to templates (useful for 
'Maintainer' in spec/dsc file)
-* Initial openSUSE dsc template
-* Initial Fedora spec template
-* Better and more generic spec/dsc generation function
-* Refactored again. Setup.py now loads settings from module directly
-* The 'package'->'module' rename broke quite some things, renaming back
-* Expanded usage section
-* Adapted to new template directory
-* Added some template stubs, refactored dir-layout and executable persmissions
-* Prepare module
-* Another TODO
-* Add another trivial 'help' command
-* Added another TODO
-* Remove gen_changes stub for now
-* Comments and beautification
-* New 'show' method
-* Better description
-* This was all to easy :-)
-* Add Unicode marker
-* More code simplyfication
-* More complete openSUSE template
-* Simplify code
-* Fix year
-* Moved to Jinja2 templates, some parsing
-* Add dependency on Jinja2 templating engine
-* Renamed to 'py2pack', some minor improvements along the way
-* Some refactoring. Refer to 'module' instead of ambiguous 'package'
-* Some help clarification
-* Prepared openSUSE spec file template
-* Renamed script to simply 'egg2rpm' and adapted setup.py accordingly
-* Even more stuff done
-* Huge progress
-* Typo fix
-* Only a stub for now
-* Initial commit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/PKG-INFO new/py2pack-0.8.1/PKG-INFO
--- old/py2pack-0.8.0/PKG-INFO  2017-03-02 10:24:28.000000000 +0100
+++ new/py2pack-0.8.1/PKG-INFO  2017-08-11 10:15:34.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.8.0
+Version: 0.8.1
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/openSUSE/py2pack
 Author: Sascha Peilicke, Thomas Bechtold
@@ -155,5 +155,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Software Development :: Code Generators
 Classifier: Topic :: Software Development :: Pre-processors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack/__init__.py 
new/py2pack-0.8.1/py2pack/__init__.py
--- old/py2pack-0.8.0/py2pack/__init__.py       2017-02-28 20:03:03.000000000 
+0100
+++ new/py2pack-0.8.1/py2pack/__init__.py       2017-08-11 10:15:02.000000000 
+0200
@@ -268,7 +268,7 @@
             return url
     # No PyPI tarball release, let's see if an upstream download URL is 
provided:
     data = pypi.release_data(args.name, args.version)                       # 
Fetch all meta data
-    if 'download_url' in data:
+    if 'download_url' in data and data['download_url']:
         filename = os.path.basename(data['download_url'])
         return {'url': data['download_url'], 'filename': filename}
     return {}                                                               # 
We're all out of bubblegum
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack/templates/opensuse-legacy.spec 
new/py2pack-0.8.1/py2pack/templates/opensuse-legacy.spec
--- old/py2pack-0.8.0/py2pack/templates/opensuse-legacy.spec    2017-02-28 
17:51:09.000000000 +0100
+++ new/py2pack-0.8.1/py2pack/templates/opensuse-legacy.spec    2017-08-11 
10:15:02.000000000 +0200
@@ -108,3 +108,4 @@
 {%- endif %}
 
 %changelog
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack/templates/opensuse.dsc 
new/py2pack-0.8.1/py2pack/templates/opensuse.dsc
--- old/py2pack-0.8.0/py2pack/templates/opensuse.dsc    2016-10-08 
16:11:56.000000000 +0200
+++ new/py2pack-0.8.1/py2pack/templates/opensuse.dsc    2017-08-11 
10:15:02.000000000 +0200
@@ -12,3 +12,4 @@
 {%- if extras_require %}
 Suggests: {% for reqlist in extras_require.values() %}{% for req in reqlist 
%}python-{{ req|lower|parenthesize_version }}{{ ', ' if not loop.last }}{%- 
endfor %}{{ ', ' if not loop.last }}{%- endfor %}
 {%- endif %}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack/templates/opensuse.spec 
new/py2pack-0.8.1/py2pack/templates/opensuse.spec
--- old/py2pack-0.8.0/py2pack/templates/opensuse.spec   2017-02-28 
23:02:28.000000000 +0100
+++ new/py2pack-0.8.1/py2pack/templates/opensuse.spec   2017-08-11 
10:15:02.000000000 +0200
@@ -52,19 +52,19 @@
 {%- if source_url.endswith('.zip') %}
 BuildRequires:  unzip
 {%- endif %}
+BuildRequires:  fdupes
 {%- if install_requires and install_requires is not none %}
 {%- for req in install_requires|sort %}
-Requires:       %{python_module {{ req }}}
+Requires:       python-{{ req }}
 {%- endfor %}
 {%- endif %}
 {%- if extras_require and extras_require is not none %}
 {%- for reqlist in extras_require.values() %}
 {%- for req in reqlist %}
-Suggests:       %{python_module {{ req }}}
+Suggests:       python-{{ req }}
 {%- endfor %}
 {%- endfor %}
 {%- endif %}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 {%- if not has_ext_modules %}
 BuildArch:      noarch
 {%- endif %}
@@ -78,11 +78,16 @@
 %setup -q -n {{ name }}-%{version}
 
 %build
-{% if has_ext_modules %}export CFLAGS="%{optflags}"{% endif %}
-%python_build
+{% if has_ext_modules %}export CFLAGS="%{optflags}"
+{% endif %}%python_build
 
 %install
 %python_install
+{%- if has_ext_modules %}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+{%- else %}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+{%- endif %}
 
 {%- if testsuite or test_suite %}
 %if %{with test}
@@ -126,3 +131,4 @@
 {%- endif %}
 
 %changelog
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack.egg-info/PKG-INFO 
new/py2pack-0.8.1/py2pack.egg-info/PKG-INFO
--- old/py2pack-0.8.0/py2pack.egg-info/PKG-INFO 2017-03-02 10:24:28.000000000 
+0100
+++ new/py2pack-0.8.1/py2pack.egg-info/PKG-INFO 2017-08-11 10:15:34.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.8.0
+Version: 0.8.1
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/openSUSE/py2pack
 Author: Sascha Peilicke, Thomas Bechtold
@@ -155,5 +155,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Software Development :: Code Generators
 Classifier: Topic :: Software Development :: Pre-processors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/py2pack.egg-info/pbr.json 
new/py2pack-0.8.1/py2pack.egg-info/pbr.json
--- old/py2pack-0.8.0/py2pack.egg-info/pbr.json 2017-03-02 10:24:28.000000000 
+0100
+++ new/py2pack-0.8.1/py2pack.egg-info/pbr.json 2017-08-11 10:15:34.000000000 
+0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "62ae944"}
\ No newline at end of file
+{"git_version": "8592a88", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/setup.cfg new/py2pack-0.8.1/setup.cfg
--- old/py2pack-0.8.0/setup.cfg 2017-03-02 10:24:28.000000000 +0100
+++ new/py2pack-0.8.1/setup.cfg 2017-08-11 10:15:34.000000000 +0200
@@ -19,6 +19,7 @@
        Programming Language :: Python :: 3.3
        Programming Language :: Python :: 3.4
        Programming Language :: Python :: 3.5
+       Programming Language :: Python :: 3.6
        Topic :: Software Development :: Code Generators
        Topic :: Software Development :: Pre-processors
 
@@ -52,4 +53,5 @@
 [egg_info]
 tag_build = 
 tag_date = 0
+tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/setup.py new/py2pack-0.8.1/setup.py
--- old/py2pack-0.8.0/setup.py  2017-02-14 12:28:08.000000000 +0100
+++ new/py2pack-0.8.1/setup.py  2017-08-11 10:15:02.000000000 +0200
@@ -26,6 +26,7 @@
 except ImportError:
     pass
 
-setuptools.setup(
-    setup_requires=['pbr>=1.8'],
-    pbr=True)
+setuptools.setup(setup_requires=['pbr>=1.8'],
+                 pbr=True,
+                 test_suite='test',
+                 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/tools/obs-from-pypi.py 
new/py2pack-0.8.1/tools/obs-from-pypi.py
--- old/py2pack-0.8.0/tools/obs-from-pypi.py    2017-02-28 23:07:05.000000000 
+0100
+++ new/py2pack-0.8.1/tools/obs-from-pypi.py    2017-08-11 10:15:02.000000000 
+0200
@@ -26,23 +26,18 @@
 
 import argparse
 import os
-from six.moves import xmlrpc_client
 
 import sh
 
 
 OBS_API = 'https://api.opensuse.org'
-PYPI = xmlrpc_client.ServerProxy('https://pypi.python.org/pypi')
-# a package whitelist - otherwise we would package the whole pypi
-# list taken from http://pypi-ranking.info/alltime
-PYPI_WHITELIST = ['simplejson', 'six', 'requests', 'virtualenv', 'pip',
-                  'python-dateutil', 'boto', 'pbr', 'docutils', 'pyasn1',
-                  'PyYAML', 'Jinja2', 'MarkupSafe', 'pytz']
 
 
 def main():
     parser = argparse.ArgumentParser(
         description='create OBS packages from pypi')
+    parser.add_argument('--pypi-names', help='pypi package names to add to 
OBS',
+                        nargs='*', default=[])
     parser.add_argument('workdir', help='some temp dir to do OBS checkout')
     parser.add_argument('obsproject', help='OBS project name')
     args = parser.parse_args()
@@ -58,9 +53,7 @@
         osc('checkout', '%s' % (args.obsproject))
     os.chdir(obs_project_path)
 
-    for pkg in PYPI.list_packages():
-        if pkg not in PYPI_WHITELIST:
-            continue
+    for pkg in args.pypi_names:
         print('packaging %s ...' % pkg)
         obs_pkg = 'python-%s' % pkg
         obs_pkg_path = os.path.join(obs_project_path, obs_pkg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.0/tox.ini new/py2pack-0.8.1/tox.ini
--- old/py2pack-0.8.0/tox.ini   2017-02-14 12:28:08.000000000 +0100
+++ new/py2pack-0.8.1/tox.ini   2017-08-11 10:15:02.000000000 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py35,pep8,cover
+envlist = py27,py35,py36,pep8,cover
 
 [testenv]
 usedevelop = True


Reply via email to