aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-soundcloud/Makefile
blob: 78b1a9bb516a4ef2c7eb64cc2035110a10fe0369 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Bernard Spil <brnrd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   soundcloud
PORTVERSION=    0.5.0
CATEGORIES= audio devel www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= Bernard Spil <brnrd@FreeBSD.org>
COMMENT=    A friendly wrapper library for the Soundcloud API

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:devel/py-nose

USES=       python
USE_PYTHON= autoplist distutils

PORTDOCS=   README.rst
DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}

do-test:
    cd ${WRKSRC} ; nosetests --with-doctest

.include <bsd.port.mk>