summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-07-19 19:12:20 +0000
committerTim Harder <radhermit@gentoo.org>2011-07-19 19:12:20 +0000
commit872b05dbeb44be15674cd5c5de8ff904310df23d (patch)
tree988bc0e51fd849611f3d4536bd4414582a354f55 /app-text/xlsx2csv
parentmedia-gfx/darktable: New package. Closes bug 300681 and bug 359325. (diff)
downloadgentoo-2-872b05dbeb44be15674cd5c5de8ff904310df23d.tar.gz
gentoo-2-872b05dbeb44be15674cd5c5de8ff904310df23d.tar.bz2
gentoo-2-872b05dbeb44be15674cd5c5de8ff904310df23d.zip
Version bump and remove old.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'app-text/xlsx2csv')
-rw-r--r--app-text/xlsx2csv/ChangeLog8
-rw-r--r--app-text/xlsx2csv/xlsx2csv-0.14.ebuild (renamed from app-text/xlsx2csv/xlsx2csv-0.12.ebuild)10
2 files changed, 14 insertions, 4 deletions
diff --git a/app-text/xlsx2csv/ChangeLog b/app-text/xlsx2csv/ChangeLog
index 569eba714c03..cec8787e4ff2 100644
--- a/app-text/xlsx2csv/ChangeLog
+++ b/app-text/xlsx2csv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/xlsx2csv
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.1 2011/02/06 03:14:27 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.2 2011/07/19 19:12:20 radhermit Exp $
+
+*xlsx2csv-0.14 (19 Jul 2011)
+
+ 19 Jul 2011; Tim Harder <radhermit@gentoo.org> -xlsx2csv-0.12.ebuild,
+ +xlsx2csv-0.14.ebuild:
+ Version bump and remove old.
*xlsx2csv-0.12 (06 Feb 2011)
diff --git a/app-text/xlsx2csv/xlsx2csv-0.12.ebuild b/app-text/xlsx2csv/xlsx2csv-0.14.ebuild
index 87d560bd9266..22bf3a3a4c98 100644
--- a/app-text/xlsx2csv/xlsx2csv-0.12.ebuild
+++ b/app-text/xlsx2csv/xlsx2csv-0.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.12.ebuild,v 1.1 2011/02/06 03:14:27 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.14.ebuild,v 1.1 2011/07/19 19:12:20 radhermit Exp $
EAPI=4
@@ -8,7 +8,7 @@ DESCRIPTION="Convert MS Office xlsx files to CSV"
HOMEPAGE="https://github.com/dilshod/xlsx2csv"
SRC_URI="https://github.com/downloads/dilshod/${PN}/${P}.zip"
-LICENSE="as-is"
+LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
@@ -23,7 +23,11 @@ src_test() {
local failure=0
for i in test/*.xlsx ; do
echo -n "test: $i "
- ./xlsx2csv.py "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
+ if [[ $(basename $i) == "sheets.xlsx" ]] ; then
+ ./xlsx2csv.py -s 0 "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
+ else
+ ./xlsx2csv.py -i "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
+ fi
if [[ $? -ne 0 ]] ; then
echo "FAILED"
failure=1