bump app-text/xlsx2csv-0.8.0

This commit is contained in:
antonfischl1980 2023-01-10 06:02:22 +00:00 committed by GitHub
parent d886c093fb
commit 3f5e8260df
2 changed files with 36 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST xlsx2csv-0.7.8.tar.gz 230271 BLAKE2B c4ac6bd81b5b8f963902b89a48ae22c8e1b0910e30c3ce361db47ca2490b083f04412589c72c487fee1ae93d5801625be67fee8ca619f4395953fb2e5fc4e14b SHA512 e6dd14884f7625a50d554504fa38b27d11a2cbae8b378e04aad70918ea901146861c77a1a0d78420a20f7a47cfb0ded386784a7e03ad37c68425f13e3b8b1ff2
DIST xlsx2csv-0.8.0.tar.gz 208842 BLAKE2B bfe69c39a8312feec35bb9a8079982f0765cbe975ce9d842ccd969d1399d03202ddf8d41c54f5129d122f535272add38c1489c0804340cc24bf1091779d76a2c SHA512 dd9ced043f347d420371aaf68f65b1ae827f231ceddbfb051174c8072dda27f989490120d0ee6bbe1fb25faf79944242144e196ccf58db5c537d5b0826cb91ee

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 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
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="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"
}