commit:     f51585035a7bae128296d6bc9bc5700705295c96
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 03:04:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 03:26:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5158503

dev-python/openpyxl: Bump to 3.1.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/openpyxl/Manifest              |  1 +
 dev-python/openpyxl/openpyxl-3.1.5.ebuild | 46 +++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/openpyxl/Manifest b/dev-python/openpyxl/Manifest
index 6272b23492cc..224b91b00159 100644
--- a/dev-python/openpyxl/Manifest
+++ b/dev-python/openpyxl/Manifest
@@ -1,2 +1,3 @@
 DIST openpyxl-3.1.3.tar.bz2 2739587 BLAKE2B 
64161f8ea0629f4bd2ef65187c2d1c0cfa23e155df7b5a4a81c386c48d339956e3d854da040157170852df19ab53d65fd0be9a4f1d4f5b5f6eed20e0fe1e89f9
 SHA512 
dee9dac201319ed6b3c14cb0cd396148a7caedebb2a95534a1b9fcb75afc445bfd73e67fdbd750334872e4bd3bf1a71d20c48930ff6b195f4f1c6312a5e762f8
 DIST openpyxl-3.1.4.tar.bz2 2738775 BLAKE2B 
88236c4a5d49d02f746c0a5393cf0e996ee2864c38e9f9b9774355b5263447dfb73eaa027ae8d710fd81585a99ba5a20f1cbecc6615f153387b94516faea4820
 SHA512 
f2b4d7566428d3e5ff36be37cfce12c247f90e1ab10cfd4e04e285106b48c4d9b30791a9b1f1c6f388ea063e69d9843801b9f7568d4694cfcd20d4e8d0d723b8
+DIST openpyxl-3.1.5.tar.bz2 2739068 BLAKE2B 
7a70de814c39945ce4ed8c1e8105da9db4347b4a5f90e6620f6a22f85ba55e2330a305a9d6f78ab27f2055b589b6f3beba6943d8c15cbb9a24e94d663bffcf1d
 SHA512 
556d3f1660ae5d045b0801b99740b2cd1eea1fc69c07c87c4bdd7e78999b5094e84db6fcb107b2a80f4648004810d18eea22779e2d3c231a996bbe2a12d33288

diff --git a/dev-python/openpyxl/openpyxl-3.1.5.ebuild 
b/dev-python/openpyxl/openpyxl-3.1.5.ebuild
new file mode 100644
index 000000000000..28621698fd68
--- /dev/null
+++ b/dev-python/openpyxl/openpyxl-3.1.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
+HOMEPAGE="
+       https://openpyxl.readthedocs.io/en/stable/
+       https://foss.heptapod.net/openpyxl/openpyxl/
+"
+SRC_URI="
+       https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+       dev-python/et-xmlfile[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/lxml-5.0.3[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg]
+       )
+"
+
+distutils_enable_sphinx doc \
+       dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # GC assumptions (pypy)
+               openpyxl/tests/test_iter.py::test_file_descriptor_leak
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to