pkgsrc/audio/py-last/Makefile
adam 8e1b6c4b39 py-last: updated to 2.4.0
2.4.0:
Deprecated
Support for Python 2.7
2018-12-16 14:45:02 +00:00

31 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2018/12/16 14:45:02 adam Exp $
DISTNAME= pylast-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylast/}
MAINTAINER= pkgsrc-users@NetBSD.org
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
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}-yaml-[0-9]*:../../textproc/py-yaml
USE_LANGUAGES= # none
post-extract:
${RM} ${WRKSRC}/pylast.egg-info/.DS_Store
do-test:
cd ${WRKSRC}/tests && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"