[92173] trunk/dports/python
singingwolfboy at macports.org
singingwolfboy at macports.org
Fri Apr 20 19:07:07 PDT 2012
Revision: 92173
https://trac.macports.org/changeset/92173
Author: singingwolfboy at macports.org
Date: 2012-04-20 19:07:06 -0700 (Fri, 20 Apr 2012)
Log Message:
-----------
New ports: py-csvkit and csvkit_select
Added Paths:
-----------
trunk/dports/python/csvkit_select/
trunk/dports/python/csvkit_select/Portfile
trunk/dports/python/csvkit_select/files/
trunk/dports/python/csvkit_select/files/base
trunk/dports/python/csvkit_select/files/none
trunk/dports/python/py-csvkit/
trunk/dports/python/py-csvkit/Portfile
trunk/dports/python/py-csvkit/files/
trunk/dports/python/py-csvkit/files/py26-csvkit
trunk/dports/python/py-csvkit/files/py27-csvkit
Added: trunk/dports/python/csvkit_select/Portfile
===================================================================
--- trunk/dports/python/csvkit_select/Portfile (rev 0)
+++ trunk/dports/python/csvkit_select/Portfile 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,34 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup select 1.0
+
+name csvkit_select
+version 0.1
+revision 0
+categories python
+license BSD
+
+maintainers singingwolfboy openmaintainer
+
+description common files for selecting default csvkit version
+long_description \
+ This port installs files that allow 'port select' to be used to \
+ create links to the preferred default version of csvkit
+
+platforms darwin
+supported_archs noarch
+
+homepage http://www.macports.org/
+
+distfiles
+
+use_configure no
+build {}
+destroot {
+ select::install csvkit ${filespath}/base
+ select::install csvkit ${filespath}/none
+}
+
+livecheck.type none
Property changes on: trunk/dports/python/csvkit_select/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: trunk/dports/python/csvkit_select/files/base
===================================================================
--- trunk/dports/python/csvkit_select/files/base (rev 0)
+++ trunk/dports/python/csvkit_select/files/base 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,11 @@
+bin/csvclean
+bin/csvcut
+bin/csvgrep
+bin/csvjoin
+bin/csvjson
+bin/csvlook
+bin/csvsort
+bin/csvsql
+bin/csvstack
+bin/csvstat
+bin/in2csv
Added: trunk/dports/python/csvkit_select/files/none
===================================================================
--- trunk/dports/python/csvkit_select/files/none (rev 0)
+++ trunk/dports/python/csvkit_select/files/none 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,11 @@
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
Added: trunk/dports/python/py-csvkit/Portfile
===================================================================
--- trunk/dports/python/py-csvkit/Portfile (rev 0)
+++ trunk/dports/python/py-csvkit/Portfile 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,47 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+PortGroup select 1.0
+
+name py-csvkit
+version 0.4.3
+python.versions 26 27
+python.default_version 27
+categories-append textproc
+platforms darwin
+maintainers singingwolfboy openmaintainer
+license MIT
+homepage http://pypi.python.org/pypi/csvkit
+description suite of utilities for converting to and working with CSV
+long_description \
+ csvkit is a suite of utilities for converting to and working with CSV, the \
+ king of tabular file formats. csvkit is to tabular data what the standard \
+ Unix text processing suite (grep, sed, cut, sort) is to text. As such, csvkit \
+ adheres to the Unix philosophy.
+
+master_sites http://pypi.python.org/packages/source/c/csvkit
+distname csvkit-${version}
+
+checksums rmd160 a4526161f3bcb7cd61b8aaf9041dfcaf0a361074 \
+ sha256 542d0fede943ad25235e919d51775ccce936c445c2c8a47d1acafe4684bef16a
+
+
+if {$subport != $name} {
+ livecheck.type none
+ depends_lib port:csvkit_select \
+ port:py${python.version}-xlrd \
+ port:py${python.version}-dateutil \
+ port:py${python.version}-sqlalchemy \
+ port:py${python.version}-openpyxl
+ subport py26-csvkit {
+ depends_lib-append port:py26-argparse
+ }
+ select.group csvkit
+ select.file ${filespath}/py${python.version}-csvkit
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex csvkit (\\d+(\\.\\d+)+)
+}
Property changes on: trunk/dports/python/py-csvkit/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: trunk/dports/python/py-csvkit/files/py26-csvkit
===================================================================
--- trunk/dports/python/py-csvkit/files/py26-csvkit (rev 0)
+++ trunk/dports/python/py-csvkit/files/py26-csvkit 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,11 @@
+bin/csvclean-2.6
+bin/csvcut-2.6
+bin/csvgrep-2.6
+bin/csvjoin-2.6
+bin/csvjson-2.6
+bin/csvlook-2.6
+bin/csvsort-2.6
+bin/csvsql-2.6
+bin/csvstack-2.6
+bin/csvstat-2.6
+bin/in2csv-2.6
Added: trunk/dports/python/py-csvkit/files/py27-csvkit
===================================================================
--- trunk/dports/python/py-csvkit/files/py27-csvkit (rev 0)
+++ trunk/dports/python/py-csvkit/files/py27-csvkit 2012-04-21 02:07:06 UTC (rev 92173)
@@ -0,0 +1,11 @@
+bin/csvclean-2.7
+bin/csvcut-2.7
+bin/csvgrep-2.7
+bin/csvjoin-2.7
+bin/csvjson-2.7
+bin/csvlook-2.7
+bin/csvsort-2.7
+bin/csvsql-2.7
+bin/csvstack-2.7
+bin/csvstat-2.7
+bin/in2csv-2.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120420/74b346ca/attachment.html>
More information about the macports-changes
mailing list