svn commit: r559095 - in head/devel: . py-get-reader
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Dec 24 13:48:38 UTC 2020
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 <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= get-reader
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= get_reader-${PORTVERSION}
+
+MAINTAINER= sunpoet at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list