commit python-metaextract for openSUSE:Factory

2020-03-29 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2020-03-29 14:28:16

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


Package is "python-metaextract"

Sun Mar 29 14:28:16 2020 rev:15 rq:789408 version:1.0.7

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2019-08-27 12:01:34.551649453 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.3160/python-metaextract.changes
  2020-03-29 14:28:21.582179241 +0200
@@ -1,0 +2,6 @@
+Sun Mar 29 05:33:31 UTC 2020 - Thomas Bechtold 
+
+- update to 1.0.7:
+  * Use default json encoder 'str'
+
+---

Old:

  1.0.6.tar.gz

New:

  1.0.7.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.JATDzs/_old  2020-03-29 14:28:22.754179839 +0200
+++ /var/tmp/diff_new_pack.JATDzs/_new  2020-03-29 14:28:22.758179842 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-metaextract
 #
-# Copyright (c) 2019 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,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-metaextract
-Version:1.0.6
+Version:1.0.7
 Release:0
 Summary:Module to collect metadata for Python modules
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:http://github.com/toabctl/metaextract
+URL:http://github.com/toabctl/metaextract
 Source: 
https://github.com/toabctl/metaextract/archive/%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++ 1.0.6.tar.gz -> 1.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.6/metaextract/__init__.py 
new/metaextract-1.0.7/metaextract/__init__.py
--- old/metaextract-1.0.6/metaextract/__init__.py   2019-08-08 
10:30:46.0 +0200
+++ new/metaextract-1.0.7/metaextract/__init__.py   2020-03-29 
07:21:37.0 +0200
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.6"
+__version__ = "1.0.7"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.6/metaextract/metaextract.py 
new/metaextract-1.0.7/metaextract/metaextract.py
--- old/metaextract-1.0.6/metaextract/metaextract.py2019-08-08 
10:30:46.0 +0200
+++ new/metaextract-1.0.7/metaextract/metaextract.py2020-03-29 
07:21:37.0 +0200
@@ -78,6 +78,7 @@
 if self.output:
 with open(self.output, "w+") as f:
 f.write(json.dumps(data_with_version, indent=2,
-   sort_keys=True))
+   sort_keys=True, default=str))
 else:
-print(json.dumps(data_with_version, indent=2, sort_keys=True))
+print(json.dumps(data_with_version, indent=2,
+ sort_keys=True, default=str))




commit python-metaextract for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2019-08-27 12:01:33

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


Package is "python-metaextract"

Tue Aug 27 12:01:33 2019 rev:14 rq:726395 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2019-08-08 14:23:56.864344082 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.7948/python-metaextract.changes
  2019-08-27 12:01:34.551649453 +0200
@@ -1,0 +2,6 @@
+Tue Aug 27 07:31:50 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summary. Trim history from description.
+  Fix wrong "it's".
+
+---
@@ -99 +104,0 @@
-



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.AR3oSp/_old  2019-08-27 12:01:35.399649336 +0200
+++ /var/tmp/diff_new_pack.AR3oSp/_new  2019-08-27 12:01:35.439649330 +0200
@@ -20,7 +20,7 @@
 Name:   python-metaextract
 Version:1.0.6
 Release:0
-Summary:Get metadata for python modules
+Summary:Module to collect metadata for Python modules
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract
@@ -40,11 +40,11 @@
 %python_subpackages
 
 %description
-metaextract is a tool to collect metadata about a python module. For example
-you may have a sdist tarball from the `Python Package Index`_ and you want to
-know it's dependencies. metaextract can collect theses dependencies.
-The tool was first developed in `py2pack`_ but is now it's own module to be
-useful for others, too.
+metaextract is a tool to collect metadata about a python module. For
+example, it can determine and collect the dependencies of a sdist
+tarball that was retrieved from the Python Package Index.
+
+The tool was first developed in py2pack but is now its own module.
 
 %prep
 %setup -q -n metaextract-%{version}




commit python-metaextract for openSUSE:Factory

2019-08-08 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2019-08-08 14:23:56

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


Package is "python-metaextract"

Thu Aug  8 14:23:56 2019 rev:13 rq:721692 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2019-06-24 21:54:15.904147779 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.9556/python-metaextract.changes
  2019-08-08 14:23:56.864344082 +0200
@@ -1,0 +2,13 @@
+Thu Aug  8 08:37:50 UTC 2019 - Thomas Bechtold 
+
+- Capitalize summary to make rpmlint happy
+
+---
+Thu Aug  8 08:35:17 UTC 2019 - Thomas Bechtold 
+
+- update to 1.0.6:
+  * Switch to python 3.7
+  * travis: Use py36 for pep8 tox env
+  * Fix tests when using pytest >= 5
+
+---

Old:

  1.0.5.tar.gz

New:

  1.0.6.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.1QTL7O/_old  2019-08-08 14:23:57.320344012 +0200
+++ /var/tmp/diff_new_pack.1QTL7O/_new  2019-08-08 14:23:57.324344012 +0200
@@ -18,9 +18,9 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-metaextract
-Version:1.0.5
+Version:1.0.6
 Release:0
-Summary:get metadata for python modules
+Summary:Get metadata for python modules
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract

++ 1.0.5.tar.gz -> 1.0.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/.travis.yml 
new/metaextract-1.0.6/.travis.yml
--- old/metaextract-1.0.5/.travis.yml   2018-11-09 12:07:20.0 +0100
+++ new/metaextract-1.0.6/.travis.yml   2019-08-08 10:30:46.0 +0200
@@ -2,12 +2,12 @@
 language: python
 matrix:
   include:
-  - python: 2.7
+  - python: 3.7
 env: TOX_ENV=pep8
   - python: 2.7
 env: TOX_ENV=py27
-  - python: 3.6
-env: TOX_ENV=py36
+  - python: 3.7
+env: TOX_ENV=py37
 install:
 - pip install tox
 script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/metaextract/__init__.py 
new/metaextract-1.0.6/metaextract/__init__.py
--- old/metaextract-1.0.5/metaextract/__init__.py   2018-11-09 
12:07:20.0 +0100
+++ new/metaextract-1.0.6/metaextract/__init__.py   2019-08-08 
10:30:46.0 +0200
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.5"
+__version__ = "1.0.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/metaextract-1.0.5/metaextract/tests/test_metaextract.py 
new/metaextract-1.0.6/metaextract/tests/test_metaextract.py
--- old/metaextract-1.0.5/metaextract/tests/test_metaextract.py 2018-11-09 
12:07:20.0 +0100
+++ new/metaextract-1.0.6/metaextract/tests/test_metaextract.py 2019-08-08 
10:30:46.0 +0200
@@ -73,7 +73,7 @@
 with pytest.raises(Exception) as e_info:
 with meta_utils._extract_to_tempdir("foobar"):
 pass
-assert "foobar" in str(e_info)
+assert "foobar" in str(e_info.value)
 
 def test__extract_to_tempdir_tar_archive(self, tararchive):
 tarball_name, tarball_files = tararchive
@@ -139,7 +139,7 @@
 def test_no_setup_py(self, tmpdir):
 with pytest.raises(Exception) as e_info:
 meta_utils._setup_py_run_from_dir(tmpdir.strpath, sys.executable)
-assert tmpdir.strpath in str(e_info)
+assert tmpdir.strpath in str(e_info.value)
 
 @pytest.mark.parametrize("fixture_name,expected_data", [
 (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/tox.ini 
new/metaextract-1.0.6/tox.ini
--- old/metaextract-1.0.5/tox.ini   2018-11-09 12:07:20.0 +0100
+++ new/metaextract-1.0.6/tox.ini   2019-08-08 10:30:46.0 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py36,pep8
+envlist = py27,py37,pep8
 minversion = 1.6
 skipsdist = True
 




commit python-metaextract for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2019-06-24 21:53:32

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


Package is "python-metaextract"

Mon Jun 24 21:53:32 2019 rev:12 rq:711683 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2019-04-05 11:57:08.630357137 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.4615/python-metaextract.changes
  2019-06-24 21:54:15.904147779 +0200
@@ -1,0 +2,5 @@
+Fri Jun 21 12:54:53 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite in %check
+
+---

Old:

  metaextract-1.0.5.tar.gz

New:

  1.0.5.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.bEEKKr/_old  2019-06-24 21:54:16.368148135 +0200
+++ /var/tmp/diff_new_pack.bEEKKr/_new  2019-06-24 21:54:16.368148135 +0200
@@ -24,12 +24,14 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract
-Source: 
https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz
+Source: 
https://github.com/toabctl/metaextract/archive/%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # Needed even though no tests are present
+BuildRequires:  %{python_module pbr}
 BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module pytest}
 Requires:   python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
@@ -62,6 +64,9 @@
 %preun
 %python_uninstall_alternative metaextract
 
+%check
+%pytest
+
 %files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst

++ metaextract-1.0.5.tar.gz -> 1.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/.gitignore 
new/metaextract-1.0.5/.gitignore
--- old/metaextract-1.0.5/.gitignore1970-01-01 01:00:00.0 +0100
+++ new/metaextract-1.0.5/.gitignore2018-11-09 12:07:20.0 +0100
@@ -0,0 +1,65 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+env/
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*,cover
+.hypothesis/
+
+# Translations
+*.mo
+*.pot
+
+# Sphinx documentation
+docs/build/
+
+# PyBuilder
+target/
+
+# IPython Notebook
+.ipynb_checkpoints
+
+# virtualenv
+venv/
+ENV/
+
+*~
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/.travis.yml 
new/metaextract-1.0.5/.travis.yml
--- old/metaextract-1.0.5/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/metaextract-1.0.5/.travis.yml   2018-11-09 12:07:20.0 +0100
@@ -0,0 +1,23 @@
+sudo: false
+language: python
+matrix:
+  include:
+  - python: 2.7
+env: TOX_ENV=pep8
+  - python: 2.7
+env: TOX_ENV=py27
+  - python: 3.6
+env: TOX_ENV=py36
+install:
+- pip install tox
+script:
+- tox -e $TOX_ENV
+deploy:
+  provider: pypi
+  user: toabctl
+  password:
+secure: 
XU/FV623lG48aBV/CuCgOK2idAcfIjkEJbHGXp76Z2XK1+IdbBuIQZF9Lq0OnGINjYpJ/QvgeycciXW1q3WYniZcMaxOYwfQvuqkfZzehwkQWma0HaCadMkSMaKrHR0TvLNb/nNvYC6jf4A9AHcRDdHW7LOngSSls/WpsFPKTeO5gvwxmwjzotdo14NlJtFxcEdwZtRIhVH2FsvUOWsK0K5X9/137mLA/GQ3rDvkQQ/9d1lLUiGWcsEDeeY1FjsG0Wp2b4b6JpTkqMBe2WTzmnDL1JJ8Q8XyTOpCxoXujvMJQD0NxUyrc3iWzAuiyJ4JIgqqw1w4DtQKrUScwVE+NZaItnE3bAox/QbKU/xjE1WMQ4PBsGMW6ljhDZbNIMWlKuEDGRxKhWOO2kDUfdQhmCzxUfb3FcEf87OLQ8Va5Bv2NUbSBiS6MScTFFeR7wA5ikT63yWE9uEnotlm0kYI33G/PC1TEYhWHFoV/KPdhmTRF0hNiMrYB6Q3pbPa0fqPHlfVKw4W3M+tCyqCCHgyO9mhLou2cnenkaVuqPIH2V/fAhFFkagFndvAe1m4iY1QI3Ir4RtDrZzk+yEZHVCBup47uFh11JA0Li/DK4EfWt+vXqYO4cNRSpBhXG2r+FnF4vly4MIGJ/hjJDY25S3AZ7co/RNn2m5FwH8klGnVfHU=
+  on:
+tags: true
+distributions: sdist bdist_wheel
+repo: toabctl/metaextract
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.5/PKG-INFO 
new/metaextract-1.0.5/PKG-INFO
--- 

commit python-metaextract for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2019-04-05 11:57:07

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


Package is "python-metaextract"

Fri Apr  5 11:57:07 2019 rev:11 rq:687611 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2018-12-24 11:39:40.757543291 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.3908/python-metaextract.changes
  2019-04-05 11:57:08.630357137 +0200
@@ -1,0 +2,5 @@
+Thu Mar  7 11:11:14 UTC 2019 - Tomáš Chvátal 
+
+- Fix fdupes call
+
+---



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.p0YHbQ/_old  2019-04-05 11:57:09.518357769 +0200
+++ /var/tmp/diff_new_pack.p0YHbQ/_new  2019-04-05 11:57:09.522357771 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-metaextract
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -52,7 +52,7 @@
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %python_clone -a %{buildroot}%{_bindir}/metaextract
 




commit python-metaextract for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2018-12-24 11:39:40

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


Package is "python-metaextract"

Mon Dec 24 11:39:40 2018 rev:10 rq:659493 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2018-11-12 09:42:18.369113417 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new.28833/python-metaextract.changes
 2018-12-24 11:39:40.757543291 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:50:22 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.2LQnDC/_old  2018-12-24 11:39:41.101542986 +0100
+++ /var/tmp/diff_new_pack.2LQnDC/_new  2018-12-24 11:39:41.101542986 +0100
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract
 Source: 
https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros




commit python-metaextract for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2018-11-12 09:42:14

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


Package is "python-metaextract"

Mon Nov 12 09:42:14 2018 rev:9 rq:647637 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2018-06-29 22:24:10.522584120 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2018-11-12 09:42:18.369113417 +0100
@@ -1,0 +2,8 @@
+Fri Nov  9 16:51:37 UTC 2018 - Thomas Bechtold 
+
+- update to 1.0.5:
+  * Add more key from setup.py to output
+  * tests: Only check expected key/value pairs
+  * Post release version bump to 1.0.5
+
+---

Old:

  metaextract-1.0.4.tar.gz

New:

  metaextract-1.0.5.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.5kKzFP/_old  2018-11-12 09:42:19.82190 +0100
+++ /var/tmp/diff_new_pack.5kKzFP/_new  2018-11-12 09:42:19.82584 +0100
@@ -12,13 +12,13 @@
 # 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-metaextract
-Version:1.0.4
+Version:1.0.5
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0

++ metaextract-1.0.4.tar.gz -> metaextract-1.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.4/PKG-INFO 
new/metaextract-1.0.5/PKG-INFO
--- old/metaextract-1.0.4/PKG-INFO  2018-06-09 15:30:14.0 +0200
+++ new/metaextract-1.0.5/PKG-INFO  2018-11-09 17:47:53.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.4
+Version: 1.0.5
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.4/metaextract/__init__.py 
new/metaextract-1.0.5/metaextract/__init__.py
--- old/metaextract-1.0.4/metaextract/__init__.py   2018-06-09 
15:29:34.0 +0200
+++ new/metaextract-1.0.5/metaextract/__init__.py   2018-11-09 
17:47:11.0 +0100
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.4"
+__version__ = "1.0.5"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.4/metaextract/metaextract.py 
new/metaextract-1.0.5/metaextract/metaextract.py
--- old/metaextract-1.0.4/metaextract/metaextract.py2018-06-09 
15:29:34.0 +0200
+++ new/metaextract-1.0.5/metaextract/metaextract.py2018-11-09 
17:47:11.0 +0100
@@ -43,7 +43,6 @@
 
 def run(self):
 data = dict()
-
 # keep list ordered!
 for key in ['data_files', 'entry_points', 'extras_require',
 'install_requires', 'python_requires', 'setup_requires',
@@ -59,9 +58,17 @@
 data[key][k] = list(v)
 
 # keep list ordered!
-for func in ['has_ext_modules']:
+for func in ['get_author', 'get_author_email', 'get_classifiers',
+ 'get_contact', 'get_contact_email', 'get_description',
+ 'get_download_url', 'get_fullname', 'get_keywords',
+ 'get_license', 'get_long_description', 'get_mainainer',
+ 'get_maintainer_email', 'get_name', 'get_url',
+ 'get_version', 'get_download_url',
+ 'get_fullname', 'get_author', 'get_author_email',
+ 'has_ext_modules']:
 if hasattr(self.distribution, func):
-data[func] = getattr(self.distribution, func)()
+data['{}'.format(func.replace('get_', ''))] = getattr(
+self.distribution, func)()
 
 data_with_version = {
 'version': DATA_VERSION,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.4/metaextract.egg-info/PKG-INFO 
new/metaextract-1.0.5/metaextract.egg-info/PKG-INFO
--- old/metaextract-1.0.4/metaextract.egg-info/PKG-INFO 2018-06-09 
15:30:14.0 +0200
+++ 

commit python-metaextract for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2018-06-29 22:24:08

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


Package is "python-metaextract"

Fri Jun 29 22:24:08 2018 rev:8 rq:615426 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2017-09-20 17:09:18.222164548 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2018-06-29 22:24:10.522584120 +0200
@@ -1,0 +2,9 @@
+Sat Jun  9 13:31:52 UTC 2018 - tbecht...@suse.com
+
+- update to 1.0.4:
+  * Convert sets used in entry_points to lists
+  * Fix unittests
+  * Post release version bump to 1.0.4
+- use %license macro
+
+---

Old:

  metaextract-1.0.3.tar.gz

New:

  metaextract-1.0.4.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.gIAJJn/_old  2018-06-29 22:24:11.110583679 +0200
+++ /var/tmp/diff_new_pack.gIAJJn/_new  2018-06-29 22:24:11.110583679 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-metaextract
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-metaextract
-Version:1.0.3
+Version:1.0.4
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0
@@ -65,7 +65,8 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc README.rst LICENSE
+%doc README.rst
+%license LICENSE
 %python_alternative %{_bindir}/metaextract
 %{python_sitelib}/*
 

++ metaextract-1.0.3.tar.gz -> metaextract-1.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.3/PKG-INFO 
new/metaextract-1.0.4/PKG-INFO
--- old/metaextract-1.0.3/PKG-INFO  2017-09-18 14:57:29.0 +0200
+++ new/metaextract-1.0.4/PKG-INFO  2018-06-09 15:30:14.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.3
+Version: 1.0.4
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.3/metaextract/__init__.py 
new/metaextract-1.0.4/metaextract/__init__.py
--- old/metaextract-1.0.3/metaextract/__init__.py   2017-09-18 
14:56:28.0 +0200
+++ new/metaextract-1.0.4/metaextract/__init__.py   2018-06-09 
15:29:34.0 +0200
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.3"
+__version__ = "1.0.4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.3/metaextract/metaextract.py 
new/metaextract-1.0.4/metaextract/metaextract.py
--- old/metaextract-1.0.3/metaextract/metaextract.py2017-09-18 
14:56:28.0 +0200
+++ new/metaextract-1.0.4/metaextract/metaextract.py2018-06-09 
15:29:34.0 +0200
@@ -53,6 +53,10 @@
 # dict_items objects can not be serialized with json
 if data[key].__class__.__name__ == 'dict_items':
 data[key] = list(data[key])
+if key == 'entry_points' and isinstance(data[key], dict):
+for k, v in data[key].items():
+if isinstance(v, set):
+data[key][k] = list(v)
 
 # keep list ordered!
 for func in ['has_ext_modules']:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.3/metaextract.egg-info/PKG-INFO 
new/metaextract-1.0.4/metaextract.egg-info/PKG-INFO
--- old/metaextract-1.0.3/metaextract.egg-info/PKG-INFO 2017-09-18 
14:57:29.0 +0200
+++ new/metaextract-1.0.4/metaextract.egg-info/PKG-INFO 2018-06-09 
15:30:14.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.3
+Version: 1.0.4
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold




commit python-metaextract for openSUSE:Factory

2017-09-20 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2017-09-20 17:09:13

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


Package is "python-metaextract"

Wed Sep 20 17:09:13 2017 rev:7 rq:527030 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2017-05-08 19:02:54.109095472 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2017-09-20 17:09:18.222164548 +0200
@@ -1,0 +2,8 @@
+Mon Sep 18 13:22:31 UTC 2017 - tbecht...@suse.com
+
+- update to 1.0.3:
+  * Release 1.0.3
+  * Test python 3.6 instead of 3.5
+  * Fix json serialization for dict_items on py3 (#4)
+
+---

Old:

  metaextract-1.0.2.tar.gz

New:

  metaextract-1.0.3.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.fK40I8/_old  2017-09-20 17:09:18.766087979 +0200
+++ /var/tmp/diff_new_pack.fK40I8/_new  2017-09-20 17:09:18.766087979 +0200
@@ -18,17 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-metaextract
-Version:1.0.2
+Version:1.0.3
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract
 Source: 
https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 # Needed even though no tests are present
 BuildRequires:  %{python_module pytest-runner}
 Requires:   python-setuptools

++ metaextract-1.0.2.tar.gz -> metaextract-1.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.2/PKG-INFO 
new/metaextract-1.0.3/PKG-INFO
--- old/metaextract-1.0.2/PKG-INFO  2017-04-24 14:56:18.0 +0200
+++ new/metaextract-1.0.3/PKG-INFO  2017-09-18 14:57:29.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.2
+Version: 1.0.3
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.2/metaextract/__init__.py 
new/metaextract-1.0.3/metaextract/__init__.py
--- old/metaextract-1.0.2/metaextract/__init__.py   2017-04-24 
14:55:44.0 +0200
+++ new/metaextract-1.0.3/metaextract/__init__.py   2017-09-18 
14:56:28.0 +0200
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.2"
+__version__ = "1.0.3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.2/metaextract/metaextract.py 
new/metaextract-1.0.3/metaextract/metaextract.py
--- old/metaextract-1.0.2/metaextract/metaextract.py2017-04-24 
14:55:44.0 +0200
+++ new/metaextract-1.0.3/metaextract/metaextract.py2017-09-18 
14:56:28.0 +0200
@@ -50,6 +50,9 @@
 'scripts', 'tests_require', 'tests_suite']:
 if hasattr(self.distribution, key):
 data[key] = getattr(self.distribution, key)
+# dict_items objects can not be serialized with json
+if data[key].__class__.__name__ == 'dict_items':
+data[key] = list(data[key])
 
 # keep list ordered!
 for func in ['has_ext_modules']:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.2/metaextract.egg-info/PKG-INFO 
new/metaextract-1.0.3/metaextract.egg-info/PKG-INFO
--- old/metaextract-1.0.2/metaextract.egg-info/PKG-INFO 2017-04-24 
14:56:17.0 +0200
+++ new/metaextract-1.0.3/metaextract.egg-info/PKG-INFO 2017-09-18 
14:57:29.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.2
+Version: 1.0.3
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.2/tox.ini 
new/metaextract-1.0.3/tox.ini
--- old/metaextract-1.0.2/tox.ini   2017-04-24 14:55:44.0 +0200
+++ 

commit python-metaextract for openSUSE:Factory

2017-05-08 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2017-05-08 19:02:29

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


Package is "python-metaextract"

Mon May  8 19:02:29 2017 rev:6 rq:491671 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2017-04-26 21:43:59.95863 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2017-05-08 19:02:54.109095472 +0200
@@ -1,0 +2,5 @@
+Thu Apr 27 17:52:38 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+
+---



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.5ujxVB/_old  2017-05-08 19:02:54.625022588 +0200
+++ /var/tmp/diff_new_pack.5ujxVB/_new  2017-05-08 19:02:54.637020893 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-metaextract
 Version:1.0.2
 Release:0
@@ -23,13 +24,19 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://github.com/toabctl/metaextract
-Source: 
https://pypi.io/packages/source/m/metaextract/metaextract-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pytest-runner
-BuildRequires:  python-setuptools
+Source: 
https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+# Needed even though no tests are present
+BuildRequires:  %{python_module pytest-runner}
 Requires:   python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+Requires(post):   update-alternatives
+Requires(preun):  update-alternatives
+%python_subpackages
 
 %description
 metaextract is a tool to collect metadata about a python module. For example
@@ -42,15 +49,24 @@
 %setup -q -n metaextract-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{python_sitelib}
 
-%files
+%python_clone -a %{buildroot}%{_bindir}/metaextract
+
+%post
+%python_install_alternative metaextract
+
+%preun
+%python_uninstall_alternative metaextract
+
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst LICENSE
-%{_bindir}/metaextract
+%python_alternative %{_bindir}/metaextract
 %{python_sitelib}/*
 
 %changelog




commit python-metaextract for openSUSE:Factory

2017-04-26 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2017-04-26 21:43:34

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


Package is "python-metaextract"

Wed Apr 26 21:43:34 2017 rev:5 rq:490296 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2017-03-01 23:43:47.339990685 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2017-04-26 21:43:36.552636555 +0200
@@ -1,0 +2,6 @@
+Mon Apr 24 13:00:02 UTC 2017 - tbecht...@suse.com
+
+update to version 1.0.2
+  * Fix entrypoint typo 'metaextact'
+
+---

Old:

  metaextract-1.0.0.tar.gz

New:

  metaextract-1.0.2.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.5logXZ/_old  2017-04-26 21:43:37.360522504 +0200
+++ /var/tmp/diff_new_pack.5logXZ/_new  2017-04-26 21:43:37.360522504 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-metaextract
-Version:1.0.0
+Version:1.0.2
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0
@@ -50,7 +50,7 @@
 %files
 %defattr(-,root,root,-)
 %doc README.rst LICENSE
-%{_bindir}/metaextact
+%{_bindir}/metaextract
 %{python_sitelib}/*
 
 %changelog

++ metaextract-1.0.0.tar.gz -> metaextract-1.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.0/PKG-INFO 
new/metaextract-1.0.2/PKG-INFO
--- old/metaextract-1.0.0/PKG-INFO  2017-03-01 00:03:55.0 +0100
+++ new/metaextract-1.0.2/PKG-INFO  2017-04-24 14:56:18.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.0
+Version: 1.0.2
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.0/metaextract/__init__.py 
new/metaextract-1.0.2/metaextract/__init__.py
--- old/metaextract-1.0.0/metaextract/__init__.py   2017-03-01 
00:03:36.0 +0100
+++ new/metaextract-1.0.2/metaextract/__init__.py   2017-04-24 
14:55:44.0 +0200
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "1.0.0"
+__version__ = "1.0.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.0/metaextract.egg-info/PKG-INFO 
new/metaextract-1.0.2/metaextract.egg-info/PKG-INFO
--- old/metaextract-1.0.0/metaextract.egg-info/PKG-INFO 2017-03-01 
00:03:55.0 +0100
+++ new/metaextract-1.0.2/metaextract.egg-info/PKG-INFO 2017-04-24 
14:56:17.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 1.0.0
+Version: 1.0.2
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/metaextract-1.0.0/metaextract.egg-info/entry_points.txt 
new/metaextract-1.0.2/metaextract.egg-info/entry_points.txt
--- old/metaextract-1.0.0/metaextract.egg-info/entry_points.txt 2017-03-01 
00:03:55.0 +0100
+++ new/metaextract-1.0.2/metaextract.egg-info/entry_points.txt 2017-04-24 
14:56:17.0 +0200
@@ -1,3 +1,3 @@
 [console_scripts]
-metaextact = metaextract.cmds:main
+metaextract = metaextract.cmds:main
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-1.0.0/setup.py 
new/metaextract-1.0.2/setup.py
--- old/metaextract-1.0.0/setup.py  2017-02-28 23:43:30.0 +0100
+++ new/metaextract-1.0.2/setup.py  2017-04-24 14:55:44.0 +0200
@@ -45,7 +45,7 @@
 ],
 entry_points={
 'console_scripts': [
-'metaextact=metaextract.cmds:main',
+'metaextract=metaextract.cmds:main',
 ],
 }
 )




commit python-metaextract for openSUSE:Factory

2017-03-01 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2017-03-01 23:43:45

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


Package is "python-metaextract"

Wed Mar  1 23:43:45 2017 rev:4 rq:461143 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2017-02-28 23:51:47.942860862 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2017-03-01 23:43:47.339990685 +0100
@@ -1,0 +2,8 @@
+Tue Feb 28 23:06:08 UTC 2017 - tbecht...@suse.com
+
+update to version 1.0.0
+  * Allow to specify the used python interpreter
+  * Fix utils import in python3 case
+  * Post release version bump to 1.0.0 
+
+---

Old:

  metaextract-0.0.9.tar.gz

New:

  metaextract-1.0.0.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.OORsiE/_old  2017-03-01 23:43:47.851918489 +0100
+++ /var/tmp/diff_new_pack.OORsiE/_new  2017-03-01 23:43:47.851918489 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-metaextract
-Version:0.0.9
+Version:1.0.0
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0

++ metaextract-0.0.9.tar.gz -> metaextract-1.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.9/PKG-INFO 
new/metaextract-1.0.0/PKG-INFO
--- old/metaextract-0.0.9/PKG-INFO  2017-02-28 19:51:41.0 +0100
+++ new/metaextract-1.0.0/PKG-INFO  2017-03-01 00:03:55.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.9
+Version: 1.0.0
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
@@ -48,7 +48,7 @@
 .. _`tox`: http://testrun.org/tox
 
 Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Console
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Programming Language :: Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.9/metaextract/__init__.py 
new/metaextract-1.0.0/metaextract/__init__.py
--- old/metaextract-0.0.9/metaextract/__init__.py   2017-02-28 
19:51:09.0 +0100
+++ new/metaextract-1.0.0/metaextract/__init__.py   2017-03-01 
00:03:36.0 +0100
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-__version__ = "0.0.9"
+__version__ = "1.0.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.9/metaextract/cmds.py 
new/metaextract-1.0.0/metaextract/cmds.py
--- old/metaextract-0.0.9/metaextract/cmds.py   2016-08-25 17:56:03.0 
+0200
+++ new/metaextract-1.0.0/metaextract/cmds.py   2017-02-28 23:59:20.0 
+0100
@@ -19,12 +19,17 @@
 
 import argparse
 import json
+import sys
 
-import utils as meta_utils
+from . import utils as meta_utils
 
 
 def main():
 parser = argparse.ArgumentParser(prog="metaextract")
+parser.add_argument('--python', type=str, nargs=1,
+help='path to the python interpreter which is used'
+'when calling setup.py. Defaults to %(default)s',
+default=sys.executable)
 parser.add_argument('archive', type=str, nargs=1,
 help='filename of the archive')
 args = parser.parse_args()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.9/metaextract/utils.py 
new/metaextract-1.0.0/metaextract/utils.py
--- old/metaextract-0.0.9/metaextract/utils.py  2017-02-28 19:40:57.0 
+0100
+++ new/metaextract-1.0.0/metaextract/utils.py  2017-02-28 23:59:20.0 
+0100
@@ -88,7 +88,7 @@
 f.write("# -*- coding: utf-8 -*-\n" + content)
 
 
-def _setup_py_run_from_dir(root_dir):
+def _setup_py_run_from_dir(root_dir, py_interpreter):
 """run the extractmeta command via the setup.py in the given root_dir.
 the output of extractmeta is json and is stored in a tempfile
 which is then read in and returned as data"""
@@ -99,10 +99,8 @@
 single_subdir))
 # generate a temporary json file which contains the metadata
 output_json = tempfile.NamedTemporaryFile()
-# use the same python interpreter the process currently uses

commit python-metaextract for openSUSE:Factory

2017-02-28 Thread root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2017-02-28 23:51:47

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


Package is "python-metaextract"

Tue Feb 28 23:51:47 2017 rev:3 rq:460992 version:0.0.9

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2016-10-28 10:46:15.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2017-02-28 23:51:47.942860862 +0100
@@ -1,0 +2,14 @@
+Tue Feb 28 18:53:16 UTC 2017 - tbecht...@suse.com
+
+update to version 0.0.9
+  * Improve tests with extras_require
+  * Fix documentation link in README
+  * Post release version bump to 0.0.9
+  * Support "python_requires"
+  * Use same version for doc and sdist
+  * Add doc badge to README
+  * Use already used python interpreter
+  * Post release version bump to 0.0.8
+  * Use Sphinx to build documentation
+
+---

Old:

  metaextract-0.0.7.tar.gz

New:

  metaextract-0.0.9.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.yWtJXN/_old  2017-02-28 23:51:48.558773930 +0100
+++ /var/tmp/diff_new_pack.yWtJXN/_new  2017-02-28 23:51:48.558773930 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-metaextract
 #
-# 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-metaextract
-Version:0.0.7
+Version:0.0.9
 Release:0
 Summary:get metadata for python modules
 License:Apache-2.0

++ metaextract-0.0.7.tar.gz -> metaextract-0.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.7/PKG-INFO 
new/metaextract-0.0.9/PKG-INFO
--- old/metaextract-0.0.7/PKG-INFO  2016-08-29 19:39:18.0 +0200
+++ new/metaextract-0.0.9/PKG-INFO  2017-02-28 19:51:41.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.7
+Version: 0.0.9
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
@@ -10,7 +10,10 @@
 =
 
 .. image:: https://travis-ci.org/toabctl/metaextract.png?branch=master
-:target: https://travis-ci.org/toabctl/metaextract
+   :target: https://travis-ci.org/toabctl/metaextract
+.. image:: https://readthedocs.org/projects/metaextract/badge/
+   :target: http://metaextract.readthedocs.io/en/latest/
+   :alt: Documentation Status
 
 metaextract is a tool to collect metadata about a python module. For 
example
 you may have a sdist tarball from the `Python Package Index`_ and you 
want to
@@ -18,40 +21,9 @@
 The tool was first developed in `py2pack`_ but is now it's own module 
to be
 useful for others, too.
 
-Installation
-
-To install metaextract from the `Python Package Index`_, simply:
-
-.. code-block:: bash
-
-$ pip install metaextract
-
-Usage
--
-
-To extract the metadata for a python module using setup.py, do:
-
-.. code-block:: bash
-
-   $ metaextract my-archive-file.tar.gz
-
-This will print a json blob to stdout which contains i.e. 
``install_requires``,
-``extras_require`` and friends extracted from the given archive file.
-
-If you already have some source code available (i.e. a git checkout) 
for some
-project you can also run the ``setup.py`` file with the ``metaextract``
-distutils command:
-
-.. code-block:: bash
-
-   $ python setup.py --command-packages=metaextract metaextract
-
-This will print the metadata as json. If you want to write the data to 
a file, do:
-
-.. code-block:: bash
-
-   $ python setup.py --command-packages=metaextract metaextract -o 
output-file
-
+Documentation
+-
+You can find the documentation on `readthedocs`_.
 
 Hacking and contributing
 
@@ -68,6 +40,7 @@
 

commit python-metaextract for openSUSE:Factory

2016-10-28 Thread h_root
Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2016-10-28 10:46:14

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


Package is "python-metaextract"

Changes:

--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes
2016-10-13 11:27:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
2016-10-28 10:46:15.0 +0200
@@ -1,0 +2,8 @@
+Mon Aug 29 17:55:42 UTC 2016 - tbecht...@suse.com
+
+update to version 0.0.7
+  * Sort some of the data keys
+  * Post release version bump to 0.0.7
+  * Sort json dump by key
+
+---

Old:

  metaextract-0.0.6.tar.gz

New:

  metaextract-0.0.7.tar.gz



Other differences:
--
++ python-metaextract.spec ++
--- /var/tmp/diff_new_pack.BZi2DN/_old  2016-10-28 10:46:16.0 +0200
+++ /var/tmp/diff_new_pack.BZi2DN/_new  2016-10-28 10:46:16.0 +0200
@@ -13,19 +13,20 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-metaextract
-Version:0.0.6
+Version:0.0.7
 Release:0
-License:Apache-2.0
 Summary:get metadata for python modules
-Url:http://github.com/toabctl/metaextract
+License:Apache-2.0
 Group:  Development/Languages/Python
+Url:http://github.com/toabctl/metaextract
 Source: 
https://pypi.io/packages/source/m/metaextract/metaextract-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-setuptools
 BuildRequires:  python-pytest-runner
+BuildRequires:  python-setuptools
 Requires:   python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch

++ metaextract-0.0.6.tar.gz -> metaextract-0.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/PKG-INFO 
new/metaextract-0.0.7/PKG-INFO
--- old/metaextract-0.0.6/PKG-INFO  2016-08-28 08:07:24.0 +0200
+++ new/metaextract-0.0.7/PKG-INFO  2016-08-29 19:39:18.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.6
+Version: 0.0.7
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract/metaextract.py 
new/metaextract-0.0.7/metaextract/metaextract.py
--- old/metaextract-0.0.6/metaextract/metaextract.py2016-08-28 
08:07:07.0 +0200
+++ new/metaextract-0.0.7/metaextract/metaextract.py2016-08-29 
19:39:00.0 +0200
@@ -63,6 +63,7 @@
 
 if self.output:
 with open(self.output, "w+") as f:
-f.write(json.dumps(data_with_version, indent=2))
+f.write(json.dumps(data_with_version, indent=2,
+   sort_keys=True))
 else:
-print(json.dumps(data_with_version, indent=2))
+print(json.dumps(data_with_version, indent=2, sort_keys=True))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract/utils.py 
new/metaextract-0.0.7/metaextract/utils.py
--- old/metaextract-0.0.6/metaextract/utils.py  2016-08-28 08:07:07.0 
+0200
+++ new/metaextract-0.0.7/metaextract/utils.py  2016-08-29 19:39:00.0 
+0200
@@ -110,6 +110,13 @@
 # read json file and return data
 with open(output_json.name, "r") as f:
 data = json.loads(f.read())
+
+# sort some of the keys if the dict values are lists
+for key in ['data_files', 'entry_points', 'extras_require',
+'install_requires', 'setup_requires', 'scripts',
+'tests_require', 'tests_suite']:
+if key in data['data'] and isinstance(data['data'][key], list):
+data['data'][key] = sorted(data['data'][key])
 return data
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract.egg-info/PKG-INFO 
new/metaextract-0.0.7/metaextract.egg-info/PKG-INFO
--- old/metaextract-0.0.6/metaextract.egg-info/PKG-INFO 2016-08-28 
08:07:24.0 +0200
+++ new/metaextract-0.0.7/metaextract.egg-info/PKG-INFO 2016-08-29 
19:39:18.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.6
+Version: 0.0.7
 Summary: get metadata for