summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-21 04:19:15 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-21 04:19:15 +0000
commit218e3732724ac12ea59c7df8d705264607c1dcfd (patch)
tree76009929594680d388bfd0072ce71846945c2b5c /app-text/xlsx2csv
parentAdd snapshot with support for newer versions of transmission. (diff)
downloadhistorical-218e3732724ac12ea59c7df8d705264607c1dcfd.tar.gz
historical-218e3732724ac12ea59c7df8d705264607c1dcfd.tar.bz2
historical-218e3732724ac12ea59c7df8d705264607c1dcfd.zip
Version bump.
Package-Manager: portage-2.2.0_alpha58/cvs/Linux x86_64
Diffstat (limited to 'app-text/xlsx2csv')
-rw-r--r--app-text/xlsx2csv/ChangeLog7
-rw-r--r--app-text/xlsx2csv/Manifest18
-rw-r--r--app-text/xlsx2csv/xlsx2csv-0.15.ebuild44
3 files changed, 53 insertions, 16 deletions
diff --git a/app-text/xlsx2csv/ChangeLog b/app-text/xlsx2csv/ChangeLog
index cec8787e4ff2..ba6651afd24e 100644
--- a/app-text/xlsx2csv/ChangeLog
+++ b/app-text/xlsx2csv/ChangeLog
@@ -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.2 2011/07/19 19:12:20 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.3 2011/09/21 04:19:15 radhermit Exp $
+
+*xlsx2csv-0.15 (21 Sep 2011)
+
+ 21 Sep 2011; Tim Harder <radhermit@gentoo.org> +xlsx2csv-0.15.ebuild:
+ Version bump.
*xlsx2csv-0.14 (19 Jul 2011)
diff --git a/app-text/xlsx2csv/Manifest b/app-text/xlsx2csv/Manifest
index 7b485ca2e93a..d93d7fccb3ae 100644
--- a/app-text/xlsx2csv/Manifest
+++ b/app-text/xlsx2csv/Manifest
@@ -1,18 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
DIST xlsx2csv-0.14.zip 269176 RMD160 e926faf7eafcfd5fd4c5bbc4f7638e2ffcb0f08a SHA1 91ce4d8579504cbadb45ec843fd257a92bd4ea74 SHA256 1cd50285e24ecca7505de150e4baa5b0afedfc17f7a6e2a5428642646ddef9c1
+DIST xlsx2csv-0.15.zip 415509 RMD160 ec23f90466b8bd3926d850b96d771acd4c1c0ec7 SHA1 0387323fb3a3522f912f62be0b599da1dfde403d SHA256 fe04967cefd105af7d3297d790b06ae961829484f92acfbfe73253322a886873
EBUILD xlsx2csv-0.14.ebuild 1080 RMD160 ef6c0d4d75e7c0155dce1b6281e13fdc6a9500de SHA1 ce43db16bf2144b9994c94b2715908134f106396 SHA256 90788f464decaffeb03126250fe31681c0ff26bf86fb315588e1f8398167a31f
-MISC ChangeLog 507 RMD160 551d0a6329ed72403d66681812add7b9d62b8597 SHA1 dc43d10d68a099d954945d16eb735b971988b917 SHA256 eb25114d498820abb615c749e339484be0814aeabb8f83f5611a2402e779c4ba
+EBUILD xlsx2csv-0.15.ebuild 1067 RMD160 8a9bef02f026f51515556ceaadf81fe748493dcb SHA1 9b7258f434a9f02dd4eff4e1080ec863f87d12c0 SHA256 19f0e4d5c64ed80f83378c86d2cf79a7d65e37c0d4b0b322c39cf3f6d6a5d98b
+MISC ChangeLog 626 RMD160 818f296f0e78b444d8f732123e01928906413967 SHA1 e9856ba472ee09209794a9f42ae0447c825d753c SHA256 b80a2d0a8eb4c1fe06c08b17cb2493378445bca7cc21c8683452618572b94d05
MISC metadata.xml 254 RMD160 161337e6910a0fd0b752294ab4aa7640c7c2aad6 SHA1 e1d817485dd8943fcb7bfefec4ccff1d56e5b2f7 SHA256 27ec031bea6f122f30a7a6ce887a0174396b7aa96aa28472472ac67b2b24078b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQEcBAEBCgAGBQJOJdceAAoJEEqz6FtPBkyjxSwIAKebxmt77XLcoAX5/wZSFTSG
-nifJz7hNlEfM3xr2cqWYrTdts1q43/231kT4fvBOZJhHeWempjeZ9g7z9bpvEvGA
-5U6fw3uIN7jetv9A39t9kVrmUK1aserH573WfYYt9is3ONok+ILqgEP5WY0j83d/
-lfBswrUqUkbdftNzJ/RGef3Q/ji20j55TbRpChC+dQJFAO7DkF/s/b0MYnpvDAmo
-NP+TizfkTjuXbEdNu8lZiP+zhbZUxo9w0FB/npVslB60Vc0ocP68eHWHCLdKzUfi
-gHEckSWJUEwuotfw0/BRrlnYT69fkTE+fjyeN6NE/j+4CJO+aV0Uix9UIrlFM6o=
-=qwxJ
------END PGP SIGNATURE-----
diff --git a/app-text/xlsx2csv/xlsx2csv-0.15.ebuild b/app-text/xlsx2csv/xlsx2csv-0.15.ebuild
new file mode 100644
index 000000000000..e8a4209994f8
--- /dev/null
+++ b/app-text/xlsx2csv/xlsx2csv-0.15.ebuild
@@ -0,0 +1,44 @@
+# 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.15.ebuild,v 1.1 2011/09/21 04:19:15 radhermit Exp $
+
+EAPI=4
+
+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
+ test? ( dev-lang/python[xml] )"
+RDEPEND="dev-lang/python[xml]"
+
+S="${WORKDIR}/${PN}"
+
+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
+ else
+ ./xlsx2csv.py -i "$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
+}