diff -Nru pylast-2.3.0/debian/changelog pylast-2.4.0/debian/changelog --- pylast-2.3.0/debian/changelog 2018-07-30 09:39:05.000000000 +0000 +++ pylast-2.4.0/debian/changelog 2018-09-29 17:29:44.000000000 +0000 @@ -1,3 +1,14 @@ +pylast (2.4.0-1) unstable; urgency=medium + + [ Ondřej Nový ] + * Convert git repository from git-dpm to gbp layout + + [ Josue Ortega ] + * New upstream release (2.4.0) + * Bumps Standards-Version to 4.2.1, no changes required. + + -- Josue Ortega Sat, 29 Sep 2018 11:29:44 -0600 + pylast (2.3.0-1) unstable; urgency=medium [ Ondřej Nový ] diff -Nru pylast-2.3.0/debian/control pylast-2.4.0/debian/control --- pylast-2.3.0/debian/control 2018-07-30 09:39:05.000000000 +0000 +++ pylast-2.4.0/debian/control 2018-09-29 17:29:44.000000000 +0000 @@ -19,7 +19,7 @@ python3-setuptools, python3-six X-Python3-Version: >= 3.6 -Standards-Version: 4.1.5 +Standards-Version: 4.2.1 Homepage: https://github.com/pylast/pylast/ Vcs-Git: https://salsa.debian.org/python-team/modules/pylast.git Vcs-Browser: https://salsa.debian.org/python-team/modules/pylast diff -Nru pylast-2.3.0/debian/.git-dpm pylast-2.4.0/debian/.git-dpm --- pylast-2.3.0/debian/.git-dpm 2018-07-30 09:39:05.000000000 +0000 +++ pylast-2.4.0/debian/.git-dpm 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -# see git-dpm(1) from git-dpm package -c211a0cf3b9606bfb6e39d2dfbda6cac7a7ad6e7 -c211a0cf3b9606bfb6e39d2dfbda6cac7a7ad6e7 -c211a0cf3b9606bfb6e39d2dfbda6cac7a7ad6e7 -c211a0cf3b9606bfb6e39d2dfbda6cac7a7ad6e7 -pylast_2.3.0.orig.tar.gz -0c70173ec380121085c550407e21721edb1b2da0 -34317 -debianTag="debian/%e%v" -patchedTag="patched/%e%v" -upstreamTag="upstream/%e%u" diff -Nru pylast-2.3.0/debian/tests/control pylast-2.4.0/debian/tests/control --- pylast-2.3.0/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ pylast-2.4.0/debian/tests/control 2018-09-29 17:29:44.000000000 +0000 @@ -0,0 +1,3 @@ +Test-Command: python -c 'import pylast' + +Test-Command: python3 -c 'import pylast' \ No newline at end of file diff -Nru pylast-2.3.0/MANIFEST.in pylast-2.4.0/MANIFEST.in --- pylast-2.3.0/MANIFEST.in 2017-10-28 20:59:56.000000000 +0000 +++ pylast-2.4.0/MANIFEST.in 2018-06-09 07:20:10.000000000 +0000 @@ -1,4 +1,4 @@ -include pylast/__init__.py +include pylast/*.py include setup.py include README.md include COPYING diff -Nru pylast-2.3.0/PKG-INFO pylast-2.4.0/PKG-INFO --- pylast-2.3.0/PKG-INFO 2018-06-08 14:37:32.000000000 +0000 +++ pylast-2.4.0/PKG-INFO 2018-08-08 08:04:06.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pylast -Version: 2.3.0 +Version: 2.4.0 Summary: A Python interface to Last.fm and Libre.fm Home-page: https://github.com/pylast/pylast Author: Amr Hassan and Contributors @@ -37,6 +37,7 @@ Note: + * pylast >= 3.0.0 will likely only support Python 3.4+ ([#265](https://github.com/pylast/pylast/issues/265)) * pyLast >= 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6, 3.7. * pyLast >= 2.0.0 < 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6. * pyLast >= 1.7.0 < 2.0.0 supports Python 2.7, 3.3, 3.4, 3.5, 3.6. diff -Nru pylast-2.3.0/pylast/__init__.py pylast-2.4.0/pylast/__init__.py --- pylast-2.3.0/pylast/__init__.py 2018-06-08 14:36:34.000000000 +0000 +++ pylast-2.4.0/pylast/__init__.py 2018-07-27 13:20:53.000000000 +0000 @@ -30,16 +30,26 @@ import sys import tempfile import time +import warnings import xml.dom -__version__ = "2.3.0" +from . import version + __author__ = "Amr Hassan, hugovk, Mice Pápai" __copyright__ = ( "Copyright (C) 2008-2010 Amr Hassan, 2013-2018 hugovk, " "2017 Mice Pápai" ) __license__ = "apache2" __email__ = "amr.hassan@gmail.com" +__version__ = version.__version__ +if sys.version_info < (3,): + warnings.warn( + "You are using pylast with Python 2. " + "Pylast will soon be Python 3 only. " + "More info: https://github.com/pylast/pylast/issues/265", + UserWarning, + ) if sys.version_info.major == 2: import htmlentitydefs @@ -1017,11 +1027,9 @@ token = self._get_web_auth_token() - url = "%(homepage)s/api/auth/?api_key=%(api)s&token=%(token)s" % { - "homepage": self.network.homepage, - "api": self.network.api_key, - "token": token, - } + url = "{homepage}/api/auth/?api_key={api}&token={token}".format( + homepage=self.network.homepage, api=self.network.api_key, token=token + ) self.web_auth_tokens[url] = token diff -Nru pylast-2.3.0/pylast/version.py pylast-2.4.0/pylast/version.py --- pylast-2.3.0/pylast/version.py 2018-04-09 13:08:20.000000000 +0000 +++ pylast-2.4.0/pylast/version.py 2018-08-08 07:57:24.000000000 +0000 @@ -1,2 +1,2 @@ # Master version for pylast -__version__ = "2.3.0.dev0" +__version__ = "2.4.0" diff -Nru pylast-2.3.0/pylast.egg-info/PKG-INFO pylast-2.4.0/pylast.egg-info/PKG-INFO --- pylast-2.3.0/pylast.egg-info/PKG-INFO 2018-06-08 14:37:32.000000000 +0000 +++ pylast-2.4.0/pylast.egg-info/PKG-INFO 2018-08-08 08:04:05.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pylast -Version: 2.3.0 +Version: 2.4.0 Summary: A Python interface to Last.fm and Libre.fm Home-page: https://github.com/pylast/pylast Author: Amr Hassan and Contributors @@ -37,6 +37,7 @@ Note: + * pylast >= 3.0.0 will likely only support Python 3.4+ ([#265](https://github.com/pylast/pylast/issues/265)) * pyLast >= 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6, 3.7. * pyLast >= 2.0.0 < 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6. * pyLast >= 1.7.0 < 2.0.0 supports Python 2.7, 3.3, 3.4, 3.5, 3.6. diff -Nru pylast-2.3.0/README.md pylast-2.4.0/README.md --- pylast-2.3.0/README.md 2018-06-06 08:56:17.000000000 +0000 +++ pylast-2.4.0/README.md 2018-06-27 13:27:15.000000000 +0000 @@ -29,6 +29,7 @@ Note: +* pylast >= 3.0.0 will likely only support Python 3.4+ ([#265](https://github.com/pylast/pylast/issues/265)) * pyLast >= 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6, 3.7. * pyLast >= 2.0.0 < 2.2.0 supports Python 2.7.10+, 3.4, 3.5, 3.6. * pyLast >= 1.7.0 < 2.0.0 supports Python 2.7, 3.3, 3.4, 3.5, 3.6. diff -Nru pylast-2.3.0/setup.py pylast-2.4.0/setup.py --- pylast-2.3.0/setup.py 2018-06-08 14:36:28.000000000 +0000 +++ pylast-2.4.0/setup.py 2018-06-09 07:20:10.000000000 +0000 @@ -4,11 +4,16 @@ with open("README.md") as f: long_description = f.read() +version_dict = {} +with open("pylast/version.py") as f: + exec(f.read(), version_dict) + version = version_dict["__version__"] + setup( name="pylast", long_description=long_description, long_description_content_type="text/markdown", - version="2.3.0", + version=version, author="Amr Hassan and Contributors", install_requires=["six"], tests_require=[