From owner-svn-ports-head@freebsd.org Thu Dec 24 13:48:38 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63DD14C4E79; Thu, 24 Dec 2020 13:48:38 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1ryG2S0nz4SR0; Thu, 24 Dec 2020 13:48:38 +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 4738811646; Thu, 24 Dec 2020 13:48:38 +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 0BODmckd028836; Thu, 24 Dec 2020 13:48:38 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BODmbPH028832; Thu, 24 Dec 2020 13:48:37 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202012241348.0BODmbPH028832@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 24 Dec 2020 13:48:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559095 - in head/devel: . py-get-reader X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-get-reader X-SVN-Commit-Revision: 559095 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.34 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: Thu, 24 Dec 2020 13:48:38 -0000 Author: sunpoet Date: Thu Dec 24 13:48:37 2020 New Revision: 559095 URL: https://svnweb.freebsd.org/changeset/ports/559095 Log: Add py-get-reader 1.0.0 get-reader provides a get_reader() function that returns reader objects similar to those returned by csv.reader(). This package: - reduces common boilerplate code for handling files and reading records. - reads data from CSV, pandas, SQL connections, MS Excel, DBF, and squint. - provides a single interface across Python versions (including seamless Unicode-aware CSV support for Python 2). - is easy to incorporate into your own projects. WWW: https://github.com/shawnbrown/get_reader Added: head/devel/py-get-reader/ head/devel/py-get-reader/Makefile (contents, props changed) head/devel/py-get-reader/distinfo (contents, props changed) head/devel/py-get-reader/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Dec 24 13:46:01 2020 (r559094) +++ head/devel/Makefile Thu Dec 24 13:48:37 2020 (r559095) @@ -4425,6 +4425,7 @@ SUBDIR += py-genson SUBDIR += py-genty SUBDIR += py-geojson + SUBDIR += py-get-reader SUBDIR += py-gevent SUBDIR += py-git-semver SUBDIR += py-git-up Added: head/devel/py-get-reader/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-get-reader/Makefile Thu Dec 24 13:48:37 2020 (r559095) @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= get-reader +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= get_reader-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Return csv.reader-like objects from multiple sources + +LICENSE= APACHE20 + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= DBF EXCEL +OPTIONS_DEFAULT=DBF EXCEL +DBF_DESC= DBF support +EXCEL_DESC= Excel support + +DBF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbfread>=0:textproc/py-dbfread@${PY_FLAVOR} +EXCEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR} + +.include Added: head/devel/py-get-reader/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-get-reader/distinfo Thu Dec 24 13:48:37 2020 (r559095) @@ -0,0 +1,3 @@ +TIMESTAMP = 1608730721 +SHA256 (get_reader-1.0.0.tar.gz) = b646e60071dea5b5f17cd812da0cc70c5764e1911189564adf181ab89522843d +SIZE (get_reader-1.0.0.tar.gz) = 11987 Added: head/devel/py-get-reader/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-get-reader/pkg-descr Thu Dec 24 13:48:37 2020 (r559095) @@ -0,0 +1,9 @@ +get-reader provides a get_reader() function that returns reader objects similar +to those returned by csv.reader(). This package: +- reduces common boilerplate code for handling files and reading records. +- reads data from CSV, pandas, SQL connections, MS Excel, DBF, and squint. +- provides a single interface across Python versions (including seamless + Unicode-aware CSV support for Python 2). +- is easy to incorporate into your own projects. + +WWW: https://github.com/shawnbrown/get_reader