diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-08-17 02:10:44 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-08-17 02:10:44 +0000 |
commit | 0a041ef12b4e26288a5c1a5e61d9143cd0350c6c (patch) | |
tree | a9d9ae959af0413c4a962982821d6155ec2bb529 /app-text/xlsx2csv | |
parent | Version bump (diff) | |
download | historical-0a041ef12b4e26288a5c1a5e61d9143cd0350c6c.tar.gz historical-0a041ef12b4e26288a5c1a5e61d9143cd0350c6c.tar.bz2 historical-0a041ef12b4e26288a5c1a5e61d9143cd0350c6c.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'app-text/xlsx2csv')
-rw-r--r-- | app-text/xlsx2csv/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/xlsx2csv/Manifest | 18 | ||||
-rw-r--r-- | app-text/xlsx2csv/xlsx2csv-0.20.ebuild | 50 |
3 files changed, 73 insertions, 2 deletions
diff --git a/app-text/xlsx2csv/ChangeLog b/app-text/xlsx2csv/ChangeLog index e86bc18b1ee4..fc73d8f463bd 100644 --- a/app-text/xlsx2csv/ChangeLog +++ b/app-text/xlsx2csv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/xlsx2csv # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.6 2012/02/23 04:22:14 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/ChangeLog,v 1.7 2012/08/17 02:10:44 radhermit Exp $ + +*xlsx2csv-0.20 (17 Aug 2012) + + 17 Aug 2012; Tim Harder <radhermit@gentoo.org> +xlsx2csv-0.20.ebuild: + Version bump. 23 Feb 2012; Tim Harder <radhermit@gentoo.org> -xlsx2csv-0.14.ebuild, -xlsx2csv-0.15.ebuild: diff --git a/app-text/xlsx2csv/Manifest b/app-text/xlsx2csv/Manifest index 1ff937ccf825..d7810223feb9 100644 --- a/app-text/xlsx2csv/Manifest +++ b/app-text/xlsx2csv/Manifest @@ -1,6 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST xlsx2csv-0.16.zip 424037 SHA256 ac718ff32cd34dd675ee3e8cfa26c9fa1ed4be0db1041666886f39b45e747769 SHA512 0dae097cef2252aacb85fc8afd9ef3b069c6f57071623c2be8486c064dd221726e74de6212b4304b2cb48c735dc8458e2264460b901015d945280e9fe83e9c6b WHIRLPOOL 8ecfa489cee496b6b2446d93592656f7d18b1e8fa32837abb237b4c1832295ba9871b3b41c980a1170c9d30b4d1e71b71dd00da965b49c0e759e2240d21f9b3e DIST xlsx2csv-0.17.zip 458707 SHA256 fe011e8c9f22316cdfb879f0b72150b5d334059a720950d89fdaac9198d80a7d SHA512 47f92e3264449ced48637dba3c1f42b1c7d350f041ce6189eab6492af7d6442042c2de84014d34687a5ffa900ab2384a6a076ce7b90e332d16af94116ff78318 WHIRLPOOL 8e1f7ae91cc866bb68bec86cd614f2534074f18bc109e7ba9aff1a1fbb7a220f0c3055782e3d0a9bc68dee10ccc7804e4c9211eceb5ab1af18a3cd76a5cf7ab6 +DIST xlsx2csv-0.20.zip 144896 SHA256 38a4ae08115b6803116f133e9cf2f6ef49e886015ebee87d81b8445a25175a6e SHA512 65744a765382ddfd41286f1572e078d39c8b6034eb3d29efe97dfc8dcee9424f3d9e233fce6d80c47912da285555f660da194cb86648be531c31e4344868065a WHIRLPOOL eef98f175f901e7dae60283b9b9b5cd30bb5ea57108e2a09d0ba63a0f64936e8dc3b6df8936f30bb2e6d098fcd8f1f71a37651c85f6f3c15360b98918d857d36 EBUILD xlsx2csv-0.16.ebuild 1067 SHA256 0fe9a2cdf7be87dca2354c379587a60d80f49ba1d0ca6aaaa73589dec47953a0 SHA512 7f4dc05f01c3bae4623df1027cffc7192aa861e09eda0fe22011094c1c95e50d1772276f00d832bc74cce7964aee227642c419ef158372d0e628a0d84a7181de WHIRLPOOL 25846a889b3c2251f7bf2f3f60b816986853140fb03c9dbdd51a3a3311c4ef99b0432cb0a7640ffc54e08a222f0d9331ef9649dd42705e324b60679966fb3150 EBUILD xlsx2csv-0.17.ebuild 1261 SHA256 ad4070bfbfd602121fdf70c9de4754175487d9c50a7f7674d58f55d1d4de3fa9 SHA512 aeb9ecde764bb1ed4a489b7aaabcc3818c2911dd9d0069c540ad7095fe4dc5405e6f4546b8d1e70da1616344d1a75d19efe77d4517911a3f9c3ec006a2bd7f2f WHIRLPOOL 5f47a896d4248581fa9b322b76f35e413b6b1c9ee7e427ff8a1f6b3b35c35c257ea05b579bbbc82e62ef3223359e8d418e5df3f96dba6d20aec4d56ca37f8db0 -MISC ChangeLog 976 SHA256 cd2180b64fa67a65c9eee4b96ff288d95d6ea343f5c0e025cf6b217291ee447e SHA512 baeda53a737c7eaf909c4208e84e6f7d7850c2af449542afaffa095e5fd81a7c694dda9f3f0c71e610a14e5cdc34e46f97eb15acd2a493dca07ac29fdc4b7581 WHIRLPOOL ac1145d9588a6d57a5b674b08364d5ae7fcd1cdab217e88c3efb07604c41c45b466990fc79c8451329c54eba9ca7c86eed0ccb7f56c50b72a3d4c251e55ac244 +EBUILD xlsx2csv-0.20.ebuild 1239 SHA256 0ba7634bbd3b27b71e9b4cdda21f865ff9905ef9c92ca13fe9fb3cf9de3c07e2 SHA512 11c63227eab021206508514aadd4e0ffb7d49e25cee6b8b79fc7d341eac757d74b4ddf0034940a7a554c1bcbc65df34cbbb0fea09ab2ab884e7a88ff4a08555a WHIRLPOOL ef35ba29e4279e00bc2ffd0dd939403dc630e1ab40997919e241c6b415b6402114fcd97d874b548db9d4ceae5f2c65a2ed00d4b18444442cd8b59e282a7a45e5 +MISC ChangeLog 1095 SHA256 3042879c2d68131ed7df04f9d805be99d886ae857247b8496812c19840e08c8c SHA512 701aa377f7727d825caad06bd2bc1f76976119f15df0cfcefac59510079de61ee9882a40ecc6814f528c826d46917b2b45ae8c4857ba01ee3f17a041dbc22055 WHIRLPOOL 655c4b8de63427ba704d4137b614442f32e2e6486401190165b92c8052bd92adb570007c0adbd4e76eb26b39887082996b1e233b7acbd0f87ae880b9345516bc MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQLagyAAoJEEqz6FtPBkyjHfsH/Ai4Rvj6OSUaka0Oi2x3vm62 +MnyCxHXKhI2YGRPLAqPzthI4PLX1ztP3gWggqcX29jVl0FNmTp6yHTeE+9kiow/B +d94y2eg7OjfZCIqoBNYMq7H1NbGIHydNpp1culKGDT8OfOwvjVka9oILMelWxSkH +lldhW08hWziY017PN3JHKr4C0vhrotWMthuTM9J78ntQzuvftYt8OAPKtM1Q+OMb +w72rKVUxY/1FcJes/CZ5w2cPZG9ibOz4wVX1C1S8El2LTKTs8geMFjGeB/0uVtBk +Orj0EHbwW/Ov0NLFdgUBPpjnR2H60c888mS8YGlPfOaaRbZSsGHnP3GoXGQHnoE= +=SXN3 +-----END PGP SIGNATURE----- diff --git a/app-text/xlsx2csv/xlsx2csv-0.20.ebuild b/app-text/xlsx2csv/xlsx2csv-0.20.ebuild new file mode 100644 index 000000000000..adf47ad28d87 --- /dev/null +++ b/app-text/xlsx2csv/xlsx2csv-0.20.ebuild @@ -0,0 +1,50 @@ +# 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.20.ebuild,v 1.1 2012/08/17 02:10:44 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" + +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 +} |