Package Details: csvkit-git 0.9.1.r280.g48f9602-3

Git Clone URL: https://aur.archlinux.org/csvkit-git.git (read-only)
Package Base: csvkit-git
Description: A suite of utilities for converting to and working with CSV.
Upstream URL: http://csvkit.readthedocs.org
Licenses: MIT
Submitter: mszczepanczyk
Maintainer: kamazee
Last Packager: kamazee
Votes: 6
Popularity: 0.012656
First Submitted: 2013-04-09 12:52
Last Updated: 2016-03-14 08:02

Pinned Comments

kamazee commented on 2016-03-08 19:41

Dear all,

Feel free to submit a pull request at https://github.com/kamazee/aur-csvkit-git instead of posting patches here as it seems way more convenient (and doesn't swallow leading spaces). You can also make a patch using `git format-patch` and email it to me (address is in my profile).

Latest Comments

pmedina commented on 2016-05-03 20:56

Had to change the sources again to allow for proxy, see below.

source=(
'csvkit::git+https://github.com/wireservice/csvkit.git'
'agate::git+https://github.com/wireservice/agate.git'
'agate-excel::git+https://github.com/wireservice/agate-excel.git'
'agate-dbf::git+https://github.com/wireservice/agate-dbf.git'
)

kamazee commented on 2016-03-08 19:41

Dear all,

Feel free to submit a pull request at https://github.com/kamazee/aur-csvkit-git instead of posting patches here as it seems way more convenient (and doesn't swallow leading spaces). You can also make a patch using `git format-patch` and email it to me (address is in my profile).

kamazee commented on 2016-03-08 19:39

@ekkelett, I've pulled your changes in, thanks.

ekkelett commented on 2016-03-07 19:32

I've made a minor update to the PKGBUILD as there's a new organization hosting the repository, and the development has been relatively stable over new year's.

diff --git a/.SRCINFO b/.SRCINFO
index e19fc0f..cd1b3f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
+# Generated by mksrcinfo v8
+# Mon Mar 7 19:29:28 UTC 2016
pkgbase = csvkit-git
pkgdesc = A suite of utilities for converting to and working with CSV.
- pkgver = 0.9.1.gbf18815
- pkgrel = 2
+ pkgver = 1.0.0.g48f9602
+ pkgrel = 1
url = http://csvkit.readthedocs.org
arch = any
license = MIT
- makedepends = tar
- makedepends = gzip
+ makedepends = git
+ makedepends = python-setuptools
depends = python
depends = python-xlrd>=0.9.2
depends = python-dateutil>=2.0
depends = python-sqlalchemy>=0.9.3
depends = python-openpyxl>=2.0.3
depends = python-six>=1.6.1
- source = csvkit-0.9.1.tar.gz::https://github.com/onyxfish/csvkit/archive/0.9.1.tar.gz
- md5sums = 5708394caa93408254a15269a83cfeed
+ source = csvkit::git://github.com/wireservice/csvkit.git
+ md5sums = SKIP

pkgname = csvkit-git

diff --git a/.gitignore b/.gitignore
index effcdbf..f0d06db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/csvkit-*.tar.[gx]z
-/src
-/pkg
+/csvkit-git-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 5eea2d7..9672e08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,27 @@
# Maintainer: Alexander Kurilo <alex@kurilo.me>
# Contributor: Mariusz Szczepańczyk <mszczepanczyk@gmail.com>
-gittag=0.9.1
-gitrev=gbf18815
+# Contributor: Thor K. H. <thor alfakrøll roht dott no>
+
pkgname=csvkit-git
-pkgver=$gittag.$gitrev
-pkgrel=2
+pkgver=1.0.0.g48f9602
+pkgrel=1
pkgdesc="A suite of utilities for converting to and working with CSV."
arch=('any')
url="http://csvkit.readthedocs.org"
license=('MIT')
makedepends=('git')
depends=('python' 'python-xlrd>=0.9.2' 'python-dateutil>=2.0' 'python-sqlalchemy>=0.9.3' 'python-openpyxl>=2.0.3' 'python-six>=1.6.1')
-makedepends=('tar' 'gzip')
-md5sums=('5708394caa93408254a15269a83cfeed')
-source=("csvkit-$gittag.tar.gz::https://github.com/onyxfish/csvkit/archive/$gittag.tar.gz")
+makedepends=('git' 'python-setuptools')
+md5sums=('SKIP')
+source=('csvkit::git://github.com/wireservice/csvkit.git')
+
+pkgver() {
+ cd "$srcdir/csvkit"
+ git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}

build() {
- cd "$srcdir/csvkit-$gittag"
+ cd "$srcdir/csvkit"
# Quick and dirty fix until the author officially supports dateutil>=2.2
# (see https://github.com/onyxfish/csvkit/issues/370)
sed -i 's/python-dateutil==2.2/python-dateutil>=2.2/' setup.py
@@ -24,7 +29,7 @@ build() {
}

package() {
- cd "$srcdir/csvkit-$gittag"
+ cd "$srcdir/csvkit"
python setup.py install --root="$pkgdir/"
}

pmedina commented on 2015-11-30 21:37

Please add 'python-setuptools' as a dependency.

kamazee commented on 2015-09-16 20:16

@pmedina, done, check it out.

Looks like it doesn't make much sense to build it from git because there has been no new commits for several months, so fetching the whole repo doesn't seem necessary anymore. I switch PKGBUILD to tarball and add a checksum for 0.9.1, so now it's only about 3 Mb of source code + md5 check to make sure it's downloaded properly.
I'll switch back to git master when it's updated.

pmedina commented on 2015-09-16 19:29

Had to change the source for it to work behind my proxy to the following:

source=('csvkit::git+https://github.com/onyxfish/csvkit.git')

Can you please change in the PKGBUILD?

kamazee commented on 2015-05-12 15:46

@IwfY, thanks, added this workaround for PKGBUILD.

IwfY commented on 2015-05-12 15:26

You can add this at line 26 to fix openpyxl dependency:

sed -i 's/openpyxl==2.2.0-b1/openpyxl>=2.2.0-b1/' setup.py

tantalum commented on 2015-04-23 17:17

trying to use csvcut in any way i get:

pkg_resources.DistributionNotFound: The 'openpyxl==2.2.0-b1' distribution was not found and is required by csvkit

All comments