commit python-py2pack for openSUSE:Factory

2020-11-10 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2020-11-10 15:08:54

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new.11331 (New)


Package is "python-py2pack"

Tue Nov 10 15:08:54 2020 rev:50 rq:847493 version:0.8.6

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2020-10-27 19:01:47.406867446 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new.11331/python-py2pack.changes 
2020-11-10 15:09:03.741476034 +0100
@@ -1,0 +2,16 @@
+Tue Nov 10 13:04:27 UTC 2020 - Thomas Bechtold 
+
+- update to 0.8.6:
+  * Fix test/exampes/py2pack-opensuse.dsc
+  * enhance test\_template with augmented opensuse and update examples to 0.8.5
+  * cleanup script basename filter
+  * update test reference
+  * Fix flake8 errors
+  * remove python2 from travis and tox
+  * change test suite block
+  * Replace python3\_only scripts with python\_alternatives
+  * migrate metadate fetch to JSON API
+  * remove python2 shims
+  * update copyright header
+
+---

Old:

  py2pack-0.8.5.tar.gz

New:

  py2pack-0.8.6.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.vleANu/_old  2020-11-10 15:09:04.321474834 +0100
+++ /var/tmp/diff_new_pack.vleANu/_new  2020-11-10 15:09:04.325474825 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
-Version:0.8.5
+Version:0.8.6
 Release:0
 Summary:Script for generating distribution packages from Python 
packages on PyPI
 License:Apache-2.0

++ py2pack-0.8.5.tar.gz -> py2pack-0.8.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.5/.travis.yml 
new/py2pack-0.8.6/.travis.yml
--- old/py2pack-0.8.5/.travis.yml   2020-10-27 09:59:12.0 +0100
+++ new/py2pack-0.8.6/.travis.yml   2020-11-10 10:44:47.0 +0100
@@ -8,8 +8,6 @@
 env: TOX_ENV=py38
   - python: 3.8
 env: TOX_ENV=docs
-  - python: 2.7
-env: TOX_ENV=py27
   - python: 3.6
 env: TOX_ENV=py36
 install:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.5/AUTHORS new/py2pack-0.8.6/AUTHORS
--- old/py2pack-0.8.5/AUTHORS   2020-10-27 09:59:45.0 +0100
+++ new/py2pack-0.8.6/AUTHORS   2020-11-10 10:45:22.0 +0100
@@ -1,16 +1,14 @@
 Adam Spiers 
 Antonio Larrosa 
+Ben Greiner 
 Christopher Yeleighton 
 Dan Čermák 
 Dirk Mueller 
 Karol Babioch 
-Manuel Schnitzer 
 Markéta Calábková 
 Matěj Cepl 
 MeggyCal 
 Oliver Kurz 
-Sascha Peilicke 
-Sascha Peilicke 
 Sebastian Wagner 
 Thomas Bechtold 
 Tomáš Chvátal 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.5/ChangeLog new/py2pack-0.8.6/ChangeLog
--- old/py2pack-0.8.5/ChangeLog 2020-10-27 09:59:45.0 +0100
+++ new/py2pack-0.8.6/ChangeLog 2020-11-10 10:45:22.0 +0100
@@ -1,6 +1,21 @@
 CHANGES
 ===
 
+0.8.6
+-
+
+* Fix test/exampes/py2pack-opensuse.dsc
+* enhance test\_template with augmented opensuse and update examples to 0.8.5
+* cleanup script basename filter
+* update test reference
+* Fix flake8 errors
+* remove python2 from travis and tox
+* change test suite block
+* Replace python3\_only scripts with python\_alternatives
+* migrate metadate fetch to JSON API
+* remove python2 shims
+* update copyright header
+
 0.8.5
 -
 
@@ -160,9 +175,6 @@
 * 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
 * Adjust docs for testing
 * Remove whitespaces from README
 
@@ -173,15 +185,3 @@
 * 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
-* Remove distutils cleanup command
-* Remove pypip.in images from README
-* Relicense under Apache-2.0
-* Move setup.py sandbox run to extra file
-* Also parse entry\_points when given as dict
-* Fix company name in spec template
-
-0.5.0
--
-
-* Bump version to 0.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.5/PKG-INFO new/py2pack-0.8.6/PKG-INFO
--- old/py2pack-0.8.5/PKG-INFO  2020-10-27 09:59:45.669325400 +0100
+++ new/py2pack-0.8.6/PKG-INFO  2020-11-10 10:45:22.593189200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1

commit python-py2pack for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2020-10-27 19:01:31

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new.3463 (New)


Package is "python-py2pack"

Tue Oct 27 19:01:31 2020 rev:49 rq:844232 version:0.8.5

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2019-03-29 20:42:31.674678504 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new.3463/python-py2pack.changes  
2020-10-27 19:01:47.406867446 +0100
@@ -1,0 +2,38 @@
+Tue Oct 27 09:06:41 UTC 2020 - Thomas Bechtold 
+
+- update to 0.8.5:
+  * Use 3.8 python in the travis by default
+  * Use python 3.8 and 3.9 in tox
+  * Execute flake8 on latest py3 instead of old py2 version
+  * Add missing comment to opensuse template header
+  * Switch to pytest
+  * Just say we support py2 and py3 do not bother with minor versions
+  * gitignore coverage datafile
+  * Do not bother with creating group tag as it is optional these days in 
openSUSE
+  * Run tests under python 3.7 and fix tests
+  * tests: replace year in tests by placeholder
+  * bug: show help if no command given
+  * Fix date in test examples
+  * fix fedora tests
+  * fix opensuse tests
+  * Update py2pack-opensuse-legacy.spec
+  * Update py2pack-opensuse.spec
+  * Make template compatible with spec-cleaner
+  * Add default empty for scripts
+  * Just get rid of whole line in opensuse-legacy.spec, this breaks things
+  * Don't add BR on python-devel without thinking
+  * Add test for non-existent file
+  * Add documentation to py2pack/utils.py
+  * Add test with invalid archive
+  * Raise a ValueError from \_get\_archive\_filelist instead of Exception
+  * Add type hints to py2pack.utils
+  * Ignore flake8 unused import warning for typing imports
+  * Require typing module for python < 3.5
+  * Bump python version in test case
+  * Shorten overlong line
+  * Add docstrings & type hints to functions in requires.py
+  * Replace filter() with list/generator expressions
+  * Fix indentation of \_requirement\_find\_lowest\_possible
+  * Fix DeprecationWarnings for invalid escape sequences with python3
+
+---

Old:

  py2pack-0.8.4.tar.gz

New:

  py2pack-0.8.5.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.2Xookq/_old  2020-10-27 19:01:48.414868180 +0100
+++ /var/tmp/diff_new_pack.2Xookq/_new  2020-10-27 19:01:48.422868185 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py2pack
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
-Version:0.8.4
+Version:0.8.5
 Release:0
 Summary:Script for generating distribution packages from Python 
packages on PyPI
 License:Apache-2.0

++ py2pack-0.8.4.tar.gz -> py2pack-0.8.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.4/.travis.yml 
new/py2pack-0.8.5/.travis.yml
--- old/py2pack-0.8.4/.travis.yml   2018-12-06 20:56:05.0 +0100
+++ new/py2pack-0.8.5/.travis.yml   2020-10-27 09:59:12.0 +0100
@@ -2,9 +2,11 @@
 language: python
 matrix:
   include:
-  - python: 2.7
+  - python: 3.8
 env: TOX_ENV=pep8
-  - python: 2.7
+  - python: 3.8
+env: TOX_ENV=py38
+  - python: 3.8
 env: TOX_ENV=docs
   - python: 2.7
 env: TOX_ENV=py27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.4/AUTHORS new/py2pack-0.8.5/AUTHORS
--- old/py2pack-0.8.4/AUTHORS   2018-12-06 20:56:38.0 +0100
+++ new/py2pack-0.8.5/AUTHORS   2020-10-27 09:59:45.0 +0100
@@ -1,11 +1,18 @@
 Adam Spiers 
 Antonio Larrosa 
+Christopher Yeleighton 
+Dan Čermák 
 Dirk Mueller 
 Karol Babioch 
-Lukas Wunner 
 Manuel Schnitzer 
+Markéta Calábková 
+Matěj Cepl 
+MeggyCal 
 Oliver Kurz 
 Sascha Peilicke 
 Sascha Peilicke 
 Sebastian Wagner 
 Thomas Bechtold 
+Tomáš Chvátal 
+Tomáš Chvátal 
+iyuroch 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.4/ChangeLog new/py2pack-0.8.5/ChangeLog
--- old/py2pack-0.8.4/ChangeLog 2018-12-06 20:56:38.0 +0100
+++ new/py2pack-0.8.5/ChangeLog 2020-10-27 09:59:45.0 +0100
@@ -1,6 +1,43 @@
 CHANGES
 ===
 
+0.8.5
+-
+
+* Use 3.8 python in the trav

commit python-py2pack for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2019-03-29 20:42:30

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new.25356 (New)


Package is "python-py2pack"

Fri Mar 29 20:42:30 2019 rev:48 rq:689256 version:0.8.4

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2018-12-07 14:39:32.638763115 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new.25356/python-py2pack.changes 
2019-03-29 20:42:31.674678504 +0100
@@ -1,0 +2,6 @@
+Tue Mar 26 15:43:09 UTC 2019 - John Vandenberg 
+
+- Fix fdupes
+- Install only Python 3 Sphinx for docs
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.CqtZev/_old  2019-03-29 20:42:33.150678458 +0100
+++ /var/tmp/diff_new_pack.CqtZev/_new  2019-03-29 20:42:33.194678457 +0100
@@ -26,12 +26,14 @@
 URL:https://github.com/openSUSE/py2pack
 Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRequires:  %{python_module Jinja2}
-BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module metaextract}
 BuildRequires:  %{python_module pbr}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
-BuildRequires:  %{python_module sphinxcontrib-programoutput}
+# SECTION doc requirements
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinxcontrib-programoutput
+# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-Jinja2
@@ -70,6 +72,7 @@
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/py2pack
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post
 %python_install_alternative py2pack




commit python-py2pack for openSUSE:Factory

2018-12-07 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2018-12-07 14:39:25

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new.19453 (New)


Package is "python-py2pack"

Fri Dec  7 14:39:25 2018 rev:47 rq:655970 version:0.8.4

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2018-04-24 15:33:25.989562794 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new.19453/python-py2pack.changes 
2018-12-07 14:39:32.638763115 +0100
@@ -1,0 +2,17 @@
+Thu Dec  6 21:03:16 UTC 2018 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---
+Thu Dec  6 19:58:15 UTC 2018 - Thomas Bechtold 
+
+- update to 0.8.4:
+  * Ignore some more pep8 warnings
+  * Support %license macro
+
+---
+Tue Dec  4 12:53:25 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---

Old:

  py2pack-0.8.3.tar.gz

New:

  py2pack-0.8.4.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.oXBx4L/_old  2018-12-07 14:39:33.358762224 +0100
+++ /var/tmp/diff_new_pack.oXBx4L/_new  2018-12-07 14:39:33.358762224 +0100
@@ -12,23 +12,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
-Version:0.8.3
+Version:0.8.4
 Release:0
-Url:https://github.com/openSUSE/py2pack
-Summary:Generate distribution packages from Python packages on PyPI
+Summary:Script for generating distribution packages from Python 
packages on PyPI
 License:Apache-2.0
 Group:  Development/Languages/Python
+URL:https://github.com/openSUSE/py2pack
 Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module metaextract}
 BuildRequires:  %{python_module pbr}
 BuildRequires:  %{python_module setuptools}
@@ -80,14 +78,13 @@
 %python_uninstall_alternative py2pack
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %python_alternative %{_bindir}/py2pack
 %{python_sitelib}/py2pack-%{version}-py*.egg-info
 %{python_sitelib}/py2pack/
 
 %files -n %{name}-doc
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE
+%license LICENSE
+%doc AUTHORS
 %doc doc/build/html/
 
 %changelog

++ py2pack-0.8.3.tar.gz -> py2pack-0.8.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.3/AUTHORS new/py2pack-0.8.4/AUTHORS
--- old/py2pack-0.8.3/AUTHORS   2018-04-21 07:08:34.0 +0200
+++ new/py2pack-0.8.4/AUTHORS   2018-12-06 20:56:38.0 +0100
@@ -9,4 +9,3 @@
 Sascha Peilicke 
 Sebastian Wagner 
 Thomas Bechtold 
-frispete 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.3/ChangeLog new/py2pack-0.8.4/ChangeLog
--- old/py2pack-0.8.3/ChangeLog 2018-04-21 07:08:34.0 +0200
+++ new/py2pack-0.8.4/ChangeLog 2018-12-06 20:56:38.0 +0100
@@ -1,6 +1,12 @@
 CHANGES
 ===
 
+0.8.4
+-
+
+* Ignore some more pep8 warnings
+* Support %license macro
+
 0.8.3
 -
 
@@ -146,7 +152,6 @@
 * tox: Add possibility to run single test cases
 * Ignore .eggs/ dir in git
 * Update the SPDX mapping file
-* travis: Use matrix to execute tox envs
 * Remove python 2.6 support
 * travis: remove --use-mirrors pip flag usage
 * tests: ignore console\_scripts order during tests
@@ -163,7 +168,4 @@
 * Remove unused 'requires' from opensuse template
 * Quote %doc filenames if they contain shell metacharacters
 * Add support for "entry\_points" and "console\_scripts" parameters
-* Support syntactic variations as per the setuptools spec
 * Adjust Travis CI build
-* Remove commented code and make pep8 happy
-* Don't include comma in \_parse\_setup\_py regexp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.3/PKG-INFO new/py2pack-0.8.4/PKG-INFO
--- old/py2pack-0.8.3/PKG-INFO  2018-04-21 07:08:34.0 +0200
+++ new/py2pack-0.8.4/PKG-INFO  2018-12-06 20:56

commit python-py2pack for openSUSE:Factory

2018-04-24 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2018-04-24 15:33:12

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Tue Apr 24 15:33:12 2018 rev:46 rq:57 version:0.8.3

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2018-04-19 15:30:07.897474493 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2018-04-24 15:33:25.989562794 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 10:20:20 UTC 2018 - tbecht...@suse.com
+
+- update to 0.8.3:
+  * Remove Sphinx cap
+  * Fix copyright year in tests
+  * Use release\_urls() XMLRPC method for the time being
+  * Test python 3.6 and remove 3.5
+- drop fix-api-package-urls.patch (merged upstream)
+
+---

Old:

  fix-api-package-urls.patch
  py2pack-0.8.2.tar.gz

New:

  py2pack-0.8.3.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.eD7oHW/_old  2018-04-24 15:33:26.717536456 +0200
+++ /var/tmp/diff_new_pack.eD7oHW/_new  2018-04-24 15:33:26.725536166 +0200
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
-Version:0.8.2
+Version:0.8.3
 Release:0
 Url:https://github.com/openSUSE/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:Apache-2.0
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
-Patch0: fix-api-package-urls.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Sphinx}
@@ -63,7 +62,6 @@
 
 %prep
 %setup -q -n py2pack-%{version}
-%patch0 -p1
 
 %build
 %python_build

++ py2pack-0.8.2.tar.gz -> py2pack-0.8.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.2/.travis.yml 
new/py2pack-0.8.3/.travis.yml
--- old/py2pack-0.8.2/.travis.yml   2017-12-22 10:45:48.0 +0100
+++ new/py2pack-0.8.3/.travis.yml   2018-04-21 07:07:49.0 +0200
@@ -8,8 +8,8 @@
 env: TOX_ENV=docs
   - python: 2.7
 env: TOX_ENV=py27
-  - python: 3.5
-env: TOX_ENV=py35
+  - python: 3.6
+env: TOX_ENV=py36
 install:
 - pip install tox
 script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.2/AUTHORS new/py2pack-0.8.3/AUTHORS
--- old/py2pack-0.8.2/AUTHORS   2017-12-22 10:46:28.0 +0100
+++ new/py2pack-0.8.3/AUTHORS   2018-04-21 07:08:34.0 +0200
@@ -1,14 +1,12 @@
 Adam Spiers 
 Antonio Larrosa 
-Jürgen Weigert 
+Dirk Mueller 
+Karol Babioch 
 Lukas Wunner 
 Manuel Schnitzer 
 Oliver Kurz 
 Sascha Peilicke 
-Sascha Peilicke 
 Sascha Peilicke 
 Sebastian Wagner 
 Thomas Bechtold 
-Thomas Bechtold 
-Valentin Haenel 
 frispete 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.2/ChangeLog new/py2pack-0.8.3/ChangeLog
--- old/py2pack-0.8.2/ChangeLog 2017-12-22 10:46:28.0 +0100
+++ new/py2pack-0.8.3/ChangeLog 2018-04-21 07:08:34.0 +0200
@@ -1,6 +1,14 @@
 CHANGES
 ===
 
+0.8.3
+-
+
+* Remove Sphinx cap
+* Fix copyright year in tests
+* Use release\_urls() XMLRPC method for the time being
+* Test python 3.6 and remove 3.5
+
 0.8.2
 -
 
@@ -139,8 +147,6 @@
 * Ignore .eggs/ dir in git
 * Update the SPDX mapping file
 * travis: Use matrix to execute tox envs
-* tox: Ignore E402
-* Don't require argparse
 * Remove python 2.6 support
 * travis: remove --use-mirrors pip flag usage
 * tests: ignore console\_scripts order during tests
@@ -158,27 +164,6 @@
 * Quote %doc filenames if they contain shell metacharacters
 * 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()
-* 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
-* fix indentation in README
-* Fix KeyError for license and summary
-
-0.4.10
---
-

commit python-py2pack for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2018-04-19 15:29:53

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Thu Apr 19 15:29:53 2018 rev:45 rq:597414 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2018-03-07 10:39:05.156937805 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2018-04-19 15:30:07.897474493 +0200
@@ -1,0 +2,6 @@
+Tue Apr 17 09:45:04 UTC 2018 - kbabi...@suse.com
+
+- Added fix-api-package-urls.patch: Fix an issue with a deprecated
+  XMLRPC method (bnc#1089613)
+
+---

New:

  fix-api-package-urls.patch



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.4A1qdk/_old  2018-04-19 15:30:08.925432347 +0200
+++ /var/tmp/diff_new_pack.4A1qdk/_new  2018-04-19 15:30:08.925432347 +0200
@@ -25,6 +25,7 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
+Patch0: fix-api-package-urls.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Sphinx}
@@ -62,6 +63,7 @@
 
 %prep
 %setup -q -n py2pack-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ fix-api-package-urls.patch ++
>From d6c8e1e6434a063da50d4879e9e58ed1c8d99292 Mon Sep 17 00:00:00 2001
From: Karol Babioch 
Date: Tue, 17 Apr 2018 11:10:24 +0200
Subject: [PATCH] Use release_urls() XMLRPC method for the time being

This replaces the `package_urls()` XMLRPC method by the `release_urls()`
method, since the former was deprecated and no longer works. Invoking the
endpoint results in an error:

This API has been deprecated. Use https://pypi.org/xxx/yyy/json instead.
The XMLRPC method release_urls can be used in the interim, but will be
deprecated in the future.

This addresses issue #95. However, this is only a quick-fix, since the
`package_urls()` method will also be deprecated in the future.
---
 py2pack/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/py2pack/__init__.py b/py2pack/__init__.py
index ed0911a..0eb97ba 100644
--- a/py2pack/__init__.py
+++ b/py2pack/__init__.py
@@ -268,7 +268,7 @@ def newest_download_url(args):
 if args.source_url:
 return {'url': args.source_url,
 'filename': args.source_url[args.source_url.rfind("/") + 1:]}
-for url in pypi.package_urls(args.name, args.version):  # 
Fetch all download URLs
+for url in pypi.release_urls(args.name, args.version):  # 
Fetch all download URLs
 if url['packagetype'] == 'sdist':   # 
Found the source URL we care for
 return url
 # No PyPI tarball release, let's see if an upstream download URL is 
provided:



commit python-py2pack for openSUSE:Factory

2018-03-07 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2018-03-07 10:39:02

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Wed Mar  7 10:39:02 2018 rev:44 rq:583659 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-12-23 12:20:15.149342029 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2018-03-07 10:39:05.156937805 +0100
@@ -1,0 +2,5 @@
+Tue Mar  6 17:11:17 UTC 2018 - dmuel...@suse.com
+
+- update url to point to the new location (bsc#1079905)
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.MbaE14/_old  2018-03-07 10:39:06.188900581 +0100
+++ /var/tmp/diff_new_pack.MbaE14/_new  2018-03-07 10:39:06.188900581 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py2pack
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -20,7 +20,7 @@
 Name:   python-py2pack
 Version:0.8.2
 Release:0
-Url:http://github.com/saschpe/py2pack
+Url:https://github.com/openSUSE/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:Apache-2.0
 Group:  Development/Languages/Python




commit python-py2pack for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-12-23 12:20:11

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Sat Dec 23 12:20:11 2017 rev:43 rq:559276 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-08-12 20:27:34.376913648 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-12-23 12:20:15.149342029 +0100
@@ -1,0 +2,11 @@
+Fri Dec 22 09:48:29 UTC 2017 - tbecht...@suse.com
+
+- update to 0.8.2:
+  * pep8 fixes
+  * opensuse template updates
+  * Add source\_url to Args in tests and use None as default value
+  * Removed unneeded nargs parameter to add\_argument
+  * Add a --source-url parameter to 'fetch' and 'generate' commands
+  * tests: templates: fix version
+
+---

Old:

  py2pack-0.8.1.tar.gz

New:

  py2pack-0.8.2.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.kDGU7R/_old  2017-12-23 12:20:16.389281570 +0100
+++ /var/tmp/diff_new_pack.kDGU7R/_new  2017-12-23 12:20:16.393281375 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
-Version:0.8.1
+Version:0.8.2
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.8.1.tar.gz -> py2pack-0.8.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.1/AUTHORS new/py2pack-0.8.2/AUTHORS
--- old/py2pack-0.8.1/AUTHORS   2017-08-11 10:15:34.0 +0200
+++ new/py2pack-0.8.2/AUTHORS   2017-12-22 10:46:28.0 +0100
@@ -1,4 +1,5 @@
 Adam Spiers 
+Antonio Larrosa 
 Jürgen Weigert 
 Lukas Wunner 
 Manuel Schnitzer 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.1/ChangeLog new/py2pack-0.8.2/ChangeLog
--- old/py2pack-0.8.1/ChangeLog 2017-08-11 10:15:34.0 +0200
+++ new/py2pack-0.8.2/ChangeLog 2017-12-22 10:46:28.0 +0100
@@ -1,9 +1,20 @@
 CHANGES
 ===
 
+0.8.2
+-
+
+* pep8 fixes
+* opensuse template updates
+* Add source\_url to Args in tests and use None as default value
+* Removed unneeded nargs parameter to add\_argument
+* Add a --source-url parameter to 'fetch' and 'generate' commands
+* tests: templates: fix version
+
 0.8.1
 -
 
+* Test templates with saved output
 * Enable tests with python setup.py test
 * Also support for python 3.6
 * Fix opensuse's multipython template
@@ -171,7 +182,3 @@
 -
 
 * Release version 0.4.9
-* Fix coverage report source
-* Add py26 trove classifier
-* Add cssselect setup\_requires
-* Rename SPDX license map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.1/PKG-INFO new/py2pack-0.8.2/PKG-INFO
--- old/py2pack-0.8.1/PKG-INFO  2017-08-11 10:15:34.0 +0200
+++ new/py2pack-0.8.2/PKG-INFO  2017-12-22 10:46:28.0 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.8.1
+Version: 0.8.2
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/openSUSE/py2pack
 Author: Sascha Peilicke, Thomas Bechtold
 Author-email: sas...@peilicke.de, thomasbecht...@jpberlin.de
 License: UNKNOWN
+Description-Content-Type: UNKNOWN
 Description: Py2pack: Generate distribution packages from PyPI
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.8.1/py2pack/__init__.py 
new/py2pack-0.8.2/py2pack/__init__.py
--- old/py2pack-0.8.1/py2pack/__init__.py   2017-08-11 10:15:02.0 
+0200
+++ new/py2pack-0.8.2/py2pack/__init__.py   2017-12-22 10:45:48.0 
+0100
@@ -177,15 +177,15 @@
 
 def _normalize_license(data):
 """try to get SDPX license"""
-l = data.get('license', None)
-if not l:
+license = data.get('license', None)
+if not license:
 # try to get license from classifiers
-l = _license_from_classifiers(data)
-if l:
-if l in SDPX_LICENSES.keys():
-data['license'] = SDPX_LICENSES[l]
+license = _license_from_classifiers(data)
+if license:
+if license in SDPX_LICENSES.keys():
+data['license'] = SDPX_LICENSES[license]
 else:
-data['license'] = "%s (FIXME:No SPDX)" % (l)
+data['license'] = "%s (FIXME:No SPDX)" %

commit python-py2pack for openSUSE:Factory

2017-08-12 Thread root
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.0 +0100
+++ new/py2pack-0.8.1/AUTHORS   2017-08-11 10:15:34.0 +0200
@@ -1,19 +1,13 @@
 Adam Spiers 
-Bitdeli Chef 
-Jerome Soyer 
 Jürgen Weigert 
 Lukas Wunner 
 Manuel Schnitzer 
-Oliver Bengs 
-Sascha Peilicke 
+Oliver Kurz 
 Sascha Peilicke 
 Sascha Peilicke 
 Sascha Peilicke 
-Sascha Peilicke 
-Sascha Peilicke 
 Sebastian Wagner 
 Thomas Bechtold 
 Thomas Bechtold 
 Valentin Haenel 
-blumentopf 
 frispete 
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.0 +0100
+++ new/py2pack-0.8.1/ChangeLog 2017-08-11 10:15:34.0 +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 wh

commit python-py2pack for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-06-23 09:18:14

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Fri Jun 23 09:18:14 2017 rev:41 rq:505629 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-05-27 13:14:31.376095914 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-06-23 09:18:44.811196126 +0200
@@ -1,0 +2,5 @@
+Thu Jun 22 08:37:19 UTC 2017 - tbecht...@suse.com
+
+- Use update-alternatives for the py2pack executable
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.7piqyd/_old  2017-06-23 09:18:45.375116443 +0200
+++ /var/tmp/diff_new_pack.7piqyd/_new  2017-06-23 09:18:45.375116443 +0200
@@ -26,21 +26,23 @@
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module metaextract}
 BuildRequires:  %{python_module pbr}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module sphinxcontrib-programoutput}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-Jinja2
 Requires:   python-metaextract
 Requires:   python-pbr
 Requires:   python-setuptools
 Requires:   python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -52,6 +54,7 @@
 
 %package -n %{name}-doc
 Summary:Documentation for %{name}
+Group:  Development/Languages/Python
 Provides:   %{python_module py2pack-doc = %{version}}
 
 %description -n %{name}-doc
@@ -68,10 +71,17 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/py2pack
+
+%post
+%python_install_alternative py2pack
+
+%postun
+%python_uninstall_alternative py2pack
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%python3_only %{_bindir}/py2pack
+%python_alternative %{_bindir}/py2pack
 %{python_sitelib}/py2pack-%{version}-py*.egg-info
 %{python_sitelib}/py2pack/
 




commit python-py2pack for openSUSE:Factory

2017-05-27 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-05-27 13:14:23

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Sat May 27 13:14:23 2017 rev:40 rq:492681 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-04-20 20:48:51.865658249 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-05-27 13:14:31.376095914 +0200
@@ -1,0 +2,6 @@
+Thu Apr 27 15:53:20 UTC 2017 - toddrme2...@gmail.com
+
+- Fix source URL.
+- Implement single-spec version.
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.Virpmh/_old  2017-05-27 13:14:31.968012230 +0200
+++ /var/tmp/diff_new_pack.Virpmh/_new  2017-05-27 13:14:31.972011665 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-py2pack
 Version:0.8.0
 Release:0
@@ -23,23 +24,25 @@
 Summary:Generate distribution packages from Python packages on PyPI
 License:Apache-2.0
 Group:  Development/Languages/Python
-Source: 
https://pypi.io/packages/source/p/py2pack/py2pack-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-Jinja2
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-metaextract
-BuildRequires:  python-pbr
-BuildRequires:  python-six
-BuildRequires:  python-sphinxcontrib-programoutput
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module Jinja2}
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module metaextract}
+BuildRequires:  %{python_module pbr}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module sphinxcontrib-programoutput}
 Requires:   python-Jinja2
 Requires:   python-metaextract
 Requires:   python-pbr
 Requires:   python-setuptools
 Requires:   python-six
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:  noarch
+%python_subpackages
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.
@@ -47,44 +50,34 @@
 (PyPI). Conveniently, it can fetch tarballs and changelogs making it an
 universal tool to package Python modules.
 
+%package -n %{name}-doc
+Summary:Documentation for %{name}
+Provides:   %{python_module py2pack-doc = %{version}}
+
+%description -n %{name}-doc
+Documentation and help files for %{name}.
+
 %prep
 %setup -q -n py2pack-%{version}
 
 %build
-python setup.py build
-python setup.py build_sphinx
+%python_build
+python3 setup.py build_sphinx
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/py2pack %{buildroot}%{_bindir}/py2pack-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/py2pack %{buildroot}%{_bindir}/py2pack
-
-# create dummy targets
-touch %{buildroot}%{_sysconfdir}/alternatives/py2pack
-touch %{buildroot}%{_sysconfdir}/alternatives/py2pack.1.gz
-
-%post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/py2pack py2pack %{_bindir}/py2pack-%{py_ver} 30
-
-%postun
-if [ $1 -eq 0 ] ; then
-%_sbindir/update-alternatives --remove py2pack %{_bindir}/py2pack-%{py_ver}
-fi
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst doc/build/html
-%{_bindir}/py2pack
-%{_bindir}/py2pack-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/py2pack
-%ghost %{_sysconfdir}/alternatives/py2pack.1.gz
+%python3_only %{_bindir}/py2pack
 %{python_sitelib}/py2pack-%{version}-py*.egg-info
-%{python_sitelib}/py2pack
+%{python_sitelib}/py2pack/
+
+%files -n %{name}-doc
+%defattr(-,root,root,-)
+%doc AUTHORS LICENSE
+%doc doc/build/html/
 
 %changelog




commit python-py2pack for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-04-20 20:48:50

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Thu Apr 20 20:48:50 2017 rev:39 rq:481395 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-03-03 17:54:25.329330846 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-04-20 20:48:51.865658249 +0200
@@ -1,0 +2,5 @@
+Tue Mar  7 11:38:35 UTC 2017 - p.sei...@linuxmail.org
+
+- Add missing "Requires: python-setuptools" to get py2pack working
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.VWZDrP/_old  2017-04-20 20:48:52.637549108 +0200
+++ /var/tmp/diff_new_pack.VWZDrP/_new  2017-04-20 20:48:52.641548542 +0200
@@ -35,6 +35,7 @@
 Requires:   python-Jinja2
 Requires:   python-metaextract
 Requires:   python-pbr
+Requires:   python-setuptools
 Requires:   python-six
 Requires(post): update-alternatives
 Requires(postun): update-alternatives




commit python-py2pack for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-03-03 17:54:24

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Fri Mar  3 17:54:24 2017 rev:38 rq:461852 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2017-02-24 02:54:48.429130732 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-03-03 17:54:25.329330846 +0100
@@ -1,0 +2,12 @@
+Thu Mar  2 09:25:21 UTC 2017 - tbecht...@suse.com
+
+- update to 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
+  * Update opensuse template for singlespec approach
+  * Remove useless '(' and ')' replacements from opensuse template
+  * travis: Update credential to deploy on pypi
+- Remove manpage for now. Build is broken.
+
+---

Old:

  py2pack-0.7.0.tar.gz

New:

  py2pack-0.8.0.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.UKnonr/_old  2017-03-03 17:54:26.237202612 +0100
+++ /var/tmp/diff_new_pack.UKnonr/_new  2017-03-03 17:54:26.241202048 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-py2pack
-Version:0.7.0
+Version:0.8.0
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -28,6 +28,7 @@
 BuildRequires:  python-Jinja2
 BuildRequires:  python-Sphinx
 BuildRequires:  python-devel
+BuildRequires:  python-metaextract
 BuildRequires:  python-pbr
 BuildRequires:  python-six
 BuildRequires:  python-sphinxcontrib-programoutput
@@ -57,11 +58,6 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-install -d %{buildroot}%{_mandir}/man1
-
-mv doc/build/man/py2pack.1 %{buildroot}%{_mandir}/man1/py2pack-%{py_ver}.1
-ln -s -f %{_sysconfdir}/alternatives/py2pack.1.gz 
%{buildroot}%{_mandir}/man1/py2pack.1.gz
-
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/py2pack %{buildroot}%{_bindir}/py2pack-%{py_ver}
@@ -73,8 +69,7 @@
 
 %post
 %_sbindir/update-alternatives \
-   --install %{_bindir}/py2pack py2pack %{_bindir}/py2pack-%{py_ver} 30 \
-   --slave %{_mandir}/man1/py2pack.1.gz py2pack.1.gz 
%{_mandir}/man1/py2pack-%{py_ver}.1.gz
+   --install %{_bindir}/py2pack py2pack %{_bindir}/py2pack-%{py_ver} 30
 
 %postun
 if [ $1 -eq 0 ] ; then
@@ -86,8 +81,6 @@
 %doc AUTHORS LICENSE README.rst doc/build/html
 %{_bindir}/py2pack
 %{_bindir}/py2pack-%{py_ver}
-%{_mandir}/man1/py2pack.1.gz
-%{_mandir}/man1/py2pack-%{py_ver}.1.gz
 %ghost %{_sysconfdir}/alternatives/py2pack
 %ghost %{_sysconfdir}/alternatives/py2pack.1.gz
 %{python_sitelib}/py2pack-%{version}-py*.egg-info

++ py2pack-0.7.0.tar.gz -> py2pack-0.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.7.0/.travis.yml 
new/py2pack-0.8.0/.travis.yml
--- old/py2pack-0.7.0/.travis.yml   2017-02-14 12:45:00.0 +0100
+++ new/py2pack-0.8.0/.travis.yml   2017-02-19 07:01:27.0 +0100
@@ -18,7 +18,7 @@
   provider: pypi
   user: suse
   password:
-secure: 
LbQtZR8I7ZgQoiNoDhCiWVPI8Q8GVCrnXVBooNutHRZzOnFKew3g7DKCEQjKKZCUkrbcs55Jl1y0uVkL31HFdciAiYMV2ZS0To5ari5ZqqHF82OCFkqZKRe7APYCVgJ+wuhLfbBy6XWNU9aHD0TLMV5bz4kHXQJ3qfgUfMvNJJ4=
+secure: 
FLx7KdGhYsPzXO9uLVBsP7DWFPhPzZTKEXaZ4SZv6PbV7xTXNi7w/EnlGcP4OcqSofQxgEfOSty8GZ3MWASdHuIYGSWj2l3jj7Acro12TcA/XozHCDDr2kOq8pAlnz7G9ehmwjP2MyzMxl0dTM6KfAlyswjmXhXt03HiMPH2Cmc=
   on:
 tags: true
 distributions: sdist bdist_wheel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.7.0/ChangeLog new/py2pack-0.8.0/ChangeLog
--- old/py2pack-0.7.0/ChangeLog 2017-02-14 12:45:07.0 +0100
+++ new/py2pack-0.8.0/ChangeLog 2017-03-02 10:24:28.0 +0100
@@ -1,6 +1,16 @@
 CHANGES
 ===
 
+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
+* Update opensuse template for singlespec approach
+* Remove useless '(' and ')' replacements from opensuse template
+* travis: Update credential to deploy on pypi
+
 0.7.0
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.7.0/PKG-INFO new/py2pack-0.8.0/PKG-INFO
--- old/py2pack-0.7.0/PKG-INFO  2017-02-1

commit python-py2pack for openSUSE:Factory

2017-02-23 Thread root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2017-02-24 02:54:47

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2016-08-17 12:05:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2017-02-24 02:54:48.429130732 +0100
@@ -1,0 +2,26 @@
+Tue Feb 14 11:49:36 UTC 2017 - tbecht...@suse.com
+
+- update to 0.7.0:
+  * Switch to pbr
+  * Include doc/* in sdist tarball
+  * Add Shinx config to setup.cfg
+  * Post release version bump to 0.6.7
+  * Bump version to 0.6.6
+  * Set files.pythonhosted.org as Source url
+  * Also search for tarballs with underscores
+  * Set pypi.io url for Source
+  * Remove deprecated metadata subcommand
+  * doc: Move CLI help to extra document
+  * Support multiple template directories
+  * Fix pep8 error
+  * Use Sphinx for documentation
+  * Remove hardcoded markers
+  * Add license wit FIXME if available
+  * Fix extensions for openSUSE template
+  * Add script to create packages for OBS
+  * Switch to metaextract
+  * Improve openSUSE template checks
+  * Update repository name after move to openSUSE
+- Adjust Requires
+
+---

Old:

  py2pack-0.6.4.tar.gz

New:

  py2pack-0.7.0.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.LRM0vP/_old  2017-02-24 02:54:48.961048416 +0100
+++ /var/tmp/diff_new_pack.LRM0vP/_new  2017-02-24 02:54:48.961048416 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py2pack
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-py2pack
-Version:0.6.4
+Version:0.7.0
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -26,26 +26,18 @@
 Source: 
https://pypi.io/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-Jinja2
-BuildRequires:  python-argparse
-BuildRequires:  python-cssselect
+BuildRequires:  python-Sphinx
 BuildRequires:  python-devel
-BuildRequires:  python-lxml
-BuildRequires:  python-requests
-BuildRequires:  python-setuptools
+BuildRequires:  python-pbr
 BuildRequires:  python-six
+BuildRequires:  python-sphinxcontrib-programoutput
 Requires:   python-Jinja2
-Requires:   python-argparse
-Requires:   python-cssselect
-Requires:   python-lxml
-Requires:   python-requests
+Requires:   python-metaextract
+Requires:   python-pbr
 Requires:   python-six
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.
@@ -55,19 +47,19 @@
 
 %prep
 %setup -q -n py2pack-%{version}
-#sed -i "1d" py2pack/py2pack.py # Fix non-executable script
 
 %build
 python setup.py build
+python setup.py build_sphinx
+# remove the sphinx-build leftovers
+rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-# The setup script installs stuff into '/usr/local', move stuff around 
accordingly
+
 install -d %{buildroot}%{_mandir}/man1
-install -d %{buildroot}%{_docdir}/%{name}
 
-mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name}
-mv %{buildroot}/usr/man/man1/py2pack.1 
%{buildroot}%{_mandir}/man1/py2pack-%{py_ver}.1
+mv doc/build/man/py2pack.1 %{buildroot}%{_mandir}/man1/py2pack-%{py_ver}.1
 ln -s -f %{_sysconfdir}/alternatives/py2pack.1.gz 
%{buildroot}%{_mandir}/man1/py2pack.1.gz
 
 # Prepare for update-alternatives usage
@@ -91,14 +83,13 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst
+%doc AUTHORS LICENSE README.rst doc/build/html
 %{_bindir}/py2pack
 %{_bindir}/py2pack-%{py_ver}
 %{_mandir}/man1/py2pack.1.gz
 %{_mandir}/man1/py2pack-%{py_ver}.1.gz
 %ghost %{_sysconfdir}/alternatives/py2pack
 %ghost %{_sysconfdir}/alternatives/py2pack.1.gz
-%{_docdir}/%{name}
 %{python_sitelib}/py2pack-%{versio

commit python-py2pack for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2016-08-17 12:05:14

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2016-07-24 19:53:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2016-08-17 12:05:16.0 +0200
@@ -1,0 +2,10 @@
+Mon Aug 15 06:47:32 UTC 2016 - tbecht...@suse.com
+
+- update to version 0.6.4
+  * Fix urlretrieve for py3
+  * Remove obsolete workaround for old suse in template
+  * Update travis.yml
+  * Bump version to 0.6.4
+  * Add "metadata" subcommand
+
+---

Old:

  py2pack-0.6.3.tar.gz

New:

  py2pack-0.6.4.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.Ni9dz7/_old  2016-08-17 12:05:17.0 +0200
+++ /var/tmp/diff_new_pack.Ni9dz7/_new  2016-08-17 12:05:17.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-py2pack
-Version:0.6.3
+Version:0.6.4
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.6.3.tar.gz -> py2pack-0.6.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.6.3/PKG-INFO new/py2pack-0.6.4/PKG-INFO
--- old/py2pack-0.6.3/PKG-INFO  2016-06-30 20:57:27.0 +0200
+++ new/py2pack-0.6.4/PKG-INFO  2016-08-15 08:44:33.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.6.3
+Version: 0.6.4
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.6.3/py2pack/__init__.py 
new/py2pack-0.6.4/py2pack/__init__.py
--- old/py2pack-0.6.3/py2pack/__init__.py   2016-06-30 20:56:17.0 
+0200
+++ new/py2pack-0.6.4/py2pack/__init__.py   2016-08-15 08:35:33.0 
+0200
@@ -21,11 +21,12 @@
 __doc__ = 'Generate distribution packages from PyPI'
 __docformat__ = 'restructuredtext en'
 __author__ = 'Sascha Peilicke '
-__version__ = '0.6.3'
+__version__ = '0.6.4'
 
 import argparse
 import datetime
 import glob
+import json
 import os
 import pickle
 import pkg_resources
@@ -34,6 +35,7 @@
 import re
 import sys
 import urllib
+from six.moves.urllib.request import urlretrieve
 from six.moves import xmlrpc_client
 import jinja2
 import warnings
@@ -70,6 +72,13 @@
 pprint.pprint(data)
 
 
+def metadata(args):
+"""extra the metadata from the given tarball"""
+data = {}
+_run_setup_py(args.filename, data)
+print(json.dumps(data, indent=4, sort_keys=True))
+
+
 def fetch(args):
 check_or_set_version(args)
 url = newest_download_url(args)
@@ -78,7 +87,7 @@
 sys.exit(1)
 print('downloading package {0}-{1}...'.format(args.name, args.version))
 print('from {0}'.format(url['url']))
-urllib.urlretrieve(url['url'], url['filename'])
+urlretrieve(url['url'], url['filename'])
 
 
 def _run_setup_py(tarfile, data):
@@ -265,6 +274,11 @@
 parser_show.add_argument('version', nargs='?', help='package version 
(optional)')
 parser_show.set_defaults(func=show)
 
+parser_metadata = subparsers.add_parser('metadata',
+help='show metadata for a given 
tarball')
+parser_metadata.add_argument('filename', help='filename')
+parser_metadata.set_defaults(func=metadata)
+
 parser_fetch = subparsers.add_parser('fetch', help='download package 
source tarball from PyPI')
 parser_fetch.add_argument('name', help='package name')
 parser_fetch.add_argument('version', nargs='?', help='package version 
(optional)')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.6.3/py2pack/templates/opensuse.spec 
new/py2pack-0.6.4/py2pack/templates/opensuse.spec
--- old/py2pack-0.6.3/py2pack/templates/opensuse.spec   2016-06-30 
20:56:17.0 +0200
+++ new/py2pack-0.6.4/py2pack/templates/opensuse.spec   2016-08-11 
08:07:09.0 +0200
@@ -48,15 +48,7 @@
 {%- endfor %}
 {%- endif %}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-{%- if is_extension %}
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-{%- else %}
-%{!?python_sitelib: %global py

commit python-py2pack for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2016-07-24 19:53:17

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2016-07-12 23:51:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2016-07-24 19:53:41.0 +0200
@@ -1,0 +2,5 @@
+Fri Jul 22 06:52:54 UTC 2016 - tbecht...@suse.com
+
+- Add missing python-six BuildRequires
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.f4KyAp/_old  2016-07-24 19:53:43.0 +0200
+++ /var/tmp/diff_new_pack.f4KyAp/_new  2016-07-24 19:53:43.0 +0200
@@ -32,6 +32,7 @@
 BuildRequires:  python-lxml
 BuildRequires:  python-requests
 BuildRequires:  python-setuptools
+BuildRequires:  python-six
 Requires:   python-Jinja2
 Requires:   python-argparse
 Requires:   python-cssselect




commit python-py2pack for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2016-07-12 23:51:09

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2014-03-09 20:17:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2016-07-12 23:51:11.0 +0200
@@ -1,0 +2,107 @@
+Mon Jul  4 07:22:14 UTC 2016 - tbecht...@suse.com
+
+- Use https for Source url
+
+---
+Thu Jun 30 18:58:23 UTC 2016 - tbecht...@suse.com
+
+- update to 0.6.3:
+  * Bump version to 0.6.3
+  * 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()
+  * Also try to get license from classifiers
+  * Fix --run deprecation
+  * Move requirements related code to requires.py
+  * Remove setup.py parsing code
+  * Always run setup.py to get metadata
+  * Fix README.rst style
+
+---
+Thu Jun 30 06:29:18 UTC 2016 - tbecht...@suse.com
+
+- update to 0.6.2:
+  * Bump version to 0.6.2
+  * Also list tests_require as BuildRequires for openSUSE
+  * Reorder Requires/BuildRequires for openSUSE
+  * Requirement markers are only available in newer setuptools versions
+
+---
+Wed Jun 29 20:12:05 UTC 2016 - tbecht...@suse.com
+
+- update to 0.6.1:
+ * Bump version to 0.6.1
+ * 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
+ * Adjust some comments
+ * Use xmlrpc_client from six
+ * Adjust docs for testing
+ * Remove whitespaces from README
+
+---
+Wed Jun 29 13:17:30 UTC 2016 - tbecht...@suse.com
+
+- update to 0.6.0:
+  * Bump version to 0.6.0
+  * 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
+  * Remove distutils cleanup command
+  * Remove pypip.in images from README
+  * Use distutils command when running setup.py
+  * Add contextmanager to extract a zip/tar into a tempdir
+  * 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
+  * Use a "fake" unicode literal from six for decoding
+  * Move setup.py parsing to extra file
+  * tox: Add possibility to run single test cases
+  * Ignore .eggs/ dir in git
+  * Update the SPDX mapping file
+  * travis: Use matrix to execute tox envs
+  * tox: Ignore E402
+  * Don't require argparse
+  * Remove python 2.6 support
+  * travis: remove --use-mirrors pip flag usage
+  * tests: ignore console_scripts order during tests
+  * Add python 3.4 and 3.5 support
+  * Fix company name in spec template
+- Update license. It's now Apache-2.0
+- Adjust Requires
+- USe pypi.io as Source url
+
+---
+Wed Aug 12 15:55:29 UTC 2015 - toddrme2...@gmail.com
+
+- Update to version 0.5.0
+  + Fix flake8 issues
+  + 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
+  + 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() …
+  + 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 
+  + Don't include comma in _parse_setup_py regexp
+  + fix indentation in README 
+  + Fix KeyError for license and summary
+- Add update-alternatives support for compatibility with 
+  python 3 version of the package.
+
+---

Old:

  py2pack-0.4.10.tar.gz

New:

  py2pack-0.6.3.tar.gz



Other differen

commit python-py2pack for openSUSE:Factory

2014-03-09 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2014-03-09 20:17:24

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2014-02-11 11:03:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2014-03-09 20:17:25.0 +0100
@@ -1,0 +2,7 @@
+Thu Mar  6 09:02:57 UTC 2014 - speili...@suse.com
+
+- Update to version 0.4.10
+  + Fix PyPI URL to avoid 301 moved permanently
+  + Minor bugfixes
+
+--

Old:

  py2pack-0.4.9.tar.gz

New:

  py2pack-0.4.10.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.1IQXa5/_old  2014-03-09 20:17:26.0 +0100
+++ /var/tmp/diff_new_pack.1IQXa5/_new  2014-03-09 20:17:26.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-py2pack
-Version:0.4.9
+Version:0.4.10
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.4.9.tar.gz -> py2pack-0.4.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/.gitignore 
new/py2pack-0.4.10/.gitignore
--- old/py2pack-0.4.9/.gitignore1970-01-01 01:00:00.0 +0100
+++ new/py2pack-0.4.10/.gitignore   2014-02-07 09:26:44.0 +0100
@@ -0,0 +1,10 @@
+.*.swp
+MANIFEST
+build
+coverage
+dist
+nosetests.xml
+*.pyc
+*.egg-info
+.venv*
+.tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/.travis.yml 
new/py2pack-0.4.10/.travis.yml
--- old/py2pack-0.4.9/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/py2pack-0.4.10/.travis.yml  2014-02-09 14:07:09.0 +0100
@@ -0,0 +1,12 @@
+language: python
+python:
+  - 2.6
+  - 2.7
+  - 3.3
+install:
+  - pip install --use-mirrors -r test-requirements.txt
+  - pip install --use-mirrors coveralls
+script:
+  coverage run --source=py2pack setup.py test
+after_success:
+  coveralls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/PKG-INFO new/py2pack-0.4.10/PKG-INFO
--- old/py2pack-0.4.9/PKG-INFO  2014-02-10 10:49:40.0 +0100
+++ new/py2pack-0.4.10/PKG-INFO 2014-03-06 10:02:17.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.4.9
+Version: 0.4.10
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/doc/src/py2pack.xml.in 
new/py2pack-0.4.10/doc/src/py2pack.xml.in
--- old/py2pack-0.4.9/doc/src/py2pack.xml.in1970-01-01 01:00:00.0 
+0100
+++ new/py2pack-0.4.10/doc/src/py2pack.xml.in   2014-02-07 09:26:44.0 
+0100
@@ -0,0 +1,176 @@
+
+http://www.docbook.org/xml/4.5/docbookx.dtd";
+[
+  
+]>
+
+
+
+
+  
+&product;
+
+  
+Developer
+Sascha
+Peilicke
+sasc...@gmx.de
+  
+  
+Manpage author
+Thomas
+Schraitle
+  
+
+
+  
+  &product; allows to generate RPM spec or DEB dsc files from 
+  Python modules, to list Python modules or search for them on 
+  the Python Package Index (PyPI). Conveniently, it can fetch 
+  tarballs and changelogs making it an universal tool to 
+  package Python modules.
+
+  
+  
+&product;
+1
+@VERSION@
+http://github.com/saschpe/py2pack
+
+  
+
+  
+&product;
+
+  Generate Distribution Packages from Python Packages on PyPI
+
+  
+
+  
+Synopsis
+
+  py2pack
+  -h
+  --version
+  
+search
+help
+show
+list
+fetch
+generate
+  
+  
+
+  
+
+  
+Commands
+The following commands are available:
+  
+
+
+  The fetch Command
+  py2pack fetch name version
+  
+  Downloads a package from PyPI and stores it in the current 
directory. Optionally you
+can specify a version number.
+
+
+
+  The generate Command
+  py2pack
+   generate 
+  -h
+  
+-t
+
+  fedora.spec
+  opensuse.dsc
+  opensuse.spec
+
+  
+  -f FILENAME
+  name
+  version
+  
+  Creates a

commit python-py2pack for openSUSE:Factory

2014-02-11 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2014-02-11 11:03:31

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2013-06-25 14:44:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2014-02-11 11:03:32.0 +0100
@@ -1,0 +2,11 @@
+Mon Feb 10 10:03:53 UTC 2014 - speili...@suse.com
+
+- Update to version 0.4.9:
+  + Fix coverage report source
+  + Add cssselect setup_requires
+  + Update SPDX license map
+  + Change 'flake8' to 'pep8' target
+  + Fix recursive-include for doc
+  ...
+
+---

Old:

  py2pack-0.4.4.tar.gz

New:

  py2pack-0.4.9.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.QuRbdv/_old  2014-02-11 11:03:32.0 +0100
+++ /var/tmp/diff_new_pack.QuRbdv/_new  2014-02-11 11:03:32.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py2pack
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-py2pack
-Version:0.4.4
+Version:0.4.9
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -24,9 +25,9 @@
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-Jinja2
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
-BuildRequires:  python-Jinja2
 Requires:   python-Jinja2
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 Requires:   python-argparse
@@ -43,7 +44,7 @@
 
 %prep
 %setup -q -n py2pack-%{version}
-sed -i "1d" py2pack/py2pack.py # Fix non-executable script
+#sed -i "1d" py2pack/py2pack.py # Fix non-executable script
 
 %build
 python setup.py build
@@ -58,9 +59,10 @@
 
 %files
 %defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_mandir}/man?/py2pack.*
 %{_bindir}/py2pack
-%{python_sitelib}/*
+%{_mandir}/man1/py2pack.1*
+%{_docdir}/%{name}
+%{python_sitelib}/py2pack-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/py2pack
 
 %changelog

++ py2pack-0.4.4.tar.gz -> py2pack-0.4.9.tar.gz ++
 5711 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2013-06-25 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2013-06-25 09:35:21

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2013-06-19 17:04:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2013-06-25 14:44:58.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 24 12:13:21 UTC 2013 - speili...@suse.com
+
+- Update to version 0.4.4:
+  + Package scripts (setup.py) as binaries
+
+---

Old:

  py2pack-0.4.3.4.tar.gz

New:

  py2pack-0.4.4.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.vLaXoM/_old  2013-06-25 14:44:58.0 +0200
+++ /var/tmp/diff_new_pack.vLaXoM/_new  2013-06-25 14:44:58.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   python-py2pack
-Version:0.4.3.4
+Version:0.4.4
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.4.3.4.tar.gz -> py2pack-0.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.4/PKG-INFO new/py2pack-0.4.4/PKG-INFO
--- old/py2pack-0.4.3.4/PKG-INFO2013-05-03 12:24:21.0 +0200
+++ new/py2pack-0.4.4/PKG-INFO  2013-06-24 14:12:08.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.4.3.4
+Version: 0.4.4
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.4/py2pack/py2pack.py 
new/py2pack-0.4.4/py2pack/py2pack.py
--- old/py2pack-0.4.3.4/py2pack/py2pack.py  2013-05-03 12:23:40.0 
+0200
+++ new/py2pack-0.4.4/py2pack/py2pack.py2013-06-24 14:10:45.0 
+0200
@@ -37,7 +37,7 @@
 warnings.filterwarnings('ignore', 'Module argparse was already imported')   # 
Filter a UserWarning from Jinja2
 import jinja2
 
-__version__ = '0.4.3.4'
+__version__ = '0.4.4'
 
 
 class ProxiedTransport(xmlrpclib.Transport):
@@ -91,6 +91,16 @@
 urllib.urlretrieve(url['url'], url['filename']) # 
download the object behind the URL
 
 
+def _parse_setup_py(file, data):
+contents = file.read()
+mo = re.search("ext_modules", contents)
+if mo:
+data["is_extension"] = True
+mo = re.search("scripts\s*=\s*(\[.*\]),", contents, flags=re.MULTILINE)
+if mo:
+data["scripts"] = eval(mo.group(1))
+
+
 def _augment_data_from_tarball(args, filename, data):
 setup_filename = "{0}-{1}/setup.py".format(args.name, args.version)
 docs_re = 
re.compile("{0}-{1}\/((?:AUTHOR|ChangeLog|CHANGES|COPYING|LICENSE|NEWS|README).*)".format(args.name,
 args.version), re.IGNORECASE)
@@ -98,16 +108,12 @@
 if tarfile.is_tarfile(filename):
 with tarfile.open(filename) as f:
 names = f.getnames()
-for line in f.extractfile(setup_filename):
-if "ext_modules" in line:   # 
tarball contains C/C++ extension
-data["is_extension"] = True
+_parse_setup_py(f.extractfile(setup_filename), data)
 elif zipfile.is_zipfile(filename):
 with zipfile.ZipFile(filename) as f:
 names = f.namelist()
 with f.open(setup_filename) as s:
-for line in s:
-if "ext_modules" in line:   # 
tarball contains C/C++ extension
-data["is_extension"] = True
+_parse_setup_py(s, data)
 
 for name in names:
 match = re.match(docs_re, name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.4/py2pack/templates/fedora.spec 
new/py2pack-0.4.4/py2pack/templates/fedora.spec
--- old/py2pack-0.4.3.4/py2pack/templates/fedora.spec   2013-04-29 
14:57:27.0 +0200
+++ new/py2pack-0.4.4/py2pack/templates/fedora.spec 2013-06-24 
14:09:48.0 +0200
@@ -46,6 +46,9 @@
 {%- if doc_files %}
 %doc {{ doc_files|join(" ") }}
 {%- endif %}
+{%- for script in scripts %}
+%{_bindir}/{{ script }}
+{%- endfor %}
 %{python_sitelib}/*
 
 %changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.4/py2pack/templates/mageia.spec 
new/py2pack-0.4.4/py2pa

commit python-py2pack for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2013-06-19 17:04:05

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2013-05-03 13:46:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2013-06-19 17:04:07.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 17 12:15:02 UTC 2013 - speili...@suse.com
+
+- Only require python-argparse on SLE, it's part of Python-2.7
+
+---



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.87vqCV/_old  2013-06-19 17:04:07.0 +0200
+++ /var/tmp/diff_new_pack.87vqCV/_new  2013-06-19 17:04:07.0 +0200
@@ -27,9 +27,9 @@
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-Jinja2
-Requires:   python-argparse
 Requires:   python-Jinja2
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
+Requires:   python-argparse
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
 BuildArch:  noarch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2013-05-03 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2013-05-03 13:46:05

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2013-05-02 11:42:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2013-05-03 13:46:05.0 +0200
@@ -1,0 +2,12 @@
+Fri May  3 10:25:01 UTC 2013 - speili...@suse.com
+
+- Update to version 0.4.3.4:
+  + catch more doc files
+
+---
+Thu May  2 12:38:35 UTC 2013 - speili...@suse.com
+
+- Update to version 0.4.3.3:
+  + Various bugfixes
+
+---

Old:

  py2pack-0.4.3.2.tar.gz

New:

  py2pack-0.4.3.4.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.hg7SWh/_old  2013-05-03 13:46:07.0 +0200
+++ /var/tmp/diff_new_pack.hg7SWh/_new  2013-05-03 13:46:07.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   python-py2pack
-Version:0.4.3.2
+Version:0.4.3.4
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.4.3.2.tar.gz -> py2pack-0.4.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.2/PKG-INFO new/py2pack-0.4.3.4/PKG-INFO
--- old/py2pack-0.4.3.2/PKG-INFO2013-04-29 15:18:13.0 +0200
+++ new/py2pack-0.4.3.4/PKG-INFO2013-05-03 12:24:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.4.3.2
+Version: 0.4.3.4
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.3.2/py2pack/py2pack.py 
new/py2pack-0.4.3.4/py2pack/py2pack.py
--- old/py2pack-0.4.3.2/py2pack/py2pack.py  2013-04-29 15:17:51.0 
+0200
+++ new/py2pack-0.4.3.4/py2pack/py2pack.py  2013-05-03 12:23:40.0 
+0200
@@ -37,7 +37,7 @@
 warnings.filterwarnings('ignore', 'Module argparse was already imported')   # 
Filter a UserWarning from Jinja2
 import jinja2
 
-__version__ = '0.4.3.2'
+__version__ = '0.4.3.4'
 
 
 class ProxiedTransport(xmlrpclib.Transport):
@@ -57,7 +57,7 @@
 pypi = xmlrpclib.ServerProxy('http://python.org/pypi')  # 
XML RPC connection to PyPI
 env = jinja2.Environment(loader=jinja2.FileSystemLoader(TEMPLATE_DIR))  # 
Jinja2 template environment
 
-SPDX_LICENSES_FILE = 'py2pack/suse_spdx_license_map.p'
+SPDX_LICENSES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), 
'suse_spdx_license_map.p')  # absolute template path
 SDPX_LICENSES = pickle.load(open(SPDX_LICENSES_FILE, 'rb'))
 
 
@@ -93,33 +93,28 @@
 
 def _augment_data_from_tarball(args, filename, data):
 setup_filename = "{0}-{1}/setup.py".format(args.name, args.version)
-docs_re = 
re.compile("{0}-{1}\/(AUTHOR|CHANGES|COPYING|LICENSE|NEWS|README(?:\.\w+)?)".format(args.name,
 args.version), re.IGNORECASE)
+docs_re = 
re.compile("{0}-{1}\/((?:AUTHOR|ChangeLog|CHANGES|COPYING|LICENSE|NEWS|README).*)".format(args.name,
 args.version), re.IGNORECASE)
 
 if tarfile.is_tarfile(filename):
 with tarfile.open(filename) as f:
+names = f.getnames()
 for line in f.extractfile(setup_filename):
 if "ext_modules" in line:   # 
tarball contains C/C++ extension
 data["is_extension"] = True
-for name in f.getnames():
-match = re.match(docs_re, name)
-if match:
-print "DOC", match.groups()
-if not "doc_files" in data:
-data["doc_files"] = []
-data["doc_files"].append(match.group(1))
 elif zipfile.is_zipfile(filename):
 with zipfile.ZipFile(filename) as f:
+names = f.namelist()
 with f.open(setup_filename) as s:
 for line in s:
 if "ext_modules" in line:   # 
tarball contains C/C++ extension
 data["is_extension"] = True
-for name in f.namelist():
-match = re.match(docs_re, name)
-if match:
-print "DOC", match.groups()
-if not "doc

commit python-py2pack for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2013-05-02 11:42:03

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack"

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2012-05-03 11:00:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2013-05-02 11:42:04.0 +0200
@@ -1,0 +2,8 @@
+Mon Apr 29 13:09:04 UTC 2013 - speili...@suse.com
+
+- Update to version 0.4.3:
+  + Generate SPDX-style licenses
+  + Find documentation files from local tarball
+  + Detect C extensions from local tarball
+
+---

Old:

  py2pack-0.4.1.1.tar.gz

New:

  py2pack-0.4.3.2.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.jlZb5s/_old  2013-05-02 11:42:05.0 +0200
+++ /var/tmp/diff_new_pack.jlZb5s/_new  2013-05-02 11:42:05.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   python-py2pack
-Version:0.4.1.1
+Version:0.4.3.2
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.4.1.1.tar.gz -> py2pack-0.4.3.2.tar.gz ++
 1988 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2012-05-03 Thread h_root
Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2012-05-03 11:00:02

Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and  /work/SRC/openSUSE:Factory/.python-py2pack.new (New)


Package is "python-py2pack", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes
2011-09-26 10:17:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes   
2012-05-03 11:00:05.0 +0200
@@ -1,0 +2,6 @@
+Fri Apr 13 12:13:49 UTC 2012 - sasc...@suse.de
+
+- Update to version 0.4.1.1
+  * spec file template conforms to spec-cleaner
+
+---

Old:

  py2pack-0.3.21.tar.gz

New:

  py2pack-0.4.1.1.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.U576e6/_old  2012-05-03 11:00:06.0 +0200
+++ /var/tmp/diff_new_pack.U576e6/_new  2012-05-03 11:00:06.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py2pack
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,12 +11,12 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 Name:   python-py2pack
-Version:0.3.21
+Version:0.4.1.1
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -29,13 +29,11 @@
 BuildRequires:  python-Jinja2
 Requires:   python-argparse
 Requires:   python-Jinja2
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
 BuildArch:  noarch
 %endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.

++ py2pack-0.3.21.tar.gz -> py2pack-0.4.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.21/MANIFEST.in 
new/py2pack-0.4.1.1/MANIFEST.in
--- old/py2pack-0.3.21/MANIFEST.in  2011-03-09 09:45:40.0 +0100
+++ new/py2pack-0.4.1.1/MANIFEST.in 2012-03-29 11:45:09.0 +0200
@@ -1,3 +1,3 @@
 include AUTHORS LICENSE README.rst
-include doc/*
+include docs/*
 include py2pack/templates/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.21/PKG-INFO new/py2pack-0.4.1.1/PKG-INFO
--- old/py2pack-0.3.21/PKG-INFO 2011-09-22 12:48:42.0 +0200
+++ new/py2pack-0.4.1.1/PKG-INFO2012-04-13 09:28:43.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.21
+Version: 0.4.1.1
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.21/doc/py2pack.1 
new/py2pack-0.4.1.1/doc/py2pack.1
--- old/py2pack-0.3.21/doc/py2pack.12011-08-25 13:43:43.0 +0200
+++ new/py2pack-0.4.1.1/doc/py2pack.1   1970-01-01 01:00:00.0 +0100
@@ -1,168 +0,0 @@
-'\" t
-.\" Title: py2pack
-.\"Author: Sascha Peilicke 
-.\" Generator: DocBook XSL Stylesheets v1.76.1 
-.\"  Date: 07/19/2011
-.\"Manual: @VERSION@
-.\"Source: http://github.com/saschpe/py2pack @VERSION@
-.\"  Language: English
-.\"
-.TH "PY2PACK" "1" "07/19/2011" "http://github\&.com/saschpe/py"; "@VERSION@"
-.\" -
-.\" * Define some portability stuff
-.\" -
-.\" ~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~
-.ie \n(.g .ds Aq \(aq
-.el   .ds Aq '
-.\" ---

commit python-py2pack for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Mon Sep 26 10:17:15 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-09-20 16:58:36.0 
+0200
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-09-22 13:17:34.0 +0200
@@ -1,0 +2,7 @@
+Thu Sep 22 11:15:40 UTC 2011 - sasc...@suse.de
+
+- Set license to GPL-2.0+ (SPDX style)
+- Update to version 0.3.21:
+  * Improvements to the Fedora and SUSE spec templates
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.20.tar.gz

New:

  py2pack-0.3.21.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.ZDn7nQ/_old  2011-09-26 10:17:11.0 +0200
+++ /var/tmp/diff_new_pack.ZDn7nQ/_new  2011-09-26 10:17:11.0 +0200
@@ -16,11 +16,11 @@
 #
 
 Name:   python-py2pack
-Version:0.3.20
+Version:0.3.21
 Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
-License:GPLv2
+License:GPL-2.0+
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ py2pack-0.3.20.tar.gz -> py2pack-0.3.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.20/MANIFEST.in 
new/py2pack-0.3.21/MANIFEST.in
--- old/py2pack-0.3.20/MANIFEST.in  1970-01-01 01:00:00.0 +0100
+++ new/py2pack-0.3.21/MANIFEST.in  2011-03-09 09:45:40.0 +0100
@@ -0,0 +1,3 @@
+include AUTHORS LICENSE README.rst
+include doc/*
+include py2pack/templates/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.20/PKG-INFO new/py2pack-0.3.21/PKG-INFO
--- old/py2pack-0.3.20/PKG-INFO 2011-06-22 12:26:21.0 +0200
+++ new/py2pack-0.3.21/PKG-INFO 2011-09-22 12:48:42.0 +0200
@@ -1,13 +1,12 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.20
+Version: 0.3.21
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
 Author-email: sasc...@gmx.de
 License: GPLv2
-Description: ===
-py2pack
+Description: py2pack
 ===
 
 This script allows to generate RPM spec or DEB dsc files from Python 
modules.
@@ -19,8 +18,8 @@
 Prerequisites
 =
 
-py2pack needs the argparse_ Python module installed. It is also part of
-the Python-2.7 Standard Library. Additionally, it uses the Jinja2_ 
templating
+py2pack needs the argparse_ Python module installed. It is also part 
of the 
+Python-2.7 Standard Library. Additionally, it uses the Jinja2_ 
templating
 engine.
 
 
@@ -61,10 +60,9 @@
  $ py2pack help
 
 
-License
-===
+ :copyright: (c) 2011 Sascha Peilicke.
+ :license: GPLv2, see LICENSE for more details.
 
-See the file LICENSE.
 
 .. _argparse: http://pypi.python.org/pypi/argparse
 .. _Jinja2: http://pypi.python.org/pypi/Jinja2 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.20/README.rst 
new/py2pack-0.3.21/README.rst
--- old/py2pack-0.3.20/README.rst   2011-01-13 10:15:09.0 +0100
+++ new/py2pack-0.3.21/README.rst   2011-08-25 13:43:43.0 +0200
@@ -1,4 +1,3 @@
-===
 py2pack
 ===
 
@@ -11,8 +10,8 @@
 Prerequisites
 =
 
-py2pack needs the argparse_ Python module installed. It is also part of
-the Python-2.7 Standard Library. Additionally, it uses the Jinja2_ templating
+py2pack needs the argparse_ Python module installed. It is also part of the 
+Python-2.7 Standard Library. Additionally, it uses the Jinja2_ templating
 engine.
 
 
@@ -53,10 +52,9 @@
  $ py2pack help
 
 
-License
-===
+ :copyright: (c) 2011 Sascha Peilicke.
+ :license: GPLv2, see LICENSE for more details.
 
-See the file LICENSE.
 
 .. _argparse: http://pypi.python.org/pypi/argparse
 .. _Jinja2: http://pypi.python.org/pypi/Jinja2 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.20/doc/py2pack.1 
new/py2pack-0.3.21/doc/py2pack.1
--- old/py2pack-0.3.20/doc/py2pack.12011-03-09 10:15:46.0 +0100
+++ new/py2pack-0.3.21/doc/py2pack.12011-08-25 13:43:43.0 +0200
@@ -1,13 +1,22 @@
 '\" t
 .\" Title: py2pack
 .\"Author: Sascha Peilicke 
-.\" Generator: DocBook XSL Stylesheets v1.75.2 
-.\"  Da

commit python-py2pack for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Wed Sep 21 17:20:37 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-07-07 15:20:15.0 
+0200
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-09-20 16:58:36.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 20 14:57:05 UTC 2011 - sasc...@suse.de
+
+- Buildrequire python-Jinja2 instead of python-jinja2
+- Removed %clean section, use sane default
+- Fix non-executable script rpmlint warning
+
+---

calling whatdependson for head-i586




Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.MM5KYa/_old  2011-09-21 17:20:34.0 +0200
+++ /var/tmp/diff_new_pack.MM5KYa/_new  2011-09-21 17:20:34.0 +0200
@@ -11,15 +11,13 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-
+#
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   python-py2pack
 Version:0.3.20
-Release:3
+Release:0
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:GPLv2
@@ -28,9 +26,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
-BuildRequires:  python-jinja2
+BuildRequires:  python-Jinja2
 Requires:   python-argparse
-Requires:   python-jinja2
+Requires:   python-Jinja2
 %if 0%{?suse_version}
 %py_requires
 %if 0%{?suse_version} > 1110
@@ -47,9 +45,9 @@
 
 %prep
 %setup -q -n py2pack-%{version}
+sed -i "1d" py2pack/py2pack.py # Fix non-executable script
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
@@ -60,14 +58,11 @@
 install -d %{buildroot}%{_docdir}/%{name}
 mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
 %{_mandir}/man?/py2pack.*
 %{_bindir}/py2pack
-%python_sitelib/*
+%{python_sitelib}/*
 
 %changelog






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2011-09-05 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Mon Sep 5 17:04:00 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-06-22 12:35:32.0 
+0200
+++ python-py2pack/python-py2pack.changes   2011-07-07 15:20:15.0 
+0200
@@ -1,0 +2,5 @@
+Thu Jul  7 13:17:54 UTC 2011 - sasc...@suse.de
+
+- Remove unused %python_sitearch macro definition
+
+---

calling whatdependson for head-i586




Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.2du4l2/_old  2011-09-05 17:02:56.0 +0200
+++ /var/tmp/diff_new_pack.2du4l2/_new  2011-09-05 17:02:56.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   python-py2pack
 Version:0.3.20
-Release:1
+Release:3
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:GPLv2
@@ -38,7 +38,6 @@
 %endif
 %endif
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2011-06-24 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Fri Jun 24 10:21:23 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-05-18 13:41:03.0 
+0200
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-06-22 12:35:32.0 +0200
@@ -1,0 +2,13 @@
+Wed Jun 22 10:21:55 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.20
+  * Use URL for RPM tag 'Source' instead of filename
+
+---
+Tue May 31 08:01:06 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.18
+  * Also list dependencies from 'install_requires'
+  * Allow to depend on specific Python versions
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.17.tar.gz

New:

  py2pack-0.3.20.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.fjsw60/_old  2011-06-24 10:16:49.0 +0200
+++ /var/tmp/diff_new_pack.fjsw60/_new  2011-06-24 10:16:49.0 +0200
@@ -16,16 +16,15 @@
 #
 
 
-%define mod_name py2pack
 
-Name:   python-%{mod_name}
-Version:0.3.17
+Name:   python-py2pack
+Version:0.3.20
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:GPLv2
 Group:  Development/Languages/Python
-Source: %{mod_name}-%{version}.tar.gz
+Source: 
http://pypi.python.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
@@ -48,19 +47,19 @@
 universal tool to package Python modules.
 
 %prep
-export CFLAGS="%{optflags}"
-%setup -q -n %{mod_name}-%{version}
+%setup -q -n py2pack-%{version}
 
 %build
+export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 # The setup script installs stuff into '/usr/local', move stuff around 
accordingly
 install -d %{buildroot}%{_mandir}/man1
-mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1
+mv %{buildroot}/usr/man/man1/py2pack.* %{buildroot}%{_mandir}/man1
 install -d %{buildroot}%{_docdir}/%{name}
-mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name}
+mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name}
 
 %clean
 rm -rf %{buildroot}
@@ -68,8 +67,8 @@
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
-%{_mandir}/man?/%{mod_name}.*
-%{_bindir}/%{mod_name}
-%python_sitelib/%{mod_name}*
+%{_mandir}/man?/py2pack.*
+%{_bindir}/py2pack
+%python_sitelib/*
 
 %changelog

++ py2pack-0.3.17.tar.gz -> py2pack-0.3.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.17/PKG-INFO new/py2pack-0.3.20/PKG-INFO
--- old/py2pack-0.3.17/PKG-INFO 2011-05-18 13:32:53.0 +0200
+++ new/py2pack-0.3.20/PKG-INFO 2011-06-22 12:26:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.17
+Version: 0.3.20
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.17/py2pack/__init__.py 
new/py2pack-0.3.20/py2pack/__init__.py
--- old/py2pack-0.3.17/py2pack/__init__.py  2011-05-18 13:32:15.0 
+0200
+++ new/py2pack-0.3.20/py2pack/__init__.py  2011-06-22 12:26:04.0 
+0200
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke '
-__version__ = '0.3.17'
+__version__ = '0.3.20'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.17/py2pack/py2pack.py 
new/py2pack-0.3.20/py2pack/py2pack.py
--- old/py2pack-0.3.17/py2pack/py2pack.py   2011-05-18 13:30:19.0 
+0200
+++ new/py2pack-0.3.20/py2pack/py2pack.py   2011-06-22 12:25:08.0 
+0200
@@ -64,9 +64,9 @@
 data = pypi.release_data(args.name, args.version)   # 
fetch all meta data
 url = newest_download_url(args)
 if url:
-data['file_name'] = url['filename']
+data['source_url'] = url['url']
 else:
-data['file_name'] = args.name + '-' + args.version + '.zip'
+data['source_url'] = args.name + '-' + args.version + '.zip'
 data['year'] = datetime.now().year  # 
set current year
 data['user_name'] = pwd.getpwuid(os.getuid())[4]# 
set system user (packager)
 templ

commit python-py2pack for openSUSE:Factory

2011-05-18 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Wed May 18 16:58:11 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-04-27 11:49:16.0 
+0200
+++ python-py2pack/python-py2pack.changes   2011-05-18 13:41:03.0 
+0200
@@ -1,0 +2,10 @@
+Wed May 18 11:36:27 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.17
+  * Fix unicode encoding issues
+  * New spec file template for Mageia (formerly Mandriva)
+- Changes from version 0.3.16
+  * More testing
+  * Updated spec file templates according to distro policies
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.15.tar.gz

New:

  py2pack-0.3.17.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.X8z3fY/_old  2011-05-18 16:56:01.0 +0200
+++ /var/tmp/diff_new_pack.X8z3fY/_new  2011-05-18 16:56:01.0 +0200
@@ -19,7 +19,7 @@
 %define mod_name py2pack
 
 Name:   python-%{mod_name}
-Version:0.3.15
+Version:0.3.17
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.3.15.tar.gz -> py2pack-0.3.17.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.15/PKG-INFO new/py2pack-0.3.17/PKG-INFO
--- old/py2pack-0.3.15/PKG-INFO 2011-04-27 10:47:06.0 +0200
+++ new/py2pack-0.3.17/PKG-INFO 2011-05-18 13:32:53.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.15
+Version: 0.3.17
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.15/py2pack/__init__.py 
new/py2pack-0.3.17/py2pack/__init__.py
--- old/py2pack-0.3.15/py2pack/__init__.py  2011-04-27 10:46:13.0 
+0200
+++ new/py2pack-0.3.17/py2pack/__init__.py  2011-05-18 13:32:15.0 
+0200
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke '
-__version__ = '0.3.15'
+__version__ = '0.3.17'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.15/py2pack/py2pack.py 
new/py2pack-0.3.17/py2pack/py2pack.py
--- old/py2pack-0.3.15/py2pack/py2pack.py   2011-02-16 09:25:03.0 
+0100
+++ new/py2pack-0.3.17/py2pack/py2pack.py   2011-05-18 13:30:19.0 
+0200
@@ -64,13 +64,13 @@
 data = pypi.release_data(args.name, args.version)   # 
fetch all meta data
 url = newest_download_url(args)
 if url:
-  data['ending'] = url['filename'].rsplit(args.name + "-" + 
args.version)[1] # split of name-version to get ending
+data['file_name'] = url['filename']
 else:
-  data['ending'] = '.zip'   # 
set sane default if no download available
+data['file_name'] = args.name + '-' + args.version + '.zip'
 data['year'] = datetime.now().year  # 
set current year
 data['user_name'] = pwd.getpwuid(os.getuid())[4]# 
set system user (packager)
 template = env.get_template(args.template)
-result = template.render(data)
+result = template.render(data).encode('utf-8')  # 
render template and encode properly
 outfile = open(args.filename, 'w')  # 
write result to spec file
 try:
 outfile.write(result)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.15/py2pack/templates/fedora.spec 
new/py2pack-0.3.17/py2pack/templates/fedora.spec
--- old/py2pack-0.3.15/py2pack/templates/fedora.spec2010-12-20 
12:44:22.0 +0100
+++ new/py2pack-0.3.17/py2pack/templates/fedora.spec2011-05-06 
15:51:01.0 +0200
@@ -1,10 +1,10 @@
 #
-# spec file for package python-{{ name|lower }}
+# spec file for package python-{{ name }}
 #
 # Copyright (c) {{ year }} {{ user_name }}.
 #
 
-%define mod_name {{ name|lower }}
+%define mod_name {{ name }}
 
 Name:   python-%{mod_name}
 Version:{{ version }}
@@ -13,37 +13,25 @@
 Summary:{{ summary }}
 License:{{ license }}
 Group:  Development/Languages/Python
-{%- if name != name|lower %}
-Source: {{ name }}-%{version}{{ ending }}
-{%- else %}
-Source: %{mod_name}-%{version}{{ ending }}
-{%- endif %}
+Source: {{ file_name }}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Buil

commit python-py2pack for openSUSE:Factory

2011-04-27 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Thu Apr 28 03:19:10 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-03-31 16:22:26.0 
+0200
+++ python-py2pack/python-py2pack.changes   2011-04-27 11:49:16.0 
+0200
@@ -1,0 +2,6 @@
+Wed Apr 27 09:47:18 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.15
+  * Minor SUSE template fixes
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.14.tar.gz

New:

  py2pack-0.3.15.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.xmW5R8/_old  2011-04-28 03:18:25.0 +0200
+++ /var/tmp/diff_new_pack.xmW5R8/_new  2011-04-28 03:18:25.0 +0200
@@ -16,13 +16,10 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
 %define mod_name py2pack
 
 Name:   python-%{mod_name}
-Version:0.3.14
+Version:0.3.15
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -30,17 +27,19 @@
 Group:  Development/Languages/Python
 Source: %{mod_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-jinja2
-Requires:   python-jinja2
-BuildRequires:  python-argparse
 Requires:   python-argparse
+Requires:   python-jinja2
 %if 0%{?suse_version}
 %py_requires
-%if %{?suse_version: %{suse_version} > 1110}
+%if 0%{?suse_version} > 1110
 BuildArch:  noarch
 %endif
 %endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 %description
 This script allows to generate RPM spec or DEB dsc files from Python modules.

++ py2pack-0.3.14.tar.gz -> py2pack-0.3.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/PKG-INFO new/py2pack-0.3.15/PKG-INFO
--- old/py2pack-0.3.14/PKG-INFO 2011-03-31 16:18:09.0 +0200
+++ new/py2pack-0.3.15/PKG-INFO 2011-04-27 10:47:06.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.14
+Version: 0.3.15
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/py2pack/__init__.py 
new/py2pack-0.3.15/py2pack/__init__.py
--- old/py2pack-0.3.14/py2pack/__init__.py  2011-03-31 16:16:07.0 
+0200
+++ new/py2pack-0.3.15/py2pack/__init__.py  2011-04-27 10:46:13.0 
+0200
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke '
-__version__ = '0.3.14'
+__version__ = '0.3.15'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.14/py2pack/templates/opensuse.spec 
new/py2pack-0.3.15/py2pack/templates/opensuse.spec
--- old/py2pack-0.3.14/py2pack/templates/opensuse.spec  2011-03-31 
16:15:35.0 +0200
+++ new/py2pack-0.3.15/py2pack/templates/opensuse.spec  2011-04-26 
15:18:20.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-{{ name|lower }}
+# spec file for package python-{{ name }}
 #
 # Copyright (c) {{ year }} SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -15,10 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-%define mod_name {{ name|lower }}
+%define mod_name {{ name }}
 
 Name:   python-%{mod_name}
 Version:{{ version }}
@@ -27,16 +25,12 @@
 Summary:{{ summary }}
 License:{{ license }}
 Group:  Development/Languages/Python
-{%- if name != name|lower %}
-Source: {{ name }}-%{version}{{ ending }}
-{%- else %}
 Source: %{mod_name}-%{version}{{ ending }}
-{%- endif %}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 {%- 

commit python-py2pack for openSUSE:Factory

2011-04-15 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Fri Apr 15 11:52:56 CEST 2011.




--- python-py2pack/python-py2pack.changes   2011-03-09 10:41:06.0 
+0100
+++ python-py2pack/python-py2pack.changes   2011-03-31 16:22:26.0 
+0200
@@ -1,0 +2,6 @@
+Thu Mar 31 14:19:15 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.14
+  * Remove #norootforbuild and *.egg-info from %%files section
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.13.tar.bz2

New:

  py2pack-0.3.14.tar.gz



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.B0Pze5/_old  2011-04-15 11:52:46.0 +0200
+++ /var/tmp/diff_new_pack.B0Pze5/_new  2011-04-15 11:52:46.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -23,13 +22,13 @@
 %define mod_name py2pack
 
 Name:   python-%{mod_name}
-Version:0.3.13
+Version:0.3.14
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
 License:GPLv2
 Group:  Development/Languages/Python
-Source: %{mod_name}-%{version}.tar.bz2
+Source: %{mod_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-jinja2






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-py2pack for openSUSE:Factory

2011-03-09 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Wed Mar 9 13:31:17 CET 2011.




--- python-py2pack/python-py2pack.changes   2011-02-16 10:06:55.0 
+0100
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-03-09 10:41:06.0 +0100
@@ -1,0 +2,7 @@
+Wed Mar  9 09:18:43 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.13:
+  * Generate manpage and HTML documentation
+- Added manpage and HTML documentation
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.11.tar.bz2

New:

  py2pack-0.3.13.tar.bz2



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.o0CTYv/_old  2011-03-09 13:31:04.0 +0100
+++ /var/tmp/diff_new_pack.o0CTYv/_new  2011-03-09 13:31:04.0 +0100
@@ -23,7 +23,7 @@
 %define mod_name py2pack
 
 Name:   python-%{mod_name}
-Version:0.3.11
+Version:0.3.13
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI
@@ -58,12 +58,19 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# The setup script installs stuff into '/usr/local', move stuff around 
accordingly
+install -d %{buildroot}%{_mandir}/man1
+mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1
+install -d %{buildroot}%{_docdir}/%{name}
+mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name}
 
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
+%{_mandir}/man?/%{mod_name}.*
 %{_bindir}/%{mod_name}
 %python_sitelib/%{mod_name}*
 

++ py2pack-0.3.11.tar.bz2 -> py2pack-0.3.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.11/PKG-INFO new/py2pack-0.3.13/PKG-INFO
--- old/py2pack-0.3.11/PKG-INFO 2011-02-16 09:39:16.0 +0100
+++ new/py2pack-0.3.13/PKG-INFO 2011-03-09 10:17:16.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.11
+Version: 0.3.13
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.11/doc/py2pack.1 
new/py2pack-0.3.13/doc/py2pack.1
--- old/py2pack-0.3.11/doc/py2pack.11970-01-01 01:00:00.0 +0100
+++ new/py2pack-0.3.13/doc/py2pack.12011-03-09 10:15:46.0 +0100
@@ -0,0 +1,159 @@
+'\" t
+.\" Title: py2pack
+.\"Author: Sascha Peilicke 
+.\" Generator: DocBook XSL Stylesheets v1.75.2 
+.\"  Date: 03/09/2011
+.\"Manual: @VERSION@
+.\"Source: http://github.com/saschpe/py2pack @VERSION@
+.\"  Language: English
+.\"
+.TH "PY2PACK" "1" "03/09/2011" "http://github\&.com/saschpe/py"; "@VERSION@"
+.\" -
+.\" * set default formatting
+.\" -
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -
+.\" * MAIN CONTENT STARTS HERE *
+.\" -
+.SH "NAME"
+py2pack \- Generate Distribution Packages from Python Packages on PyPI
+.SH "SYNOPSIS"
+.HP \w'\fBpy2pack\fR\ 'u
+\fBpy2pack\fR [\-h] [\-\-version] {search | help | show | list | fetch | 
generate} ...
+.SH "COMMANDS"
+.PP
+The following commands are available:
+.SS "The fetch Command"
+.HP \w'\fBpy2pack\fR\ 'u
+\fBpy2pack\fR fetch  name [version]
+.PP
+Downloads a package from PyPI and stores it in the current directory\&. 
Optionally you can specify a version number\&.
+.SS "The generate Command"
+.HP \w'\fBpy2pack\fR\fB\ generate\fR\ 'u
+\fBpy2pack\fR\fB generate\fR [\-h] [\-t\ {fedora\&.spec\ |\ opensuse\&.dsc\ |\ 
opensuse\&.spec}] [\-f\ \fIFILENAME\fR] name [version]
+.PP
+Creates a SPEC or DSC file for a specific distribution\&.
+.SS "The list Command"
+.HP \w'\fBpy2pack\fR\fB\ list\fR\ 'u
+\fBpy2pack\fR\fB list\fR [\-h]
+.PP
+Gives a list of all Python modules available on PyPI\&.
+.SS "The search Command"
+.HP \w'\fBpy2pack\fR\fB\ search\fR\ 'u
+\fBpy2pack\fR\fB search\fR [\-h] {name}
+.PP
+Gives a list of all Python modules found in
+\fIname\fR\&.
+.SS "The show Command"
+.HP \w'\fBpy2pack\fR\fB\ show\fR\ 'u
+\fBpy2pack\fR\fB show\fR [\-h] {name} [version]
+.PP
+Shows the
+\m[blue]\fBDOAP\fR\m[]\&\s-2\u[1]\d\s+2
+record for the given name and version (optionally)\&. The output is a Python 
dictionary\&.
+.SH "EXAMPLES"
+.PP
+Creating a package from a Python module involves the f

commit python-py2pack for openSUSE:Factory

2011-03-08 Thread h_root

Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Tue Mar 8 11:02:14 CET 2011.




--- python-py2pack/python-py2pack.changes   2011-01-26 18:36:59.0 
+0100
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-02-16 10:06:55.0 +0100
@@ -1,0 +2,7 @@
+Wed Feb 16 08:42:27 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.11
+  * Remove newer Python features (allow running on older Distros,
+namely RHEL5 and SLES9)
+
+---

calling whatdependson for head-i586


Old:

  py2pack-0.3.10.tar.bz2

New:

  py2pack-0.3.11.tar.bz2



Other differences:
--
++ python-py2pack.spec ++
--- /var/tmp/diff_new_pack.QaVDYa/_old  2011-03-08 10:58:42.0 +0100
+++ /var/tmp/diff_new_pack.QaVDYa/_new  2011-03-08 10:58:42.0 +0100
@@ -23,7 +23,7 @@
 %define mod_name py2pack
 
 Name:   python-%{mod_name}
-Version:0.3.10
+Version:0.3.11
 Release:1
 Url:http://github.com/saschpe/py2pack
 Summary:Generate distribution packages from Python packages on PyPI

++ py2pack-0.3.10.tar.bz2 -> py2pack-0.3.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/PKG-INFO new/py2pack-0.3.11/PKG-INFO
--- old/py2pack-0.3.10/PKG-INFO 2011-01-26 18:29:49.0 +0100
+++ new/py2pack-0.3.11/PKG-INFO 2011-02-16 09:39:16.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.10
+Version: 0.3.11
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/py2pack/__init__.py 
new/py2pack-0.3.11/py2pack/__init__.py
--- old/py2pack-0.3.10/py2pack/__init__.py  2011-01-26 18:28:23.0 
+0100
+++ new/py2pack-0.3.11/py2pack/__init__.py  2011-02-16 09:38:58.0 
+0100
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke '
-__version__ = '0.3.10'
+__version__ = '0.3.11'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/py2pack/py2pack.py 
new/py2pack-0.3.11/py2pack/py2pack.py
--- old/py2pack-0.3.10/py2pack/py2pack.py   2011-01-18 22:00:26.0 
+0100
+++ new/py2pack-0.3.11/py2pack/py2pack.py   2011-02-16 09:25:03.0 
+0100
@@ -71,8 +71,11 @@
 data['user_name'] = pwd.getpwuid(os.getuid())[4]# 
set system user (packager)
 template = env.get_template(args.template)
 result = template.render(data)
-with open(args.filename, 'w') as outfile:   # 
write result to spec file
+outfile = open(args.filename, 'w')  # 
write result to spec file
+try:
 outfile.write(result)
+finally:
+outfile.close()
 
 def check_or_set_version(args):
 if not args.version:# 
take first version found






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org