aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/py-gspreadsheet/Makefile21
-rw-r--r--net/py-gspreadsheet/pkg-descr13
2 files changed, 19 insertions, 15 deletions
diff --git a/net/py-gspreadsheet/Makefile b/net/py-gspreadsheet/Makefile
index f288f7d79111..4ce3574ea938 100644
--- a/net/py-gspreadsheet/Makefile
+++ b/net/py-gspreadsheet/Makefile
@@ -8,26 +8,27 @@ CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Wrapper around Google Spreadsheets to look like csv.DictReader
LICENSE= APACHE20
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:devel/py-gdata@${FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>=2.0.14:devel/py-gdata@${FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${FLAVOR}
-USES= python:2.7
-USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+USES= python:2.7
+USE_PYTHON= autoplist distutils
PORTDOCS= README.rst
OPTIONS_DEFINE= DOCS
-regression-test: build
- @cd ${WRKSRC} && nosetests
-
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+do-test:
+ @cd ${WRKSRC} && nosetests
.include <bsd.port.mk>
diff --git a/net/py-gspreadsheet/pkg-descr b/net/py-gspreadsheet/pkg-descr
index ee53834e3448..6d3468eeaba2 100644
--- a/net/py-gspreadsheet/pkg-descr
+++ b/net/py-gspreadsheet/pkg-descr
@@ -1,8 +1,11 @@
gspreadsheet is a wrapper around a wrapper to get Google spreadsheets to look
-like csv.DictReader. If you're used to working with CSVs or a human, you'll
-find that working with Google's Python API for spreadsheets is so frustrating.
-With gspreadsheet, you can adapt your existing csv code to work with Google
-Spreadsheets with just two line changes. As an added bonus, if you alter the
-dict, those changes get saved back to the original spreadsheet.
+like csv.DictReader.
+If you're used to working with CSVs or a human, you'll find that working with
+Google's Python API for spreadsheets is so frustrating. With gspreadsheet, you
+can adapt your existing csv code to work with Google Spreadsheets with just two
+line changes. As an added bonus, if you alter the dict, those changes get saved
+back to the original spreadsheet.
+
+WWW: https://pypi.python.org/pypi/gspreadsheet
WWW: https://github.com/texastribune/gspreadsheet