summaryrefslogtreecommitdiff
path: root/dev-python/bottleneck
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
commit45392c898b8ba163e95028bd98896e77f0c73806 (patch)
treebf6b64dd472acc2960a5c24b26dd0ac036b47d0d /dev-python/bottleneck
parent2916cf6049cf9d3092021e247d56c580df6029a7 (diff)
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'dev-python/bottleneck')
-rw-r--r--dev-python/bottleneck/Manifest2
-rw-r--r--dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest
index f0b35ba2fb64..98346e9ad6c2 100644
--- a/dev-python/bottleneck/Manifest
+++ b/dev-python/bottleneck/Manifest
@@ -1,5 +1,7 @@
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
EBUILD bottleneck-1.4.0.ebuild 1039 BLAKE2B 65c37e214b4083e96ca36eeb80078aaafcc0c6b45c64d145da237955d1879d0602ad796accb97e19f124a5c23e135bd0657e32f2b9990d907e4150f11204e5cc SHA512 e4216a2bf371536583f546eac6f2dfb2fb4716b0c4e2a0709afdfc0492934cb7a1f0c09a7b0f47dd364d302f492f6252d6f3a2a3c29f077b18a4eef09ae5b4a9
EBUILD bottleneck-1.4.1_rc1.ebuild 1044 BLAKE2B c2547be7547822ab767bfcb92a7604e430aea68db25e07319d755c94e8ff725457fe346e2580107cb19e84b0da0113785d9ad1c04814b3f1fe1969ff9630505a SHA512 0c7e68d80bf24b7473055c642752c9c557ddbee2ae4c23fb88be78c93d1076b1d56d093d52e347fdc123ea14044f0756300a8358a95bccf2848f4539aaaef68d
+EBUILD bottleneck-1.4.1_rc3.ebuild 1044 BLAKE2B c2547be7547822ab767bfcb92a7604e430aea68db25e07319d755c94e8ff725457fe346e2580107cb19e84b0da0113785d9ad1c04814b3f1fe1969ff9630505a SHA512 0c7e68d80bf24b7473055c642752c9c557ddbee2ae4c23fb88be78c93d1076b1d56d093d52e347fdc123ea14044f0756300a8358a95bccf2848f4539aaaef68d
MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae
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
+}