freebsd-ports/net/py-gspreadsheet/Makefile
2014-09-17 17:39:51 +00:00

32 lines
732 B
Makefile

# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= gspreadsheet
PORTVERSION= 0.4.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= xmj@chaot.net
COMMENT= Wrapper around Google Spreadsheets to look like csv.DictReader
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
USES= python:2
USE_PYTHON= distutils autoplist
PORTDOCS= README.rst
OPTIONS_DEFINE= DOCS
regression-test: build
@cd ${WRKSRC} && nosetests
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>