diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-02-06 03:14:27 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-02-06 03:14:27 +0000 |
commit | c93372abe0a4b8d9d270c81bd0909c103772207b (patch) | |
tree | 45874be99e1f6509080dfcbaf808462bfe446f3c /app-text/xlsx2csv | |
parent | Initial import. (diff) | |
download | historical-c93372abe0a4b8d9d270c81bd0909c103772207b.tar.gz historical-c93372abe0a4b8d9d270c81bd0909c103772207b.tar.bz2 historical-c93372abe0a4b8d9d270c81bd0909c103772207b.zip |
Initial commit.
Package-Manager: portage-2.2.0_alpha20/cvs/Linux x86_64
Diffstat (limited to 'app-text/xlsx2csv')
-rw-r--r-- | app-text/xlsx2csv/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/xlsx2csv/Manifest | 18 | ||||
-rw-r--r-- | app-text/xlsx2csv/metadata.xml | 9 | ||||
-rw-r--r-- | app-text/xlsx2csv/xlsx2csv-0.12.ebuild | 40 |
4 files changed, 77 insertions, 0 deletions
diff --git a/app-text/xlsx2csv/ChangeLog b/app-text/xlsx2csv/ChangeLog new file mode 100644 index 000000000000..569eba714c03 --- /dev/null +++ b/app-text/xlsx2csv/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*xlsx2csv-0.12 (06 Feb 2011) + + 06 Feb 2011; Tim Harder <radhermit@gentoo.org> +xlsx2csv-0.12.ebuild, + +metadata.xml: + Initial commit. + diff --git a/app-text/xlsx2csv/Manifest b/app-text/xlsx2csv/Manifest new file mode 100644 index 000000000000..06556c117b69 --- /dev/null +++ b/app-text/xlsx2csv/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST xlsx2csv-0.12.zip 72816 RMD160 b06024bb73a777b9269797e7e1c04ac5f4cd5f87 SHA1 cb79017dc45d6acf8f477cd16ad12dd9d3c37bd9 SHA256 444b76e195171533f7f2687f61a0ac9d8025ef83f1f2b3448b425015037dc4f9 +EBUILD xlsx2csv-0.12.ebuild 930 RMD160 ff1721d834fa79d9e811d85d64946d36d8aed6e6 SHA1 4a94af39642ab1dc2479bdb021960648d5e18190 SHA256 b87ee0fdba894c1a7340e6842962572fcc47f5eb2cfc0355346d4625e0417706 +MISC ChangeLog 348 RMD160 ca4977e46a47439919d16d864542ed7c3ee51526 SHA1 9df7bde7c2fa034ab3041c02140967377f8b846e SHA256 46a58d2120d53c656b783721fb8e906d719b6428c20942f57fe407ef362de31f +MISC metadata.xml 254 RMD160 161337e6910a0fd0b752294ab4aa7640c7c2aad6 SHA1 e1d817485dd8943fcb7bfefec4ccff1d56e5b2f7 SHA256 27ec031bea6f122f30a7a6ce887a0174396b7aa96aa28472472ac67b2b24078b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJNThIdAAoJEEqz6FtPBkyjqHIH/2cUK/IxGZifN7jcjI3DLs+i +iBGSrX1RYHqyYAjQ3U3Zpp8EdNQGhb0FiaQWdpJIG64BXDrS5LEoDgn94bg2lzvM +xKpqwr0QF0x8T/55VghCF0+1BT6K8wcgqOCFt7VMeu/mCkJzccM7dhb5Qn2o9PiY +KVfOwHZivE8oqgzTeekWZVpfR8eLdnv1YHcRyDfLCj01uwdO0gNl8+sdF/vO+5Zs +wl7Nt1L7NBTfgpn93KPoQoRHCRJ/2jmTSIlaxSl2Z4wdmQnpx0eM0GGPeSRP5hS9 +UDFQVxBBdWhVZ6s595P9Ty6BiuStVieLSItg4pavxiRZzRh8u69GsOHn6edbgR4= +=OOTv +-----END PGP SIGNATURE----- diff --git a/app-text/xlsx2csv/metadata.xml b/app-text/xlsx2csv/metadata.xml new file mode 100644 index 000000000000..0ce86a2b9b52 --- /dev/null +++ b/app-text/xlsx2csv/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/app-text/xlsx2csv/xlsx2csv-0.12.ebuild b/app-text/xlsx2csv/xlsx2csv-0.12.ebuild new file mode 100644 index 000000000000..87d560bd9266 --- /dev/null +++ b/app-text/xlsx2csv/xlsx2csv-0.12.ebuild @@ -0,0 +1,40 @@ +# 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 $ + +EAPI=4 + +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" +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 " + ./xlsx2csv.py "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null + 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 +} |