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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93614158046 for ; Sun, 13 Oct 2024 02:48:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C377CE08FA; Sun, 13 Oct 2024 02:48:14 +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 A9CD3E08FA for ; Sun, 13 Oct 2024 02:48:14 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6162C343180 for ; Sun, 13 Oct 2024 02:48:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 807DA1DC3 for ; Sun, 13 Oct 2024 02:48:11 +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: <1728785855.e86f8c5670cfec783a5b44e7ca1cc336a956edd6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bottleneck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bottleneck/Manifest dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild X-VCS-Directories: dev-python/bottleneck/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e86f8c5670cfec783a5b44e7ca1cc336a956edd6 X-VCS-Branch: master Date: Sun, 13 Oct 2024 02:48:11 +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: 065ad498-3149-4d1f-be74-8844fc5f90d1 X-Archives-Hash: a1021b7f86a9d0ea63cd23b410f6f6e2 commit: e86f8c5670cfec783a5b44e7ca1cc336a956edd6 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 13 02:17:35 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 13 02:17:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86f8c56 dev-python/bottleneck: Bump to 1.4.1_rc1 Signed-off-by: Michał Górny gentoo.org> dev-python/bottleneck/Manifest | 1 + dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild | 52 +++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 8ce948a5e14e..8d5d93089a76 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1 +1,2 @@ DIST bottleneck-1.4.0.tar.gz 103490 BLAKE2B c72b53bd1f4325fa53d7824e335ec50a37da7650c097bdda22548637c1e5a95bfa219dad1361dfb2eecdcf0fa1445a5c6cfb94b7472290fa6317524dc474f46c SHA512 07c1224d63a34e12488dce1f72152fdc493db904130cef46092f7f9c3218a04032e90d64dbf385069072c5d56c7ea09db15897d5c77b9d53db2e3da9414f84cc +DIST bottleneck-1.4.1rc1.tar.gz 103592 BLAKE2B 1e201ae87274e33245a56a9976d951e0040c9bb0bcca714a1b5dcd5b2e40a782dfa0ee09dbb7743e803fe5bd6c1c074abff24408d68bd3dd00050fb8d6e07ab3 SHA512 5ba05a852833f1eae3b5b5d96125484011faa08cc6556cdbadc668ef3c5efde406ff5432235de2ef65bb6ce3ca9f8aab159e33b2ddbfb8566638dfa9746f9ef0 diff --git a/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild b/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild new file mode 100644 index 000000000000..d859f3bcc96b --- /dev/null +++ b/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast NumPy array functions written in C" +HOMEPAGE=" + https://github.com/pydata/bottleneck/ + https://pypi.org/project/Bottleneck/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + # don't overwrites user's optimization level + sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # GC assumptions? + tests/memory_test.py::test_memory_leak + ) + ;; + esac + + rm -rf bottleneck || die + epytest --pyargs bottleneck +}