From 47e3901d7d0c2c6af500ac7855ec2d4855249380 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 21 Jun 2021 12:27:41 -0700 Subject: dev-python/agate: Bump to version 1.6.2 + enable tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/797307 Reported-by: Michał Górny Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico --- dev-python/agate/Manifest | 2 +- dev-python/agate/agate-1.6.1.ebuild | 24 -------------------- dev-python/agate/agate-1.6.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 25 deletions(-) delete mode 100644 dev-python/agate/agate-1.6.1.ebuild create mode 100644 dev-python/agate/agate-1.6.2.ebuild (limited to 'dev-python/agate') diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 79f708548fda..7b0c44d435ca 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1 +1 @@ -DIST agate-1.6.1.tar.gz 137280 BLAKE2B cc022eb05865af0c3f2602d0e5da19a7cbc1516ffbac3900e8cf5c414ff9237151911036170632bfddc4ebe1d40192a3efc0fa73f5ec25a996345919165729ec SHA512 03cbd569a8cff8352ea7fc7469508f5aa5fd6e99381088b53711cc688f8fe9c19c50265852d2e1f9b92852509dbab9630359b72b504a46c9f0aaa37b14027ab9 +DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e diff --git a/dev-python/agate/agate-1.6.1.ebuild b/dev-python/agate/agate-1.6.1.ebuild deleted file mode 100644 index de2cbc49e122..000000000000 --- a/dev-python/agate/agate-1.6.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -RDEPEND=" - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/Babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - >=dev-python/leather-0.3.2[${PYTHON_USEDEP}] -" diff --git a/dev-python/agate/agate-1.6.2.ebuild b/dev-python/agate/agate-1.6.2.ebuild new file mode 100644 index 000000000000..6c3fd2a618fb --- /dev/null +++ b/dev-python/agate/agate-1.6.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + >=dev-python/leather-0.3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-expect[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + cat > .pytest.expect <<-EOF +pytest-expect file v1 +(3, 8, 10, 'final', 0) +u'tests/test_data_types.py::TestDate::test_cast_format_locale': FAIL +u'tests/test_data_types.py::TestDateTime::test_cast_format_locale': FAIL +EOF + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad