summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Fischl <github@fischl-online.de>2023-04-20 06:59:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-05-07 10:22:53 +0300
commitdec34c9b92911fe019193b8084e9c46c18104eba (patch)
treeb45b44c7a8946f8c5b8f34f46e58a1d198edc299 /app-text/xlsx2csv
parentapp-text/xlsx2csv: bump 0.8.1 (diff)
downloadgentoo-dec34c9b92911fe019193b8084e9c46c18104eba.tar.gz
gentoo-dec34c9b92911fe019193b8084e9c46c18104eba.tar.bz2
gentoo-dec34c9b92911fe019193b8084e9c46c18104eba.zip
app-text/xlsx2csv: remove 0.7.6, 0.8.1
Closes: https://github.com/gentoo/gentoo/pull/30660 Signed-off-by: Anton Fischl <github@fischl-online.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text/xlsx2csv')
-rw-r--r--app-text/xlsx2csv/Manifest2
-rw-r--r--app-text/xlsx2csv/files/xlsx2csv-0.7.6-tests.patch61
-rw-r--r--app-text/xlsx2csv/xlsx2csv-0.7.6.ebuild35
-rw-r--r--app-text/xlsx2csv/xlsx2csv-0.8.0.ebuild34
4 files changed, 0 insertions, 132 deletions
diff --git a/app-text/xlsx2csv/Manifest b/app-text/xlsx2csv/Manifest
index 3d58d5650340..5c7f1803af9a 100644
--- a/app-text/xlsx2csv/Manifest
+++ b/app-text/xlsx2csv/Manifest
@@ -1,3 +1 @@
-DIST xlsx2csv-0.7.6.tar.gz 231283 BLAKE2B d0271c6a82b7ed2825e3224f0e34637db3dacda3fe99c6ef5a087cc8d248592efc169b466514abd18b50f6625e8d9743c812b46ecb6f76ce7d1fdc51dfe34fc4 SHA512 7fc8e0da0c050e12d0cfd73f16ffd9c00f19bf05925b54cc68d6a0858a75db89d52e46312956dfd149e0ec88778f68056942a090db44e6148796fad33fa26489
-DIST xlsx2csv-0.8.0.tar.gz 208842 BLAKE2B bfe69c39a8312feec35bb9a8079982f0765cbe975ce9d842ccd969d1399d03202ddf8d41c54f5129d122f535272add38c1489c0804340cc24bf1091779d76a2c SHA512 dd9ced043f347d420371aaf68f65b1ae827f231ceddbfb051174c8072dda27f989490120d0ee6bbe1fb25faf79944242144e196ccf58db5c537d5b0826cb91ee
DIST xlsx2csv-0.8.1.tar.gz 215741 BLAKE2B 0fcfe8177bc9d50d0986bea45373be8efb80753a53054bb254ab6fa93a4f4e038d1b7b991f1fb3850e9cd928f4aacfc3b0a927edbaacd77065eb6dc8067cc227 SHA512 0d091a3912a3c0a10837acb2bf1a4c42478a891b0c9cfaceb74a8e511425c63360f24cb08db138ec51a7c189f0b76f3901789edb45f894ab8926dd4c458c7ff5
diff --git a/app-text/xlsx2csv/files/xlsx2csv-0.7.6-tests.patch b/app-text/xlsx2csv/files/xlsx2csv-0.7.6-tests.patch
deleted file mode 100644
index f3e04b827bd0..000000000000
--- a/app-text/xlsx2csv/files/xlsx2csv-0.7.6-tests.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- xlsx2csv-0.7.6/test/run
-+++ xlsx2csv-0.7.6/test/run
-@@ -5,8 +5,6 @@
- import subprocess
- from io import open
-
--PYTHON_VERSIONS = ["2.7"]
--
- """
- This test uses sys.stdout.
- That means this test doesn't verify:
-@@ -16,31 +14,24 @@
-
- def compare(case, arguments=[]):
- failed = False
-- for pyver in PYTHON_VERSIONS:
-- ext = "xlsx"
-- if os.path.exists("test/%s.xlsm" % case):
-- ext = "xlsm"
--
-- if os.name == 'posix':# in case of Linux
-- left = subprocess.check_output(["python%s" %pyver, "./xlsx2csv.py"] + arguments + ["test/%s.%s" %(case, ext)]).decode('utf-8').replace('\r','')
-- elif os.name == 'nt':# in case of Windows
-- # Use py.exe http://blog.python.org/2011/07/python-launcher-for-windows_11.html on Windows
-- left = subprocess.check_output(["py", "-%s" %pyver, "./xlsx2csv.py"] + arguments + ["test/%s.%s" %(case, ext)]).decode('utf-8').replace('\r','')
-- else:
-- print("os.name is unexpected: "+os.name)
-- sys.exit(1)
--
-- f = open("test/%s.csv" %case, "r", encoding="utf-8", newline="")
-- right = f.read().replace('\r','')
-- f.close()
--
-- if left != right:
-- print("FAILED: %s %s" %(case, pyver))
-- print(" actual:", left.replace("\r", "\\r").replace("\n", "\\n"))
-- print(" expected:", right.replace("\r", "\\r").replace("\n", "\\n"))
-- failed = True
-- else:
-- print("OK: %s %s" %(case, pyver))
-+ ext = "xlsx"
-+ if os.path.exists("test/%s.xlsm" % case):
-+ ext = "xlsm"
-+
-+ left = subprocess.check_output(["./xlsx2csv.py"] + arguments + ["test/%s.%s" %(case, ext)]).decode('utf-8').replace('\r','')
-+
-+ f = open("test/%s.csv" %case, "r", encoding="utf-8", newline="")
-+ right = f.read().replace('\r','')
-+ f.close()
-+
-+ if left != right:
-+ print("FAILED: %s" % (case,))
-+ print(" actual:", left.replace("\r", "\\r").replace("\n", "\\n"))
-+ print(" expected:", right.replace("\r", "\\r").replace("\n", "\\n"))
-+ failed = True
-+ else:
-+ print("OK: %s" % (case,))
-+
- if failed:
- sys.exit(1)
-
diff --git a/app-text/xlsx2csv/xlsx2csv-0.7.6.ebuild b/app-text/xlsx2csv/xlsx2csv-0.7.6.ebuild
deleted file mode 100644
index b5b221a9924d..000000000000
--- a/app-text/xlsx2csv/xlsx2csv-0.7.6.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-PYTHON_REQ_USE="xml(+)"
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="Convert MS Office xlsx files to CSV"
-HOMEPAGE="https://github.com/dilshod/xlsx2csv/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="dev-lang/perl"
-
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
-
-python_compile_all() {
- emake -C man
-}
-
-python_test() {
- "${EPYTHON}" test/run || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- doman man/${PN}.1
-}
diff --git a/app-text/xlsx2csv/xlsx2csv-0.8.0.ebuild b/app-text/xlsx2csv/xlsx2csv-0.8.0.ebuild
deleted file mode 100644
index 7b0deef9b9c3..000000000000
--- a/app-text/xlsx2csv/xlsx2csv-0.8.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-PYTHON_REQ_USE="xml(+)"
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Convert MS Office xlsx files to CSV"
-HOMEPAGE="https://github.com/dilshod/xlsx2csv/"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="dev-lang/perl"
-
-PATCHES=( "${FILESDIR}"/"${PN}-0.7.8-tests.patch" )
-
-python_compile_all() {
- emake -C man
-}
-
-python_test() {
- "${EPYTHON}" test/run || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- doman "man/${PN}.1"
-}