public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder (radhermit)" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-text/xlsx2csv: xlsx2csv-0.17.ebuild ChangeLog
Date: Thu, 23 Feb 2012 04:21:41 +0000 (UTC)	[thread overview]
Message-ID: <20120223042141.014102004B@flycatcher.gentoo.org> (raw)

radhermit    12/02/23 04:21:40

  Modified:             ChangeLog
  Added:                xlsx2csv-0.17.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha87/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  app-text/xlsx2csv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xlsx2csv/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xlsx2csv/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xlsx2csv/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	3 Nov 2011 18:14:45 -0000	1.4
+++ ChangeLog	23 Feb 2012 04:21:40 -0000	1.5
@@ -1,6 +1,11 @@
 # 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.4 2011/11/03 18:14:45 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.5 2012/02/23 04:21:40 radhermit Exp $
+
+*xlsx2csv-0.17 (23 Feb 2012)
+
+  23 Feb 2012; Tim Harder <radhermit@gentoo.org> +xlsx2csv-0.17.ebuild:
+  Version bump.
 
 *xlsx2csv-0.16 (03 Nov 2011)
 



1.1                  app-text/xlsx2csv/xlsx2csv-0.17.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.17.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.17.ebuild?rev=1.1&content-type=text/plain

Index: xlsx2csv-0.17.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.17.ebuild,v 1.1 2012/02/23 04:21:40 radhermit Exp $

EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml"

inherit python

DESCRIPTION="Convert MS Office xlsx files to CSV"
HOMEPAGE="https://github.com/dilshod/xlsx2csv"
SRC_URI="mirror://github/dilshod/${PN}/${P}.zip"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

DEPEND="app-arch/unzip"

S="${WORKDIR}/${PN}"

src_prepare() {
	python_convert_shebangs -r 2 ${PN}.py
}

src_test() {
	local failure=0
	for i in test/*.xlsx ; do
		echo -n "test: $i "
		if [[ $(basename $i) == "sheets.xlsx" ]] ; then
			./xlsx2csv.py -s 0 "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
		elif [[ $(basename $i) == "skip_empty_lines.xlsx" ]] ; then
			./xlsx2csv.py -i "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
		else
			./xlsx2csv.py "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
		fi
		if [[ $? -ne 0 ]] ; then
			echo "FAILED"
			failure=1
		else
			echo "PASSED"
		fi
	done
	[[ $failure -ne 0 ]] && die "tests failed"
}

src_install() {
	newbin xlsx2csv.py xlsx2csv
	dodoc CHANGELOG README
}






                 reply	other threads:[~2012-02-23  4:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120223042141.014102004B@flycatcher.gentoo.org \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox