summaryrefslogtreecommitdiff
path: root/devel/py-tabular
diff options
context:
space:
mode:
authordholland <dholland>2013-06-02 01:47:54 +0000
committerdholland <dholland>2013-06-02 01:47:54 +0000
commit3a78855ba2131be4cc4479757459a64d777f6845 (patch)
tree83033630b76dd98ba4063e751d3675e340a5bcbd /devel/py-tabular
parent26a26a5d6f64a0b4531273456d8f0546eaef9175 (diff)
downloadpkgsrc-3a78855ba2131be4cc4479757459a64d777f6845.tar.gz
Import Python module "tabular" version 0.1 as py-tabular.
Tabular data can be easily represented in Python using the language's native objects. These representations typically do not support important tabular data manipulations, like efficient column selection, matrix mathematics, or spreadsheet-style operations. Tabular is a package of Python modules for working with tabular data. Its main object is the tabarray class, a data structure for holding and manipulating tabular data. By putting data into a tabarray object, you'll get a representation of the data that is more flexible and powerful than a native Python representation. Tabarray provides: . ultra-fast filtering, selection, and numerical analysis methods, using convenient Matlab-style matrix operation syntax . spreadsheet-style operations, including row & column operations, 'sort', 'replace', 'aggregate', 'pivot', and 'join' . flexible load and save methods for a variety of file formats, including delimited text (CSV), binary, and HTML . sophisticated inference algorithms for determining formatting parameters and data types of input files
Diffstat (limited to 'devel/py-tabular')
-rw-r--r--devel/py-tabular/DESCR22
-rw-r--r--devel/py-tabular/Makefile20
-rw-r--r--devel/py-tabular/PLIST30
-rw-r--r--devel/py-tabular/distinfo6
-rw-r--r--devel/py-tabular/patches/patch-setup.py23
5 files changed, 101 insertions, 0 deletions
diff --git a/devel/py-tabular/DESCR b/devel/py-tabular/DESCR
new file mode 100644
index 00000000000..f0439b60aa9
--- /dev/null
+++ b/devel/py-tabular/DESCR
@@ -0,0 +1,22 @@
+Tabular data can be easily represented in Python using the language's
+native objects. These representations typically do not support
+important tabular data manipulations, like efficient column selection,
+matrix mathematics, or spreadsheet-style operations.
+
+Tabular is a package of Python modules for working with tabular
+data. Its main object is the tabarray class, a data structure for
+holding and manipulating tabular data. By putting data into a tabarray
+object, you'll get a representation of the data that is more flexible
+and powerful than a native Python representation. Tabarray provides:
+
+ . ultra-fast filtering, selection, and numerical analysis methods,
+ using convenient Matlab-style matrix operation syntax
+
+ . spreadsheet-style operations, including row & column operations,
+ 'sort', 'replace', 'aggregate', 'pivot', and 'join'
+
+ . flexible load and save methods for a variety of file formats,
+ including delimited text (CSV), binary, and HTML
+
+ . sophisticated inference algorithms for determining formatting
+ parameters and data types of input files
diff --git a/devel/py-tabular/Makefile b/devel/py-tabular/Makefile
new file mode 100644
index 00000000000..834e81e381d
--- /dev/null
+++ b/devel/py-tabular/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2013/06/02 01:47:54 dholland Exp $
+
+DISTNAME= tabular-0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= http://pypi.python.org/packages/source/t/tabular/
+
+MAINTAINER= dholland@NetBSD.org
+HOMEPAGE= http://pypi.python.org/pypi/tabular
+COMMENT= Tabular data tools for Python
+LICENSE= mit
+
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+.include "../../graphics/py-matplotlib/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+BUILDLINK_API_DEPENDS.pynumpy+= ${PYPKGPREFIX}-numpy>=1.6
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-tabular/PLIST b/devel/py-tabular/PLIST
new file mode 100644
index 00000000000..0955ef84c75
--- /dev/null
+++ b/devel/py-tabular/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2013/06/02 01:47:54 dholland Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/tabular/__init__.py
+${PYSITELIB}/tabular/__init__.pyc
+${PYSITELIB}/tabular/__init__.pyo
+${PYSITELIB}/tabular/colors.py
+${PYSITELIB}/tabular/colors.pyc
+${PYSITELIB}/tabular/colors.pyo
+${PYSITELIB}/tabular/fast.py
+${PYSITELIB}/tabular/fast.pyc
+${PYSITELIB}/tabular/fast.pyo
+${PYSITELIB}/tabular/io.py
+${PYSITELIB}/tabular/io.pyc
+${PYSITELIB}/tabular/io.pyo
+${PYSITELIB}/tabular/spreadsheet.py
+${PYSITELIB}/tabular/spreadsheet.pyc
+${PYSITELIB}/tabular/spreadsheet.pyo
+${PYSITELIB}/tabular/tab.py
+${PYSITELIB}/tabular/tab.pyc
+${PYSITELIB}/tabular/tab.pyo
+${PYSITELIB}/tabular/utils.py
+${PYSITELIB}/tabular/utils.pyc
+${PYSITELIB}/tabular/utils.pyo
+${PYSITELIB}/tabular/web.py
+${PYSITELIB}/tabular/web.pyc
+${PYSITELIB}/tabular/web.pyo
diff --git a/devel/py-tabular/distinfo b/devel/py-tabular/distinfo
new file mode 100644
index 00000000000..9e1a524a655
--- /dev/null
+++ b/devel/py-tabular/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/06/02 01:47:54 dholland Exp $
+
+SHA1 (tabular-0.1.tar.gz) = 8e7b63599231363859df7054beee3b508ff49485
+RMD160 (tabular-0.1.tar.gz) = 43302ec518a27e77910980eb9409cabcda269bae
+Size (tabular-0.1.tar.gz) = 1096296 bytes
+SHA1 (patch-setup.py) = 6f97300f285f4c828b3ebcd6863d3ac7cbb67ea7
diff --git a/devel/py-tabular/patches/patch-setup.py b/devel/py-tabular/patches/patch-setup.py
new file mode 100644
index 00000000000..6395fb2e63b
--- /dev/null
+++ b/devel/py-tabular/patches/patch-setup.py
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2013/06/02 01:47:54 dholland Exp $
+
+This package tries to insist on using py-distribute instead of
+py-setuptools. But, those packages conflict and things this package
+depends on require having py-setuptools installed. Meanwhile, our
+infrastructure appears to only support using py-setuptools with Python
+3.x, which this package doesn't support at all anyway.
+
+So disable the prohibition against falling back to py-setuptools.
+
+As far as I can tell it works fine this way.
+
+--- setup.py.orig 2013-02-23 21:20:11.000000000 +0000
++++ setup.py
+@@ -24,7 +24,7 @@ dependency_links = None
+ # ----- control flags -----
+
+ # fallback to setuptools if distribute isn't found
+-setup_tools_fallback = False
++setup_tools_fallback = True
+
+ # don't include subdir named 'tests' in package_data
+ skip_tests = True