svn commit: r331977 - in head/net: . py-gspreadsheet py-gspreadsheet/files

Rusmir Dusko nemysis at FreeBSD.org
Tue Oct 29 18:11:00 UTC 2013


Author: nemysis
Date: Tue Oct 29 18:10:58 2013
New Revision: 331977
URL: http://svnweb.freebsd.org/changeset/ports/331977

Log:
  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.
  
  WWW: https://github.com/texastribune/gspreadsheet
  
  PR:		ports/181832
  Submitted by:	Johannes Jost Meixner <xmj at chaot.net>
  Approved by:	wg (mentor)

Added:
  head/net/py-gspreadsheet/
  head/net/py-gspreadsheet/Makefile   (contents, props changed)
  head/net/py-gspreadsheet/distinfo   (contents, props changed)
  head/net/py-gspreadsheet/files/
  head/net/py-gspreadsheet/files/patch-setup.py   (contents, props changed)
  head/net/py-gspreadsheet/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue Oct 29 18:00:51 2013	(r331976)
+++ head/net/Makefile	Tue Oct 29 18:10:58 2013	(r331977)
@@ -904,6 +904,7 @@
     SUBDIR += py-eventlet
     SUBDIR += py-gntp
     SUBDIR += py-google
+    SUBDIR += py-gspreadsheet
     SUBDIR += py-impacket
     SUBDIR += py-iplib
     SUBDIR += py-kombu

Added: head/net/py-gspreadsheet/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-gspreadsheet/Makefile	Tue Oct 29 18:10:58 2013	(r331977)
@@ -0,0 +1,28 @@
+# Created by: Johannes Meixner <xmj at chaot.net>
+# $FreeBSD$
+
+PORTNAME=	gspreadsheet
+PORTVERSION=	0.3.0
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	xmj at chaot.net
+COMMENT=	Wrapper around Google Spreadsheets to look like csv.DictReader
+
+LICENSE=	AL2
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
+USE_PYTHON=		2.7
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+PORTDOCS=	README.rst
+
+OPTIONS_DEFINE=	DOCS
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/py-gspreadsheet/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-gspreadsheet/distinfo	Tue Oct 29 18:10:58 2013	(r331977)
@@ -0,0 +1,2 @@
+SHA256 (gspreadsheet-0.3.0.tar.gz) = 102e4714f5e9f21a1a0118aeaef6772d77013ca03f1028326e9b00fa13143460
+SIZE (gspreadsheet-0.3.0.tar.gz) = 7342

Added: head/net/py-gspreadsheet/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-gspreadsheet/files/patch-setup.py	Tue Oct 29 18:10:58 2013	(r331977)
@@ -0,0 +1,8 @@
+--- ./setup.py.orig	2013-10-29 16:50:19.871040385 +0200
++++ ./setup.py	2013-10-29 16:51:00.781040301 +0200
+@@ -1,4 +1,4 @@
+-from setuptools import setup
++from distutils.core import setup
+ 
+ with open('README.rst') as f:
+     long_description = f.read()

Added: head/net/py-gspreadsheet/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-gspreadsheet/pkg-descr	Tue Oct 29 18:10:58 2013	(r331977)
@@ -0,0 +1,8 @@
+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.
+
+WWW: https://github.com/texastribune/gspreadsheet


More information about the svn-ports-all mailing list