pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/py-last py-last: updated to 3.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ae0737a4647
branches:  trunk
changeset: 422591:6ae0737a4647
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 29 21:49:50 2020 +0000

description:
py-last: updated to 3.2.0

3.2.0:
Added
* Support for Python 3.8
* Store album art URLs when you call `GetTopAlbums`
* Retry paging through results on exception
* More error status codes from https://last.fm/api/errorcodes
Changed
* Respect `get_recent_tracks`' limit when there's a now playing track
* Move installable code to `src/`
* Update `get_weekly_artist_charts` docstring: only for `User`
* Remove Python 2 warnings, `python_requires` should be enough
* Use setuptools_scm to simplify versioning during release
* Various lint and test updates
Deprecated
* Last.fm's `user.getArtistTracks` has now been deprecated by Last.fm and is no longer
  available. Last.fm returns a "Deprecated - This type of request is no longer
  supported" error when calling it. A future version of pylast will remove its
  `User.get_artist_tracks` altogether.
* `STATUS_TOKEN_ERROR` is deprecated and will be removed in a future version.
  Use `STATUS_OPERATION_FAILED` instead.

3.1.0:
Added
* Extract username from session via new
  `SessionKeyGenerator.get_web_auth_session_key_username`
* `User.get_track_scrobbles`
Deprecated
*  `User.get_artist_tracks`. Use `User.get_track_scrobbles` as a partial replacement.

3.0.0:
Added
* This changelog file
Removed
* Support for Python 2.7
* Constants `COVER_SMALL`, `COVER_MEDIUM`, `COVER_LARGE`, `COVER_EXTRA_LARGE`
  and `COVER_MEGA`. Use `SIZE_SMALL` etc. instead.

diffstat:

 audio/py-last/Makefile |  16 ++++++----------
 audio/py-last/PLIST    |   5 +----
 audio/py-last/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 19 deletions(-)

diffs (70 lines):

diff -r 4b20994c0dc8 -r 6ae0737a4647 audio/py-last/Makefile
--- a/audio/py-last/Makefile    Wed Jan 29 21:43:02 2020 +0000
+++ b/audio/py-last/Makefile    Wed Jan 29 21:49:50 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2018/12/16 14:45:02 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/01/29 21:49:50 adam Exp $
 
-DISTNAME=      pylast-2.4.0
+DISTNAME=      pylast-3.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    audio python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylast/}
@@ -10,22 +10,18 @@
 COMMENT=       Python interface to Last.fm and Libre.fm
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
 TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-random-order-[0-9]*:../../devel/py-test-random-order
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 USE_LANGUAGES= # none
 
-post-extract:
-       ${RM} ${WRKSRC}/pylast.egg-info/.DS_Store
+PYSETUPTESTTARGET=     pytest
 
-do-test:
-       cd ${WRKSRC}/tests && py.test-${PYVERSSUFFIX}
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4b20994c0dc8 -r 6ae0737a4647 audio/py-last/PLIST
--- a/audio/py-last/PLIST       Wed Jan 29 21:43:02 2020 +0000
+++ b/audio/py-last/PLIST       Wed Jan 29 21:49:50 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/12/16 14:45:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/01/29 21:49:50 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,6 +7,3 @@
 ${PYSITELIB}/pylast/__init__.py
 ${PYSITELIB}/pylast/__init__.pyc
 ${PYSITELIB}/pylast/__init__.pyo
-${PYSITELIB}/pylast/version.py
-${PYSITELIB}/pylast/version.pyc
-${PYSITELIB}/pylast/version.pyo
diff -r 4b20994c0dc8 -r 6ae0737a4647 audio/py-last/distinfo
--- a/audio/py-last/distinfo    Wed Jan 29 21:43:02 2020 +0000
+++ b/audio/py-last/distinfo    Wed Jan 29 21:49:50 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/12/16 14:45:02 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/01/29 21:49:50 adam Exp $
 
-SHA1 (pylast-2.4.0.tar.gz) = 51d520d86e11f335e0cf4c4928fb78afd0cf67ba
-RMD160 (pylast-2.4.0.tar.gz) = 341d0555c4f6febff28f23d9afddcd1220674a88
-SHA512 (pylast-2.4.0.tar.gz) = 2807aaebd9eb901b1eb803416fa319785d95a12fe7ebc72ff211f48ee6e06d4aa25438a24279e73b31fa73a599d666fbfe784952b2da387e6d777c2726effc6f
-Size (pylast-2.4.0.tar.gz) = 34527 bytes
+SHA1 (pylast-3.2.0.tar.gz) = 36ccbc4014a6391d5975f4f8125096073d2b7190
+RMD160 (pylast-3.2.0.tar.gz) = f056f0def9a253451c93785a5cf4734c846534ac
+SHA512 (pylast-3.2.0.tar.gz) = 067121b6b3235e2a3495a5daa87c913b902b94e52bf5fd7ce7145499178fdf5a589eec8abb4c19c0856f287c3682bbc64ec6d1e3d83a3698e0ea01c2726a9df2
+Size (pylast-3.2.0.tar.gz) = 42893 bytes



Home | Main Index | Thread Index | Old Index