summaryrefslogtreecommitdiff
path: root/audio/py-last
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-22 12:41:03 +0000
committeradam <adam@pkgsrc.org>2017-07-22 12:41:03 +0000
commit8c8a687f72f8c3a787f5cc754584b52b2928ff0d (patch)
treeb0fd9d08b9e60a6141f1d7d74bf244b91cd5f27d /audio/py-last
parent7da83d7381d1b10f955ce40af5c1fb05ee641ef0 (diff)
downloadpkgsrc-8c8a687f72f8c3a787f5cc754584b52b2928ff0d.tar.gz
Changes 1.9.0:
Unknown
Diffstat (limited to 'audio/py-last')
-rw-r--r--audio/py-last/Makefile21
-rw-r--r--audio/py-last/PLIST14
-rw-r--r--audio/py-last/distinfo10
3 files changed, 30 insertions, 15 deletions
diff --git a/audio/py-last/Makefile b/audio/py-last/Makefile
index 984cb4bd239..3eb5380cfd9 100644
--- a/audio/py-last/Makefile
+++ b/audio/py-last/Makefile
@@ -1,16 +1,27 @@
-# $NetBSD: Makefile,v 1.6 2016/06/08 17:43:20 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/07/22 12:41:03 adam Exp $
-DISTNAME= pylast-0.5.11
+DISTNAME= pylast-1.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylast/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://code.google.com/p/pylast/
-COMMENT= Python interface to Last.fm
+HOMEPAGE= https://github.com/pylast/pylast
+COMMENT= Python interface to Last.fm and Libre.fm
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pep8-[0-9]*:../../devel/py-pep8
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+
USE_LANGUAGES= # none
-.include "../../lang/python/distutils.mk"
+do-test:
+ cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/py-last/PLIST b/audio/py-last/PLIST
index 91e31bc0b4f..0ccc77184f7 100644
--- a/audio/py-last/PLIST
+++ b/audio/py-last/PLIST
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/30 13:50:45 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
-${PYSITELIB}/pylast.py
-${PYSITELIB}/pylast.pyc
-${PYSITELIB}/pylast.pyo
+@comment $NetBSD: PLIST,v 1.2 2017/07/22 12:41:03 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pylast/__init__.py
+${PYSITELIB}/pylast/__init__.pyc
+${PYSITELIB}/pylast/__init__.pyo
diff --git a/audio/py-last/distinfo b/audio/py-last/distinfo
index 904203e76d1..5f257f33f75 100644
--- a/audio/py-last/distinfo
+++ b/audio/py-last/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:12:47 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/07/22 12:41:03 adam Exp $
-SHA1 (pylast-0.5.11.tar.gz) = 0e432279ccbed69580d313db15c1a03a7a39c42c
-RMD160 (pylast-0.5.11.tar.gz) = 895a663d093cbac8f643f9872d19fa4cb024e96b
-SHA512 (pylast-0.5.11.tar.gz) = 4b313156aff927f1ec61a848d1ee4c74fde348e1faef6d8dcf9578b164d65621c85bac3de0288d7aae0147157cc2c01a048d7293c191e9c1ede1197527d987e6
-Size (pylast-0.5.11.tar.gz) = 26146 bytes
+SHA1 (pylast-1.9.0.tar.gz) = cd0211841c057cf779476245965aa5d8558cb155
+RMD160 (pylast-1.9.0.tar.gz) = afb314f048e4cb3d2ba14aa35f780bb02b73d8f6
+SHA512 (pylast-1.9.0.tar.gz) = ff3929583d88466738c9a1e964676652717c9f5bd4631f1a0a7855903e77cd394a612b0e2e8fc2f698ac84a34a135f4e940ff7760c2c88bf388ae56fc9c3da65
+Size (pylast-1.9.0.tar.gz) = 42584 bytes