aboutsummaryrefslogtreecommitdiff
path: root/net/py-gspreadsheet
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-06 07:20:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-06 07:20:15 +0000
commit56c42f611a9ba02be089568560ba0a574cba7f6d (patch)
treed34fb6dd9fc552114c367af4d5c8834d72b88f90 /net/py-gspreadsheet
parent2d14bd95ec2f9cb73990c685fc62b6ddd4bc843f (diff)
downloadports-56c42f611a9ba02be089568560ba0a574cba7f6d.tar.gz
ports-56c42f611a9ba02be089568560ba0a574cba7f6d.zip
Notes
Diffstat (limited to 'net/py-gspreadsheet')
-rw-r--r--net/py-gspreadsheet/Makefile8
-rw-r--r--net/py-gspreadsheet/distinfo4
2 files changed, 8 insertions, 4 deletions
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