diff --git a/net/py-gspreadsheet/Makefile b/net/py-gspreadsheet/Makefile index 0188bb92f032..3de87e1188a4 100644 --- a/net/py-gspreadsheet/Makefile +++ b/net/py-gspreadsheet/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gspreadsheet -PORTVERSION= 0.3.0 +PORTVERSION= 0.4.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,15 +13,19 @@ 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 USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes PORTDOCS= README.rst OPTIONS_DEFINE= DOCS +regression-test: build + @cd ${WRKSRC} && nosetests + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/net/py-gspreadsheet/distinfo b/net/py-gspreadsheet/distinfo index de593a142e83..d48250dd70ce 100644 --- a/net/py-gspreadsheet/distinfo +++ b/net/py-gspreadsheet/distinfo @@ -1,2 +1,2 @@ -SHA256 (gspreadsheet-0.3.0.tar.gz) = 102e4714f5e9f21a1a0118aeaef6772d77013ca03f1028326e9b00fa13143460 -SIZE (gspreadsheet-0.3.0.tar.gz) = 7342 +SHA256 (gspreadsheet-0.4.0.tar.gz) = 4b6b4bb2384da8b2fe173f8a906d688ae02c8942204be5c94323cb56cc781fbe +SIZE (gspreadsheet-0.4.0.tar.gz) = 7485