From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3475E1581D3 for ; Thu, 30 May 2024 04:03:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CA19E29F4; Thu, 30 May 2024 04:03:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F876E29EF for ; Thu, 30 May 2024 04:03:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E38443430A8 for ; Thu, 30 May 2024 04:03:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AD3AD for ; Thu, 30 May 2024 04:03:06 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1717041775.30b1a53124c43dab688839d94a50b4bdac66d9b8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openpyxl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/openpyxl/Manifest dev-python/openpyxl/openpyxl-3.1.3.ebuild X-VCS-Directories: dev-python/openpyxl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 30b1a53124c43dab688839d94a50b4bdac66d9b8 X-VCS-Branch: master Date: Thu, 30 May 2024 04:03:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 82daf573-ed2c-4da7-8d06-11f4c7510726 X-Archives-Hash: 9b9f8cf39f4aa9f20f828703f9740147 commit: 30b1a53124c43dab688839d94a50b4bdac66d9b8 Author: Michał Górny gentoo org> AuthorDate: Thu May 30 03:37:20 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 30 04:02:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b1a531 dev-python/openpyxl: Bump to 3.1.3 Signed-off-by: Michał Górny gentoo.org> dev-python/openpyxl/Manifest | 1 + dev-python/openpyxl/openpyxl-3.1.3.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/openpyxl/Manifest b/dev-python/openpyxl/Manifest index 1d3454889175..e9954806baa0 100644 --- a/dev-python/openpyxl/Manifest +++ b/dev-python/openpyxl/Manifest @@ -1 +1,2 @@ DIST openpyxl-3.1.2.tar.bz2 2733302 BLAKE2B 7030c698c2dfa3c3f27f23485e33cc9f4ffc0c473e590785ebfa03a958f7c1deab98503890b7350f32cbb4607b3fbf543b35299c0f8abfbfcc779e96ddda9ee1 SHA512 307d82dcf839c60be606c01f862701f69017573894c7fd26e35ec3edead2ea2a126aecca61b0c7f6727ff834dd6bed844095b9a56f2b510689ab071926a7a742 +DIST openpyxl-3.1.3.tar.bz2 2739587 BLAKE2B 64161f8ea0629f4bd2ef65187c2d1c0cfa23e155df7b5a4a81c386c48d339956e3d854da040157170852df19ab53d65fd0be9a4f1d4f5b5f6eed20e0fe1e89f9 SHA512 dee9dac201319ed6b3c14cb0cd396148a7caedebb2a95534a1b9fcb75afc445bfd73e67fdbd750334872e4bd3bf1a71d20c48930ff6b195f4f1c6312a5e762f8 diff --git a/dev-python/openpyxl/openpyxl-3.1.3.ebuild b/dev-python/openpyxl/openpyxl-3.1.3.ebuild new file mode 100644 index 000000000000..e1d43c5174d6 --- /dev/null +++ b/dev-python/openpyxl/openpyxl-3.1.3.ebuild @@ -0,0 +1,52 @@ +# 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 + ) + + if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2187 + openpyxl/compat/tests/test_compat.py::test_numpy_tostring + ) + fi + + epytest +}