From a1189835bd14dd95c9e6d6f5736ee4b29835101c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Sep 2023 11:34:30 +0100 Subject: gentoo auto-resync : 28:09:2023 - 11:34:30 --- dev-python/tabulate/Manifest | 2 +- dev-python/tabulate/tabulate-0.9.0-r1.ebuild | 59 ++++++++++++++++++++++++++++ dev-python/tabulate/tabulate-0.9.0.ebuild | 58 --------------------------- 3 files changed, 60 insertions(+), 59 deletions(-) create mode 100644 dev-python/tabulate/tabulate-0.9.0-r1.ebuild delete mode 100644 dev-python/tabulate/tabulate-0.9.0.ebuild (limited to 'dev-python/tabulate') diff --git a/dev-python/tabulate/Manifest b/dev-python/tabulate/Manifest index d81405ae0cc8..12dcdb603c22 100644 --- a/dev-python/tabulate/Manifest +++ b/dev-python/tabulate/Manifest @@ -1,3 +1,3 @@ DIST python-tabulate-0.9.0.gh.tar.gz 59342 BLAKE2B dc101ab8d1411196619c3d77dd83c84e48f31e148ec3878c2b844a1e26ea1187cc948cfb1eb740d61a667d6b669806a5288c397ea7fcbd59685fedaa9bd0bd2e SHA512 26b0f079f1aca48578883147cb1a2e30e96e0bb85d5af3b72b26eba5f73cea41cf1a0686f666487c8374f95ca0412703168e480c947f1567e6408f941756498b -EBUILD tabulate-0.9.0.ebuild 1376 BLAKE2B a193b5821c62a8dcfdf3b3ca925be17cbefc9fe3426a818633b28f633cd85c56a0ee92bfa7b8ac781035fc237e7ddc9f66a4ffa0542c24b37294fd4d41277a31 SHA512 cdcec00085b05d9287be93d1f8be4868e57c4907a27ee93d8bffa3685f0b1ef2b834363f7308e85d57b348ac494ef67bd2f6f1b1bf52b3a0f4d1fc059ac12cab +EBUILD tabulate-0.9.0-r1.ebuild 1422 BLAKE2B 943397bb87daf339f841e38dffaa068919d40655e3bac68b9316f639cb92891f3ec7e9feb2717d9324a0815decc16b492e81f8040de29c637f41c0dd76a03854 SHA512 ae8e2373cd6a5f0550a5bc7b18ace6fbf0647dfe43032d65ab643402b479e89b8944f9e23d4baef8d827f327c0981fcafc3a1e73ad7e8d1cb347810f087ea2a4 MISC metadata.xml 399 BLAKE2B b92bc308afead78cb604ddc6bc288fb28ed5a2a523c890270ee87eb5bfee21133748c5861829bafcc8a7b3401b430dff84dd99264ebf3e7ea74342f99ee8cfc5 SHA512 2d8c4dca9558e5a5d6413a6bd5e2cd6e15d1d0d447e6c692af84c8575be899f3d78246782e6c908a626326662aaffde56b2c3f96f4e9cfa0473c976109e3dcac diff --git a/dev-python/tabulate/tabulate-0.9.0-r1.ebuild b/dev-python/tabulate/tabulate-0.9.0-r1.ebuild new file mode 100644 index 000000000000..037e115a3cb4 --- /dev/null +++ b/dev-python/tabulate/tabulate-0.9.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Pretty-print tabular data" +HOMEPAGE=" + https://github.com/astanin/python-tabulate/ + https://pypi.org/project/tabulate/ +" +SRC_URI=" + https://github.com/astanin/python-${PN}/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="MIT" +KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep 'sqlite') + dev-python/colorclass[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/test_input.py::test_pandas + test/test_input.py::test_pandas_firstrow + test/test_input.py::test_pandas_keys + test/test_output.py::test_pandas_with_index + test/test_output.py::test_pandas_without_index + test/test_output.py::test_pandas_rst_with_index + test/test_output.py::test_pandas_rst_with_named_index + ) + fi + epytest +} diff --git a/dev-python/tabulate/tabulate-0.9.0.ebuild b/dev-python/tabulate/tabulate-0.9.0.ebuild deleted file mode 100644 index d355cf1baf6f..000000000000 --- a/dev-python/tabulate/tabulate-0.9.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Pretty-print tabular data" -HOMEPAGE=" - https://github.com/astanin/python-tabulate/ - https://pypi.org/project/tabulate/ -" -SRC_URI=" - https://github.com/astanin/python-${PN}/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/wcwidth[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep 'sqlite') - dev-python/colorclass[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - test/test_input.py::test_pandas - test/test_input.py::test_pandas_firstrow - test/test_input.py::test_pandas_keys - test/test_output.py::test_pandas_with_index - test/test_output.py::test_pandas_without_index - test/test_output.py::test_pandas_rst_with_index - test/test_output.py::test_pandas_rst_with_named_index - ) - fi - epytest -} -- cgit v1.2.3