commit python-discid for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2019-03-12 09:53:35

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


Package is "python-discid"

Tue Mar 12 09:53:35 2019 rev:6 rq:682841 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2017-12-08 13:02:19.047003435 +0100
+++ /work/SRC/openSUSE:Factory/.python-discid.new.28833/python-discid.changes   
2019-03-12 09:53:38.619535322 +0100
@@ -1,0 +2,7 @@
+Fri Mar  8 13:06:39 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.2.0:
+  * various changes for pip
+  * add makefile
+
+---

Old:

  discid-1.1.1.tar.gz

New:

  discid-1.2.0.tar.gz



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.358RsO/_old  2019-03-12 09:53:39.331535181 +0100
+++ /var/tmp/diff_new_pack.358RsO/_new  2019-03-12 09:53:39.331535181 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-discid
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Johannes Dewender 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,30 +13,28 @@
 # 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/
 #
 
-# Test requires CD device
-%bcond_with test
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-discid
-Version:1.1.1
+Version:1.2.0
 Release:0
 Summary:Python binding of Libdiscid
-License:LGPL-3.0+
+License:LGPL-3.0-or-later
 Group:  Development/Libraries/Python
-Url:https://python-discid.readthedocs.org/
+URL:https://github.com/JonnyJD/python-discid
 Source: 
https://files.pythonhosted.org/packages/source/d/discid/discid-%{version}.tar.gz
-BuildRequires:  %{python_module devel >= 2.6}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(libdiscid) >= 0.2.2
 BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(libdiscid) >= 0.2.2
 # no automatic requires since libdiscid is not linked
 Requires:   %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf 
'%%{NAME} >= %%{VERSION}')
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -56,7 +54,7 @@
 
 %prep
 %setup -q -n discid-%{version}
-sed -i "s|^#!/usr/bin/env python$|#!%{__python3}|" examples.py
+sed -i "s|^#!%{_bindir}/env python$|#!python3|" examples.py
 
 %build
 %python_build
@@ -65,14 +63,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_exec test_discid.py
-%endif
+# skip tests that require /dev/sr0
+%python_expand py.test-%{$python_bin_suffix} -v -k "not (test_read_simple or 
test_read_put or test_read_features)"
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc COPYING COPYING.LESSER CHANGES.rst README.rst examples.py
+%license COPYING COPYING.LESSER
+%doc CHANGES.rst README.rst
 %{python_sitelib}/discid/
 %{python_sitelib}/discid-%{version}-py*.egg-info
 

++ discid-1.1.1.tar.gz -> discid-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.1.1/CHANGES.rst new/discid-1.2.0/CHANGES.rst
--- old/discid-1.1.1/CHANGES.rst2017-01-29 12:17:13.0 +0100
+++ new/discid-1.2.0/CHANGES.rst2019-02-23 12:13:01.0 +0100
@@ -1,6 +1,11 @@
 Changelog
 =
 
+Changes in 1.2.0 (2019-02-23):
+--
+ * improve install with pip
+ * add Makefile
+
 Changes in 1.1.1 (2017-01-29):
 --
  * workaround :issue:`43` for py2app problems
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.1.1/PKG-INFO new/discid-1.2.0/PKG-INFO
--- old/discid-1.1.1/PKG-INFO   2017-01-29 13:05:34.0 +0100
+++ new/discid-1.2.0/PKG-INFO   2019-02-23 12:16:30.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: discid
-Version: 1.1.1
+Version: 1.2.0
 Summary: Python binding of Libdiscid
 Home-page: https://python-discid.readthedocs.org/
 Author: Johannes Dewender
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.1.1/discid/__init__.py 

commit python-discid for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2017-12-08 13:02:11

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


Package is "python-discid"

Fri Dec  8 13:02:11 2017 rev:5 rq:555128 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2017-10-11 22:56:57.932443493 +0200
+++ /work/SRC/openSUSE:Factory/.python-discid.new/python-discid.changes 
2017-12-08 13:02:19.047003435 +0100
@@ -1,0 +2,6 @@
+Thu Dec  7 11:17:42 UTC 2017 - dims...@opensuse.org
+
+- Escape the usage of %{VERSION} when calling out to rpm.
+  RPM 4.14 has %{VERSION} defined as 'the main packages version'.
+
+---



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.fM5qdr/_old  2017-12-08 13:02:20.062966743 +0100
+++ /var/tmp/diff_new_pack.fM5qdr/_new  2017-12-08 13:02:20.066966599 +0100
@@ -34,7 +34,7 @@
 BuildRequires:  pkgconfig(libdiscid) >= 0.2.2
 BuildRequires:  python-rpm-macros
 # no automatic requires since libdiscid is not linked
-Requires:   %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf 
'%{NAME} >= %{VERSION}')
+Requires:   %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf 
'%%{NAME} >= %%{VERSION}')
 BuildArch:  noarch
 
 %python_subpackages




commit python-discid for openSUSE:Factory

2017-10-11 Thread root
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2017-10-11 22:56:55

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


Package is "python-discid"

Wed Oct 11 22:56:55 2017 rev:4 rq:531773 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2016-08-03 11:42:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-discid.new/python-discid.changes 
2017-10-11 22:56:57.932443493 +0200
@@ -1,0 +2,21 @@
+Thu Oct  5 14:08:27 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 1.1.1
+  * workaround :issue:`43` for py2app problems
+  * :issue:`41` improve windows example
+- Run tests
+- Fix shebang in examples
+
+---
+Thu Oct  5 00:09:30 UTC 2017 - avvi...@yandex.by
+
+- Add pkgconfig(libdiscid) (build cross distribution)
+- Use readlink when searching for package (build cross distribution)
+- Spec file cleanup
+
+---
+Thu Aug 24 13:36:08 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -88,0 +110 @@
+

Old:

  discid-1.1.0.tar.gz

New:

  discid-1.1.1.tar.gz



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.gAwXG1/_old  2017-10-11 22:56:58.540416830 +0200
+++ /var/tmp/diff_new_pack.gAwXG1/_new  2017-10-11 22:56:58.548416479 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-discid
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Johannes Dewender 
 #
 # All modifications and additions to the file contributed by third parties
@@ -16,25 +16,29 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# Test requires CD device
+%bcond_with test
 
-#
-%define modname discid
-
-Name:   python-%{modname}
-Version:1.1.0
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name:   python-discid
+Version:1.1.1
 Release:0
 Summary:Python binding of Libdiscid
 License:LGPL-3.0+
 Group:  Development/Libraries/Python
 Url:https://python-discid.readthedocs.org/
-Source: 
https://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/d/discid/discid-%{version}.tar.gz
+BuildRequires:  %{python_module devel >= 2.6}
+BuildRequires:  fdupes
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libdiscid) >= 0.2.2
+BuildRequires:  python-rpm-macros
 # no automatic requires since libdiscid is not linked
-Requires:   libdiscid0 >= 0.2.2
-BuildRequires:  libdiscid0 >= 0.2.2
-BuildRequires:  python-devel >= 2.6
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf 
'%{NAME} >= %{VERSION}')
 BuildArch:  noarch
 
+%python_subpackages
+
 %description
 Python-discid implements Python bindings for MusicBrainz Libdiscid.
 
@@ -52,17 +56,24 @@
 
 %prep
 %setup -q -n discid-%{version}
+sed -i "s|^#!/usr/bin/env python$|#!%{__python3}|" examples.py
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record=INSTALLED_FILES
-chmod a-x examples.py
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with test}
+%check
+%python_exec test_discid.py
+%endif
 
-%files -f INSTALLED_FILES
+%files %{python_files}
 %defattr(-,root,root)
-%dir %{python_sitelib}/*
-%doc COPYING COPYING.LESSER CHANGES.rst examples.py
+%doc COPYING COPYING.LESSER CHANGES.rst README.rst examples.py
+%{python_sitelib}/discid/
+%{python_sitelib}/discid-%{version}-py*.egg-info
 
 %changelog

++ discid-1.1.0.tar.gz -> discid-1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.1.0/CHANGES.rst new/discid-1.1.1/CHANGES.rst
--- old/discid-1.1.0/CHANGES.rst2013-10-09 22:19:51.0 +0200
+++ new/discid-1.1.1/CHANGES.rst2017-01-29 12:17:13.0 +0100
@@ -1,6 +1,11 @@
 Changelog
 =
 
+Changes in 1.1.1 (2017-01-29):
+--
+ * workaround :issue:`43` for py2app problems
+ * :issue:`41` improve windows example
+
 Changes in 1.1.0 (2013-10-09):
 --
  * feature :issue:`36` add :attr:`Disc.toc_string`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit python-discid for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2016-08-03 11:42:51

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


Package is "python-discid"

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2016-07-24 19:52:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-discid.new/python-discid.changes 
2016-08-03 11:42:54.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 24 00:10:11 UTC 2016 - r...@fthiessen.de
+
+- Update to current upstream release 1.1.0
+
+---

Old:

  discid-1.0.2.tar.gz

New:

  discid-1.1.0.tar.gz



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.D4g9WH/_old  2016-08-03 11:42:55.0 +0200
+++ /var/tmp/diff_new_pack.D4g9WH/_new  2016-08-03 11:42:55.0 +0200
@@ -21,13 +21,13 @@
 %define modname discid
 
 Name:   python-%{modname}
-Version:1.0.2
+Version:1.1.0
 Release:0
 Summary:Python binding of Libdiscid
 License:LGPL-3.0+
 Group:  Development/Libraries/Python
 Url:https://python-discid.readthedocs.org/
-Source: 
http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
+Source: 
https://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
 # no automatic requires since libdiscid is not linked
 Requires:   libdiscid0 >= 0.2.2
 BuildRequires:  libdiscid0 >= 0.2.2

++ discid-1.0.2.tar.gz -> discid-1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.0.2/CHANGES.rst new/discid-1.1.0/CHANGES.rst
--- old/discid-1.0.2/CHANGES.rst2013-06-27 16:38:20.0 +0200
+++ new/discid-1.1.0/CHANGES.rst2013-10-09 22:19:51.0 +0200
@@ -1,6 +1,15 @@
 Changelog
 =
 
+Changes in 1.1.0 (2013-10-09):
+--
+ * feature :issue:`36` add :attr:`Disc.toc_string`
+ * :issue:`38` remove :class:`DiscId` (deprecated since 0.5.0)
+
+Changes in 1.0.3 (2013-10-06):
+--
+ * fix: :issue:`37` test_emptyness: Assertion disc->success failed
+
 Changes in 1.0.2 (2013-06-27):
 --
  * revert code to version 1.0.0 (see :issue:`35`)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.0.2/PKG-INFO new/discid-1.1.0/PKG-INFO
--- old/discid-1.0.2/PKG-INFO   2013-06-27 16:45:08.0 +0200
+++ new/discid-1.1.0/PKG-INFO   2013-10-09 22:23:50.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: discid
-Version: 1.0.2
+Version: 1.1.0
 Summary: Python binding of Libdiscid
 Home-page: https://python-discid.readthedocs.org/
 Author: Johannes Dewender
@@ -67,5 +67,8 @@
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
 Classifier: Topic :: Multimedia :: Sound/Audio :: CD Audio :: CD Ripping
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.0.2/discid/__init__.py 
new/discid-1.1.0/discid/__init__.py
--- old/discid-1.0.2/discid/__init__.py 2013-06-27 16:38:29.0 +0200
+++ new/discid-1.1.0/discid/__init__.py 2013-10-09 22:19:29.0 +0200
@@ -30,11 +30,10 @@
 from discid.disc import read, put, Disc, DiscError, TOCError
 from discid.track import Track
 from discid.libdiscid import get_default_device
-from discid.deprecated import DiscId
 import discid.libdiscid
 import discid.disc
 
-__version__ = "1.0.2"
+__version__ = "1.1.0"
 
 
 # these contants are defined here so sphinx can catch the "docstrings"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/discid-1.0.2/discid/deprecated.py 
new/discid-1.1.0/discid/deprecated.py
--- old/discid-1.0.2/discid/deprecated.py   2013-06-27 15:51:06.0 
+0200
+++ new/discid-1.1.0/discid/deprecated.py   1970-01-01 01:00:00.0 
+0100
@@ -1,37 +0,0 @@
-# Copyright (C) 2013  Johannes Dewender
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is 

commit python-discid for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2016-07-24 19:50:04

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


Package is "python-discid"

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2016-07-12 23:51:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-discid.new/python-discid.changes 
2016-07-24 19:52:04.0 +0200
@@ -1,0 +2,6 @@
+Mon Jul  4 22:03:10 UTC 2016 - jeng...@inai.de
+
+- Request libdiscid0 since the code looks for exactly .so.0.
+- Remove redundant %clean section.
+
+---



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.3hw1wM/_old  2016-07-24 19:52:06.0 +0200
+++ /var/tmp/diff_new_pack.3hw1wM/_new  2016-07-24 19:52:06.0 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package python-discid
 #
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Johannes Dewender 
 #
 # All modifications and additions to the file contributed by third parties
@@ -11,9 +12,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/
 #
+
+
+#
 %define modname discid
 
 Name: python-%{modname}
@@ -25,8 +29,8 @@
 Url: https://python-discid.readthedocs.org/
 Source: 
http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
 # no automatic requires since libdiscid is not linked
-Requires: libdiscid >= 0.2.2
-BuildRequires: libdiscid >= 0.2.2
+Requires:   libdiscid0 >= 0.2.2
+BuildRequires:  libdiscid0 >= 0.2.2
 BuildRequires: python-devel >= 2.6
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
 BuildArch: noarch
@@ -56,9 +60,6 @@
 python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record=INSTALLED_FILES
 chmod a-x examples.py
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f INSTALLED_FILES
 %defattr(-,root,root)
 %dir %{python_sitelib}/*