From owner-svn-ports-head@freebsd.org Sun Feb 25 05:33:50 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE1C0F0765F; Sun, 25 Feb 2018 05:33:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BBD36BFF4; Sun, 25 Feb 2018 05:33:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5CD3C79A; Sun, 25 Feb 2018 05:33:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1P5XnGV066219; Sun, 25 Feb 2018 05:33:49 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1P5XnOc066216; Sun, 25 Feb 2018 05:33:49 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802250533.w1P5XnOc066216@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Feb 2018 05:33:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462926 - head/net/py-gspreadsheet X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/net/py-gspreadsheet X-SVN-Commit-Revision: 462926 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 05:33:50 -0000 Author: sunpoet Date: Sun Feb 25 05:33:48 2018 New Revision: 462926 URL: https://svnweb.freebsd.org/changeset/ports/462926 Log: Fix version requirement of RUN_DEPENDS - Add NO_ARCH - Convert to options target helper - Convert to test framework - Fix indent - Reformat pkg-descr - Add PyPI as primary WWW - Take maintainership Modified: head/net/py-gspreadsheet/Makefile head/net/py-gspreadsheet/pkg-descr Modified: head/net/py-gspreadsheet/Makefile ============================================================================== --- head/net/py-gspreadsheet/Makefile Sun Feb 25 05:33:44 2018 (r462925) +++ head/net/py-gspreadsheet/Makefile Sun Feb 25 05:33:48 2018 (r462926) @@ -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 Modified: head/net/py-gspreadsheet/pkg-descr ============================================================================== --- head/net/py-gspreadsheet/pkg-descr Sun Feb 25 05:33:44 2018 (r462925) +++ head/net/py-gspreadsheet/pkg-descr Sun Feb 25 05:33:48 2018 (r462926) @@ -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