mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 00:08:36 +03:00
dev-python/bottleneck: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST bottleneck-1.5.0.tar.gz 104177 BLAKE2B 3cf5e089ce08bdacaa9ca81fdafd2a2b15b44151f79026803b3e0886fd47d4dcb1428089d7f7d9e75d0a644813c88682f50c5e4d8bac78b2e71089a6da750d8d SHA512 9fefe695afcec7c2ad29db7f84870bbea2224b96b606d0e72b1b6310e078fa098c6950dd3b3ac3bafc927fc0bbf6c56c3fcf89908530d806adeda1d10dec2ee7
|
||||
DIST bottleneck-1.6.0.tar.gz 104311 BLAKE2B 1650d902e15bf3a2be36b83c9b460578bf0d261dd09cb74445a97fd2f20bd643e4985aa86acf2f2355f5a7341fde51d157815320b475852bdc8d46cab7943749 SHA512 e83d470b3380d579966855eef18c50069ca7db7a789ce0e8c39b707d0a8ad7cd2179121bad0c8bce41da5095ea1dea3dbfd59d31968ab21724d66baad694d978
|
||||
DIST bottleneck-1.6.0rc1.tar.gz 104335 BLAKE2B 437077e9b658f3c498574f7ca75463541dd957796038d44d0e83ea4b8443097dfa52ca090dcc83dc2a5399a03921ed0d86037e45a2cabd55c9e55afef6348139 SHA512 8690656bc781d2909ead7414e5e6c2b4f59bd564e6bfbf8c6846b1c15f81d7b60c8c2c788dc0a7ab206525efca352e3746f177b78085c64140b060863da75213
|
||||
|
||||
58
dev-python/bottleneck/bottleneck-1.6.0.ebuild
Normal file
58
dev-python/bottleneck/bottleneck-1.6.0.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2025 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_{11..14} pypy3_11 )
|
||||
|
||||
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}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/versioneer[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# don't overwrites user's optimization level
|
||||
sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die
|
||||
|
||||
rm versioneer.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
|
||||
}
|
||||
Reference in New Issue
Block a user