commit: c01c51b0ac6c1c6f1198e61d7c4f1f113f08ac25
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 03:54:40 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 04:11:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01c51b0
dev-python/bottleneck: Bump to 1.4.1_rc3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/bottleneck/Manifest | 1 +
dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild | 52 +++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest
index 8d5d93089a76..6868195fd9fb 100644
--- a/dev-python/bottleneck/Manifest
+++ b/dev-python/bottleneck/Manifest
@@ -1,2 +1,3 @@
DIST bottleneck-1.4.0.tar.gz 103490 BLAKE2B
c72b53bd1f4325fa53d7824e335ec50a37da7650c097bdda22548637c1e5a95bfa219dad1361dfb2eecdcf0fa1445a5c6cfb94b7472290fa6317524dc474f46c
SHA512
07c1224d63a34e12488dce1f72152fdc493db904130cef46092f7f9c3218a04032e90d64dbf385069072c5d56c7ea09db15897d5c77b9d53db2e3da9414f84cc
DIST bottleneck-1.4.1rc1.tar.gz 103592 BLAKE2B
1e201ae87274e33245a56a9976d951e0040c9bb0bcca714a1b5dcd5b2e40a782dfa0ee09dbb7743e803fe5bd6c1c074abff24408d68bd3dd00050fb8d6e07ab3
SHA512
5ba05a852833f1eae3b5b5d96125484011faa08cc6556cdbadc668ef3c5efde406ff5432235de2ef65bb6ce3ca9f8aab159e33b2ddbfb8566638dfa9746f9ef0
+DIST bottleneck-1.4.1rc3.tar.gz 103545 BLAKE2B
680c7efb6836cbfc31c2691e5268b3c2dc29861a8d874892a7b90681fe82e9b84acaccd67b6e4f4e5d69b11600aa251b1b7abd18b7064b28b90e9686b444d38e
SHA512
ec72c21a7ed164078790c4ed8a71fa739b5b90b1f1c273e55943e6b057f399ef8215515844fbef59d8fe758ec20b2defc232f6cb7e826fbd985a78c48b8537be
diff --git a/dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild
b/dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild
new file mode 100644
index 000000000000..d859f3bcc96b
--- /dev/null
+++ b/dev-python/bottleneck/bottleneck-1.4.1_rc3.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
+}